/* ===================== FONTS ===================== */
@font-face {
  font-family: 'Poppins';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/poppins-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/poppins-800.woff2') format('woff2');
}

/* ===================== TOKENS ===================== */
:root {
  --navy: #293d54;
  --navy-dark: #1f2e44;
  --navy-frise: #22344c;
  --teal: #47aec4;
  --orange: #f5b052;
  --gold: #ab855c;
  --gold-bright: #c99a5e;
  --lightblue: #d7e6fe;
  --white: #ffffff;
  --txt-light: #e9edf3;
  --container: 1280px;
}

/* ===================== RESET ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  
  line-height: 1.5;
  overflow-x: hidden;
}
.page-template-centenaire-100ans{
  background: var(--navy); 
}
img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: var(--container);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 0 0 8px 0;
  padding: 18px;
  height: fit-content;
  cursor: pointer;
  border: none;
  transition: .2s;
  line-height: 1;
  white-space: nowrap;
}

.btn--contact {
  background: var(--orange);
  color: var(--navy);
  font-size: 16px;
  padding: 20px 22px;
  border-radius: 9px;
  height: 61px;
}

.btn--contact:hover {
  filter: brightness(1.04);
}

.btn--primary {
  background: #AB855C;
  color: #fff;
  font-weight: 600;
  white-space: normal;
}

.btn--ghost {
  background: transparent;
  color: #AB855C;
  border: 1.5px solid #AB855C;
}

/* ===================== HEADER ===================== */
#header {
  position: relative;
  z-index: 30;
}

.brand {
  position: absolute;
  left: calc(50% - 640px);
  top: 0;
  width: 266px;
  height: 149px;
  background: #fff;
  border-radius: 0 0 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.brand img {
  height: 60px;
  width: auto;
}

.topbar {
  background: #f1f0f3;
  font-size: 15px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-left: 266px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar__label {
  color: #5c6472;
}

.topbar__link {
  color: #3b4658;
  font-weight: 500;
}

.topbar__link.is-active {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 3px;
}

.topbar__account {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 500;
}

.navbar {
  background: var(--teal);
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 108px;
  gap: 40px;
  padding-left: 294px;
  position: relative;
}

.mainnav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.mainnav__link {
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mainnav__link .caret {
  border-left-width: 5px;
  border-right-width: 5px;
  border-top-width: 6px;
}

.navbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-search {
  width: 63px;
  height: 63px;
  border-radius: 9px;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-search .ico-search {
  width: 19px;
  height: 19px;
}

/* icons (simple css) */
.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
  opacity: .9;
}

.ico-user {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.6px solid currentColor;
  position: relative;
  display: inline-block;
}

.ico-user::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.ico-search {
  width: 15px;
  height: 15px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.ico-search::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: var(--navy);
  transform: rotate(45deg);
}

.ico-chat {
  width: 16px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
  display: inline-block;
  position: relative;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: var(--navy);
  text-align: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(25vw, 400px);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.hero::before {
  left: 0;
  background-image: url('../img/img-left.svg');
  background-position: right top;
}

.hero::after {
  right: 0;
  background-image: url('../img/img-right.svg');
  background-position: left top;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  padding: 56px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__logo {
  display: block;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  margin: 0 auto clamp(20px, 3vw, 36px);
}

.hero__title {
  font-size: clamp(36px, 6.7vw, 128px);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0;
  line-height: 1.02;
  white-space: nowrap;
}

.hero__subtitle {
  min-height: 2.8em;
  color: #fff;
  font-size: clamp(18px, 2.1vw, 40px);
  font-weight: 600;
  line-height: 1.4;
  margin: 14px auto 0;
  max-width: 600px;
  min-height: 4.2em;
}

.hero__subtitle .tw-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  background: var(--orange);
  vertical-align: -0.12em;
  animation: twblink 1s steps(1) infinite;
}

@keyframes twblink {
  50% {
    opacity: 0;
  }
}

.hero__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 26px;
}

/* ===================== EXPERTISE ===================== */
.expertise {
  position: relative;
  background: var(--navy);
}

.expertise__photo {
  height: 796px;
  background: url('../img/expertise-group.jpg') center 62%/cover no-repeat;
  position: relative;
}

.expertise__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(41, 61, 84, .55) 14%, rgba(41, 61, 84, .18) 45%, rgba(41, 61, 84, .35) 78%, var(--navy) 100%);
}

.expertise__card {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 1057px;
  background: #fff;
  border-radius: 14px;
  padding: 37px 46px 40px 42px;
  display: grid;
  grid-template-columns: 290px 1fr;
  column-gap: 38px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
  z-index: 2;
}

.expertise__title {
  font-size: 34px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.22;
}

.expertise__text {
  font-size: 15px;
  color: #4a5568;
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1.6;
}

/* ===================== FRISE / TIMELINE (desktop) — positions natives frise.png ===================== */
.timelineContainer {
  background: #22344c url('../img/fond-frise-bleu.jpg') center center/cover no-repeat;
  overflow: hidden;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.timelineContainer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(41, 61, 84, .72) 28%, rgba(41, 61, 84, .2) 68%, rgba(41, 61, 84, 0) 100%);
}

.timeline {
  position: relative;
  will-change: transform;
  /* Hauteur native de la maquette — évite l'étirement vertical sur grands écrans */
  height: min(1048px, 100vh);
}

.timeline__scale {
  position: relative;
}

/* Grand écran : bandeau de contenu centré verticalement dans le viewport */
.timeline__scale:not(.timeline__scale--compact) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--tl-vh, 100vh);
}

/* Écrans hauts : resserrer le bandeau et rapprocher haut/bas de la ligne */
@media (min-height: 1000px) {
  .timeline {
    height: min(900px, 100vh);
  }

  .timeline .tl-date.above {
    top: 155px !important;
  }

  .timeline .tl-pic.bottom {
    bottom: 48px !important;
  }

  .timeline .tl-bg:not(.full) {
    bottom: 48px;
  }
}

.timeline__scale--compact {
  transform: scale(var(--tl-scale, 0.85));
  transform-origin: top left;
  height: calc(100vh / var(--tl-scale, 0.85));
}

.ligne {
  position: absolute;
  left: 0;
  top: 390px;
  height: 3px;
  width: 200px;
  z-index: 3;
  background: repeating-linear-gradient(to right, var(--teal) 0 13px, transparent 13px 24px);
}

/* intro au-dessus de la ligne */
.tl-intro {
  position: absolute;
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.28;
  z-index: 4;
}

/* dates + description */
.tl-date {
  position: absolute;
  color: #fff;
  z-index: 4;
}

.tl-date .y {
  display: block;
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .5px;
  white-space: nowrap;
}

.tl-date .st {
  display: block;
  font-weight: 600;
  font-size: 18px;
  margin: 14px 0 10px;
}

.tl-date.above .st {
  margin: 0 0 6px;
}

.tl-date.above .y {
  margin-bottom: 6px;
}

.tl-date p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: #c7d0dc;
  margin: 0;
}

/* photos sans cadre (bordless) */
.tl-pic {
  position: absolute;
  margin: 0;
  z-index: 3;
}

.tl-pic img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, .4);
}

.tl-pic.plans img {
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .4));
}

.tl-pic.bottom {
  z-index: 3;
}

.tl-pic.bottom img {
  border-radius: 4px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, .4);
}

/* pastille légende sur la photo */
.tl-pic.cap figcaption {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  padding: 6px 13px;
  border-radius: 16px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .22);
}

.tl-pic.cap.cap--wrap figcaption {
  white-space: normal;
  max-width: 92%;
}

/* badges ronds */
.tl-badge {
  position: absolute;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
  overflow: hidden;
  z-index: 4;
}

.tl-badge img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

/* badge 70 ans (carré arrondi) */
.tl-badge70 {
  position: absolute;
  border-radius: 16px;
  box-shadow: none;
  z-index: 4;
}

/* grandes images de fond (Pompidou, stade) collées au bottom */
.tl-bg {
  position: absolute;
  bottom: 0;
  height: 640px;
  object-fit: cover;
  border-radius: 8px;
  z-index: 2;
}

.tl-bg.full {
  top: 0;
  bottom: 0;
  height: auto;
  object-fit: cover;
}

.tl-bgcap {
  position: absolute;
  width: max-content;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 16px;
  z-index: 3;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .22);
  transform: translateX(-100%);
}

.tl-bgcap--pompidou {
  left: calc(6820px + 1600px - 24px);
  bottom: 60px;
}

.tl-bgcap--meinau {
  left: calc(9520px + 100vw - 24px);
  bottom: 24px;
}

/* Grands écrans : légendes rapprochées du sujet (vers la gauche) */
@media (min-width: 1400px) {
  .tl-bgcap--pompidou {
    left: calc(6820px + 1380px);
  }

  .tl-bgcap--meinau {
    left: calc(9520px + min(100vw, 1040px) - 20px);
  }
}

/* carte Aujourd'hui (blanche, texte par-dessus le stade) */
.tl-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 34px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  z-index: 5;
}

.tl-card .y {
  display: block;
  font-size: 52px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.tl-card .st {
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
}

.tl-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: #5a6678;
  margin: 0;
}

/* reveal au scroll */
.unvisible {
  opacity: 0;
  transform: translateY(30px);
}

.timeline .visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease;
}

/* ===================== FRISE / TIMELINE (mobile) — masquée en desktop ===================== */
.timelineMobile {
  display: none;
}

/* ===================== HISTOIRES ===================== */
.histoires {
  background: linear-gradient(180deg, #d7e6fe 0%, #d7e6fe 30%, #cfdef6 55%, #d6e5fd 100%);
  overflow: hidden;
}

.hist-inner {
  padding: 72px 0 80px;
  height: auto;
}

.hist-title {
  text-align: center;
  color: #1c2c46;
  font-size: 40px;
  font-weight: 600;
  margin: 0 0 48px;
}

.hist-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

.hist-row--1 {
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}

.hist-row--1 .hcard {
  flex: 0 1 340px;
  max-width: 340px;
}

.hist-row--2 {
  justify-content: center;
  gap: 32px;
  margin-bottom: 8px;
}

.hcard {
  position: relative;
  flex: 0 1 410px;
  max-width: 410px;
  margin: 0;
  background: #fff;
  padding: 15px 15px 0;
  box-shadow: 0 22px 45px rgba(28, 48, 88, .16);
  border-radius: 2px;
  z-index: 2;
}

.hcard--tilt-left {
  transform: rotate(-4deg);
}

.hcard--tilt-right {
  transform: rotate(4deg);
}

.hcard.hcard--tilt-right {
  margin: 30px 0;
}

.hcard img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
  border-radius: 1px;
}

.hcard figcaption {
  color: #1c2c46;
  font-weight: 600;
  font-size: 20px;
  padding: 15px 5px 8px;
  line-height: 1.25;
}

.hcard__text {
  margin: 0;
  padding: 0 5px 17px;
  color: #3f4d63;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

/* ===================== METIERS ===================== */
.metiers {
  background: var(--navy) url('../img/metiers-bg.jpg') center top/cover no-repeat;
}

.metiers__inner {
  text-align: center;
  padding: 92px 0 66px;
  position: relative;
}

.metiers__title {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
}

.metiers__sub {
  color: #c8d2df;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  margin-top: 16px;
}

.metiers__cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 46px;
  position: relative;
  z-index: 2;
}

.mcard {
  background: #fff;
  border-radius: 12px;
  padding: 28px 26px 30px;
  width: 290px;
  min-height: 250px;
  text-align: left;
}

.mcard h3 {
  color: var(--navy);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 15px;
}

.mcard p {
  color: #5c6878;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.metiers__cta {
  margin-top: 42px;
}

/* ===================== RELATIONS (CTA) ===================== */
.relations-top {
  position: relative;
  z-index: 1;
}

.relations-top::before,
.relations-top::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(25vw, 400px);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

.relations-top::before {
  left: 0;
  background-image: url('../img/img-left.svg');
  background-position: right top;
}

.relations-top::after {
  right: 0;
  background-image: url('../img/img-right.svg');
  background-position: left top;
  transform: translateY(30%);
}

.relations-form-section {
  position: relative;
  background: var(--navy);
  z-index: 0;
}

.relations-form-section__left,
.relations-form-section__right {
  position: absolute;
  bottom: 0;
  height: 110%;
  width: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

.relations-form-section__left {
  left: 0;
  background-image: url('../img/arboretum.jpg');
  background-position: 0 bottom;
}

.relations-form-section__right {
  right: 0;
  background-image: url('../img/bnu.png');
  background-position: 32% center;
}

.relations-form-section__left::before,
.relations-form-section__right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--navy), transparent);
  background: linear-gradient(to bottom, var(--navy) 20%, transparent 40%);
  pointer-events: none;
}

.relations-form-section__left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, var(--navy));
  pointer-events: none;
}

.relations-form-section__right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent, var(--navy));
  pointer-events: none;
}

.relations__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  max-width: calc(100% - 40px);
  margin: 0 auto;
  height: auto;
  padding: 72px 0 88px;
}

.relations__row--intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  min-height: 55vh;
  align-items: center;
}

.relations__title {
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.22;
}

.relations__title .l1 {
  color: #fff;
}

.relations__title .l2 {
  color: var(--gold-bright);
}

.relations__col--text h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 20px;
}

.relations__col--text p {
  color: #c8d2df;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.relations__row--form {
  display: flex;
  justify-content: center;
}

.relations__form {
  position: static;
  width: 100%;
  max-width: 100%;
  background: #c69a63;
  border-radius: 12px;
  padding: 34px 38px;
}

.relations__form h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 22px;
  text-align: center;
}

.relations__form .frow {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.relations__form input,
.relations__form textarea {
  width: 100%;
  border: none;
  border-radius: 7px;
  background: #e7dccb;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  color: #5a4a35;
}

.relations__form input::placeholder,
.relations__form textarea::placeholder {
  color: #8a7a63;
}

.relations__form textarea {
  height: 120px;
  resize: none;
  margin-bottom: 18px;
  display: block;
}

.relations__form button {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 0 0 8px 0;
  padding: 13px 34px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.relations__cap {
  position: absolute;
  bottom: 44px;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 5px;
  z-index: 1;
}

.relations__cap--l {
  left: 14px;
}

.relations__cap--r {
  right: 14px;
}


.form-protection-demain{
  background: #c69a63;
  padding: 20px 0;
  position: relative;
  margin: 0 ;
  height: auto;
}
.relations__row--form{
  width: var(--container);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy-dark);
  color: #cdd5e0;
}

.footer__inner {
  display: flex;
  gap: 40px;
  padding: 52px 0 40px;
  font-size: 14px;
}

.footer__brand {
  width: 230px;
  flex-shrink: 0;
}

.footer__brand img {
  height: 44px;
  width: auto;
  margin-bottom: 22px;
}

.footer__copy {
  font-size: 12px;
  color: #9aa6b6;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col a {
  color: #cdd5e0;
}

.footer__col a.strong {
  font-weight: 600;
  color: #fff;
}

.footer__col .footer__sep {
  color: #4a5871;
  margin: 2px 0;
}

.footer__right {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.soc {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #fff;
  display: inline-block;
}

/* ===================== CHROME THÈME (header / footer) ===================== */
.page-template-centenaire-100ans .header .container,
.page-template-centenaire-100ans .prehead .container,
.page-template-centenaire-100ans .footer .container,
.page-template-centenaire-100ans .footer-mail .container,
.centenaire-page--with-chrome .header .container,
.centenaire-page--with-chrome .prehead .container,
.centenaire-page--with-chrome .footer .container,
.centenaire-page--with-chrome .footer-mail .container {
  width: 100%;
  max-width: 100%;
}

.page-template-centenaire-100ans .footer-mail,
.centenaire-page--with-chrome .footer-mail {
  display: none;
  margin-top: 0;
}


/* ========================================================================
   RESPONSIVE  (≥1700px)
   ======================================================================== *


@media (min-width: 1024px) and (max-width: 1700px) {
  .relations__form{
    width: 75%;
  }
  .relations__row--form {
      justify-content: start;
  }
  .relations__form h3 {
      text-align: left;
  }
  .relations__form button{
    margin: 0;
  }
}
*/

/* ========================================================================
   RESPONSIVE  (tablette ≤1024 · frise ≤900 · mobile ≤600)
   ======================================================================== */

@media (max-width:1024px) {

  /* EXPERTISE : carte pleine largeur, statique */
  .expertise__photo {
    height: clamp(360px, 52vw, 600px);
  }

  .expertise>.container {
    position: relative;
    z-index: 2;
  }

  .expertise__card {
    position: static;
    transform: none;
    width: auto;
    max-width: 820px;
    margin: -150px auto 0;
    grid-template-columns: 1fr;
    row-gap: 8px;
    padding: 30px 28px;
  }

  /* MÉTIERS : 2 colonnes */
  .metiers__inner {
    padding: 64px 22px 54px;
  }

  .metiers__cards {
    flex-wrap: wrap;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .mcard {
    width: calc(50% - 10px);
    min-height: 0;
  }

  /* HISTOIRES : pile verticale */
  .histoires {
    overflow: visible;
  }

  .hist-inner {
    padding: 48px 0 56px;
  }

  .hist-title {
    margin: 0 0 30px;
  }

  .hist-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 0px;
  }

  .hcard {
    width: 100%;
    max-width: 440px;
    transform: none !important;
  }

  .hist-row--1 .hcard {
    max-width: 440px;
  }

  .hcard img {
    height: auto;
    max-height: 300px;
  }

  /* RELATIONS : pile verticale */
  .relations-top,
  .relations-form-section {
    overflow: visible;
  }

  .relations__inner {
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    padding: 50px 0 56px;
  }

  .relations__row--intro {
    /*grid-template-columns: 1fr;*/
    gap: 28px;
    margin-bottom: 28px;
    min-height: unset;
  }

  .relations__title {
    white-space: normal;
    text-align: left;
    font-size: 30px;
  }

  .relations__col--text h3 {
    font-size: 22px;
  }

  .form-protection-demain {
    padding: 20px 0;
  }
  .relations__form {
    width: 100%;
  }

  .relations__cap {
    display: none;
  }
  .relations-form-section__left, .relations-form-section__right{
    height: 600px;
    /*width: 35%;*/
  }
  /* FOOTER */
  .footer__inner {
    flex-wrap: wrap;
    gap: 30px 40px;
  }

  .footer__right {
    margin-left: 0;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------- ≤900px : frise verticale + hero/CTA ---------- */
@media (max-width:900px) {

  /* --- frise verticale --- */
  .timelineContainer {
    display: none;
  }

  .timelineMobile {
    display: block;
    background: #22344c url('../img/fond-frise-bleu.jpg') center center/cover no-repeat;
    padding: 46px 16px 60px;
  }

  .timelineMobileContainer {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
  }

  .tlm-line {
    position: absolute;
    left: calc(50% - 1px);
    top: 90px;
    bottom: 180px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--teal) 0 8px, transparent 8px 16px);
  }

  .tlm-intro {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
  }

  .tlm-intro h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
  }

  .tlm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
    margin: 30px 0;
    position: relative;
  }

  .tlm-txt {
    color: #fff;
    padding-right: 20px;
    text-align: right;
  }

  .tlm-row.alt .tlm-txt {
    order: 2;
    padding-right: 0;
    padding-left: 20px;
    text-align: left;
  }

  .tlm-txt .date {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
  }

  .tlm-txt .txtBold {
    font-weight: 600;
    font-size: 14px;
    margin: 6px 0 6px;
  }

  .tlm-txt p {
    font-size: 12.5px;
    font-weight: 300;
    color: #c7d0dc;
    line-height: 1.5;
    margin: 0;
  }

  .tlm-media {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 20px;
  }

  .tlm-row.alt .tlm-media {
    order: 1;
    padding-left: 0;
    padding-right: 20px;
    justify-content: flex-end;
  }

  .tlm-media .polaroid {
    width: fit-content;
    min-width: 0;
    margin-right: 0;
    padding: 0;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .3);
  }

  .tlm-media .polaroid img {
    height: 92px;
  }

  .tlm-media .badge {
    width: 64px;
    height: 64px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .3);
  }

  .tlm-row::before {
    content: "";
    position: absolute;
    left: calc(50% - 6px);
    top: calc(50% - 6px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
    z-index: 2;
  }

  .tlm-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 24px;
    margin-top: 44px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  }

  .tlm-card h3 {
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 4px;
  }

  .tlm-card .txtBold {
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    margin: 0 0 10px;
  }

  .tlm-card p {
    font-size: 13.5px;
    font-weight: 300;
    color: #5a6678;
    line-height: 1.55;
    margin: 0;
  }

  /* HERO */
  .hero {
    background-position: center;
  }

  .hero__title {
    white-space: normal;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
  }

  .btn--primary,
  .btn--ghost {
    padding: 15px;
  }
}

/* ---------- MOBILE (≤600px) ---------- */
@media (max-width:600px) {
  .metiers__cards {
    max-width: 380px;
  }

  .mcard {
    width: 100%;
  }

  .metiers__title,
  .hist-title,
  .relations__title {
    font-size: 24px !important;
  }

  .metiers__sub {
    font-size: 14px;
  }

  .expertise__card {
    margin-top: -120px;
    padding: 24px 20px;
  }

  .expertise__title {
    font-size: 22px;
  }

  .hcard figcaption {
    font-size: 18px;
  }

  .relations-top::before, .relations-top::after{
    width: min(15vw, 200px);
  }
  .relations__left h3 {
    font-size: 22px;
  }

  .relations__form {
    padding: 24px 10px;
  }

  .relations__form .frow {
    flex-direction: column;
    gap: 14px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 26px;
    padding: 44px 0 36px;
  }

  .footer__right {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  /* FRISE mobile : 1 colonne, ligne à gauche (évite les dates coupées) */
  .tlm-line {
    left: 15px;
  }

  .tlm-intro {
    text-align: left;
    padding-left: 40px;
  }

  .tlm-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 40px;
    margin: 26px 0;
  }

  .tlm-txt,
  .tlm-row.alt .tlm-txt {
    order: 1;
    text-align: left;
    padding: 0;
  }

  .tlm-media,
  .tlm-row.alt .tlm-media {
    order: 2;
    justify-content: flex-start;
    padding: 0;
  }

  .tlm-row::before {
    left: 9px;
    top: 12px;
  }

  .tlm-txt .date {
    font-size: 28px;
  }



  /* RELATIONS */
  .relations__row--intro {
    grid-template-columns: 1fr;
  }
  .relations-form-section{
    padding-bottom: 200px;
  }
  .relations-form-section__left{
    display: none;
  }
  .relations-form-section__right{
    height: 500px;
    width: 100%;
    background-position: center;
  }
  .relations-form-section__right::after{
    background: linear-gradient(to right, transparent 50%, var(--navy) 95%);
  }
  .relations-form-section__right::before{
    background: linear-gradient(to top, transparent 200px, var(--navy) 300px);
  }

}

/* ---------- ÉCRAN BAS (hauteur ≤800px) ---------- */
@media (max-height: 800px) {
  .hero__inner {
    padding: 40px 20px 70px;
  }

  .hero__logo {
    width: 175px;
  }

  .hero__title {
    font-size: clamp(36px, 5.0vw, 100px);
  }

  .hero__subtitle {
    font-size: clamp(18px, 1.8vw, 30px);
  }

  .hero__cta {
    margin-top: 0;
  }

  .timelineContainer::before {
    height: 100px;
  }

}