/* ==========================================================
   ODYSSEIA - COMPOSANTS UI
   Dépend de tokens.css
   ========================================================== */


/* ----------------------------------------------------------
   ANIMATIONS
   ---------------------------------------------------------- */

@keyframes headerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ----------------------------------------------------------
   RESET LOCAUX & ALIAS DE COMPATIBILITE
   ---------------------------------------------------------- */

ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
img, svg { display: block; }

/* Alias pour rétro-compatibilité avec l'HTML existant */
.text-center     { text-align: center; }
.sr-only         { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* ----------------------------------------------------------
   SCROLL REVEAL
   ---------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--ody-transition-slow), transform var(--ody-transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }


/* ----------------------------------------------------------
   SUBHEADER
   ---------------------------------------------------------- */

.ody-subheader {
  position: relative;
  background: var(--ody-dark-900);
}

.ody-subheader__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ody-space-6);
  height: 38px;
}

.ody-subheader__actions {
  display: flex;
  align-items: center;
  gap: var(--ody-space-5);
  margin-left: auto;
  flex-shrink: 0;
}

.ody-subheader__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
  border-radius: 5px;
  background: var(--ody-color-secondary);
  flex-shrink: 0;
  color: var(--ody-dark-900);
  transition: background var(--ody-transition-fast), color var(--ody-transition-fast);
}

.ody-subheader__social:hover {
  background: #ffffff;
  color: var(--ody-dark-900);
}

.ody-subheader__social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ody-subheader__sectors {
  display: flex;
  align-items: center;
  gap: var(--ody-space-3);
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ody-subheader__sectors li {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.ody-subheader__sectors li:not(:last-child)::after {
  content: '◆';
  margin-left: var(--ody-space-3);
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.55rem;
}

.ody-subheader__lang {
  display: flex;
  align-items: center;
  gap: var(--ody-space-1);
  flex-shrink: 0;
}

a.ody-subheader__lang-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ody-flag {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 0.3rem;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.ody-subheader__lang-btn {
  border: none;
  background: none;
  padding: var(--ody-space-1) var(--ody-space-2);
  font-family: var(--ody-font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color var(--ody-transition-fast);
}

.ody-subheader__lang-btn.is-active,
.ody-subheader__lang-btn:hover {
  color: #ffffff;
}

.ody-subheader__lang-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.68rem;
}

@media (max-width: 720px) {
  .ody-subheader__sectors { display: none; }
}


/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */

.ody-header {
  position: sticky;
  top: 0;
  z-index: var(--ody-z-header);
  background: var(--ody-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--ody-border-width) solid transparent;
  transition:
    border-color var(--ody-transition-base),
    box-shadow var(--ody-transition-base);
  animation: headerSlideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ody-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    #002395 0%, #002395 33.333%,
    #ffffff 33.333%, #ffffff 66.666%,
    #ED2939 66.666%, #ED2939 100%
  );
}

.ody-header.is-scrolled {
  border-bottom-color: var(--ody-header-border-scrolled);
  box-shadow: var(--ody-header-shadow-scrolled);
}

.ody-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: var(--ody-space-8);
}

/* Logo */
.ody-header__logo {
  display: flex;
  align-items: center;
  gap: var(--ody-space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.ody-header__picto {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.ody-header__brand-block {
  display: flex;
  flex-direction: column;
}

.ody-header__brand {
  font-family: var(--ody-font-heading);
  font-size: 1.5rem;
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-header-text);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.ody-header__baseline {
  font-family: var(--ody-font-body);
  font-size: 0.6875rem;
  font-weight: var(--ody-weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ody-header-text-muted);
  line-height: 1.3;
  margin-top: 3px;
}


/* Nav desktop */
.ody-nav__list {
  display: flex;
  align-items: center;
  gap: var(--ody-space-1);
}

.ody-nav__link {
  display: inline-flex;
  align-items: center;
  padding: var(--ody-space-2) var(--ody-space-4);
  font-size: var(--ody-text-sm);
  font-weight: var(--ody-weight-medium);
  color: var(--ody-header-text-muted);
  border-radius: var(--ody-radius-pill);
  text-decoration: none;
  transition:
    color var(--ody-transition-fast),
    background var(--ody-transition-fast);
  position: relative;
}

.ody-nav__link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: var(--ody-space-4);
  right: var(--ody-space-4);
  height: 2px;
  background: var(--ody-heading-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ody-transition-base);
}

.ody-nav__link:hover,
.ody-nav__link.is-active {
  color: var(--ody-header-text);
}

.ody-nav__link:hover::after,
.ody-nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Lien CTA de la nav */
.ody-nav__link--cta {
  color: var(--ody-dark-900) !important;
  background: var(--ody-color-secondary) !important;
  border: var(--ody-border-width) solid var(--ody-color-secondary);
  padding: var(--ody-space-2) var(--ody-space-5);
  font-weight: var(--ody-weight-semibold);
  margin-left: var(--ody-space-2);
  box-shadow: var(--ody-shadow-sm);
}

.ody-nav__link--cta::after { display: none; }

.ody-nav__link--cta:hover {
  color: var(--ody-dark-900) !important;
  background: #8bc4e6 !important;
  border-color: #8bc4e6 !important;
  box-shadow: var(--ody-shadow-md);
}

/* Hamburger */
.ody-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--ody-space-2);
  border: none;
  background: none;
  border-radius: var(--ody-radius-md);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--ody-transition-fast);
}

.ody-nav__toggle:hover { background: var(--ody-header-toggle-hover); }

.ody-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ody-header-text);
  border-radius: 2px;
  transition:
    transform var(--ody-transition-base),
    opacity var(--ody-transition-base),
    width var(--ody-transition-base);
  transform-origin: center;
}

.ody-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ody-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.ody-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav mobile */
@media (max-width: 1060px) {
  .ody-nav__toggle { display: flex; }

  .ody-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ody-header-mobile-bg);
    border-top: var(--ody-border-width) solid var(--ody-header-mobile-border);
    border-bottom: 3px solid var(--ody-heading-accent);
    box-shadow: var(--ody-shadow-md);
    padding: var(--ody-space-3) 1rem var(--ody-space-6);
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--ody-transition-base),
      transform var(--ody-transition-base),
      visibility var(--ody-transition-base);
  }

  .ody-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .ody-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ody-nav__link {
    padding: var(--ody-space-4) var(--ody-space-2);
    font-size: var(--ody-text-md);
    border-radius: 0;
    border-bottom: var(--ody-border-width) solid var(--ody-header-mobile-link-border);
  }

  .ody-nav__link::after { display: none; }

  .ody-nav__link--cta {
    margin: var(--ody-space-4) 0 0;
    padding: var(--ody-space-3) var(--ody-space-5);
    border-radius: var(--ody-radius-pill);
    border-bottom: none;
    text-align: center;
    justify-content: center;
  }
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100svh - 84px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ody-hero-gradient);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='%2366a5cc' fill-opacity='.14'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ody-color-secondary), var(--ody-color-accent), var(--ody-color-secondary));
  background-size: 200% 100%;
  animation: shimmer 4s ease infinite;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--ody-space-16), 10vw, var(--ody-space-24));
}

.hero__content {
  max-width: 780px;
  animation: heroContentIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero__content h1 {
  color: var(--ody-heading-color);
  margin-bottom: var(--ody-space-6);
  font-size: clamp(2.5rem, 6vw, var(--ody-text-5xl));
  line-height: var(--ody-leading-snug);
  letter-spacing: -0.02em;
}

.hero__content h1 em {
  font-style: normal;
  color: var(--ody-heading-accent);
}

.hero__lead {
  font-size: clamp(var(--ody-text-lg), 2vw, var(--ody-text-xl));
  color: var(--ody-text-muted);
  margin-bottom: var(--ody-space-10);
  max-width: 55ch;
  line-height: var(--ody-leading-relaxed);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ody-space-4);
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .ody-button { justify-content: center; }
}


/* ----------------------------------------------------------
   SECTION PRÉSENTATION
   ---------------------------------------------------------- */

.presentation__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--ody-space-12), 6vw, var(--ody-space-20));
  align-items: center;
}

.presentation__text h2 {
  margin-bottom: var(--ody-space-6);
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  white-space: nowrap;
}

.presentation__text p {
  color: var(--ody-text-muted);
  max-width: 52ch;
  line-height: var(--ody-leading-relaxed);
}

.presentation__text .ody-button { margin-top: var(--ody-space-4); }

.presentation__photo {
  position: relative;
  border-radius: var(--ody-radius-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.presentation__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.presentation__photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--ody-bg-soft);
  border: 2px dashed var(--ody-border-color);
  border-radius: var(--ody-radius-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ody-space-3);
  color: var(--ody-text-muted);
  font-size: var(--ody-text-sm);
  text-align: center;
}

.presentation__photo-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.presentation__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ody-space-1);
}

.stat {
  background: var(--ody-color-primary);
  padding: clamp(var(--ody-space-8), 4vw, var(--ody-space-10)) var(--ody-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--ody-space-2);
}

.stat:nth-child(1) { border-radius: var(--ody-radius-lg) 0 0 0; }
.stat:nth-child(2) { border-radius: 0 var(--ody-radius-lg) 0 0; background: var(--ody-dark-700); }
.stat:nth-child(3) { border-radius: 0 0 0 var(--ody-radius-lg); background: var(--ody-dark-700); }
.stat:nth-child(4) { border-radius: 0 0 var(--ody-radius-lg) 0; }

.stat__number {
  font-family: var(--ody-font-heading);
  font-size: clamp(var(--ody-text-3xl), 3.5vw, var(--ody-text-4xl));
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-dark-text-strong);
  line-height: 1;
}

.stat__label {
  font-size: var(--ody-text-xs);
  font-weight: var(--ody-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ody-heading-accent);
}

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


/* ----------------------------------------------------------
   EXPERTISES
   ---------------------------------------------------------- */

.expertise-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ody-space-6);
}

@media (max-width: 760px) {
  .expertise-pair { grid-template-columns: 1fr; }
}

.expertise-card {
  display: flex;
  flex-direction: column;
  padding: var(--ody-space-8);
  background: var(--ody-bg-card);
  border: var(--ody-border-width) solid var(--ody-border-color);
  border-radius: var(--ody-radius-lg);
  border-top: 3px solid var(--ody-heading-accent);
  box-shadow: var(--ody-shadow-sm);
  transition:
    box-shadow var(--ody-transition-base),
    transform var(--ody-transition-base);
}

.expertise-card:hover {
  box-shadow: var(--ody-shadow-md);
  transform: translateY(-3px);
}

.expertise-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ody-color-secondary-rgb), 0.12);
  border: var(--ody-border-width) solid rgba(var(--ody-color-secondary-rgb), 0.2);
  border-radius: var(--ody-radius-md);
  margin-bottom: var(--ody-space-5);
  color: var(--ody-heading-color);
  flex-shrink: 0;
}

.expertise-card__icon svg {
  width: 26px;
  height: 26px;
}

.expertise-card h3 {
  font-size: var(--ody-text-2xl);
  margin-bottom: var(--ody-space-3);
}

.expertise-card__tag {
  display: inline-block;
  font-size: var(--ody-text-xs);
  font-weight: var(--ody-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ody-heading-accent);
  margin-bottom: var(--ody-space-4);
}

.expertise-card__subtitle {
  font-size: var(--ody-text-sm);
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-heading-accent);
  margin: 0 0 var(--ody-space-5);
}

.expertise-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--ody-space-3);
  flex: 1;
  margin: 0 0 var(--ody-space-6);
  padding: 0;
  list-style: none;
}

.expertise-card__list li {
  position: relative;
  padding-left: var(--ody-space-5);
  font-size: var(--ody-text-sm);
  color: var(--ody-text-muted);
  line-height: var(--ody-leading-relaxed);
}

.expertise-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ody-color-secondary);
}

.expertise-card p {
  font-size: var(--ody-text-sm);
  color: var(--ody-text-muted);
  line-height: var(--ody-leading-relaxed);
  flex: 1;
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   APPROCHE / PROCESSUS
   ---------------------------------------------------------- */

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ody-space-6);
  margin-top: var(--ody-space-12);
}

.process__step {
  position: relative;
  text-align: center;
}

.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--ody-heading-accent), var(--ody-border-color));
}

.process__step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--ody-space-5);
  background: var(--ody-color-primary);
  color: var(--ody-dark-text-strong);
  border-radius: 50%;
  font-size: var(--ody-text-sm);
  font-weight: var(--ody-weight-bold);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
  box-shadow: var(--ody-shadow-md);
}

.process__step h3 {
  font-size: var(--ody-text-xl);
  margin-bottom: var(--ody-space-3);
}

.process__step p {
  font-size: var(--ody-text-sm);
  color: var(--ody-text-muted);
  line-height: var(--ody-leading-relaxed);
  margin: 0;
}

@media (max-width: 900px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__step:not(:last-child)::after { display: none; }
}

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


/* ----------------------------------------------------------
   TIMELINE VERTICALE (parcours / missions)
   ---------------------------------------------------------- */

.timeline {
  position: relative;
  padding-left: var(--ody-space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--ody-color-secondary), var(--ody-border-color));
}

.timeline__item {
  position: relative;
  margin-bottom: var(--ody-space-8);
}

.timeline__item:last-child { margin-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--ody-space-8) + 3px);
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ody-color-primary);
  border: 3px solid var(--ody-color-secondary);
  flex-shrink: 0;
}

.timeline__dot--current {
  background: var(--ody-color-accent);
  border-color: var(--ody-color-accent);
  box-shadow: 0 0 0 4px rgba(200, 77, 72, 0.15);
}

.timeline__period {
  font-size: var(--ody-text-xs);
  font-weight: var(--ody-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ody-text-soft);
  margin-bottom: var(--ody-space-1);
}

.timeline__company {
  font-family: var(--ody-font-heading);
  font-size: var(--ody-text-xl);
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-heading-color);
  margin-bottom: var(--ody-space-1);
}

.timeline__company a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ody-transition-fast);
}

.timeline__company a:hover {
  color: var(--ody-heading-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.timeline__company-meta {
  font-size: var(--ody-text-xs);
  color: var(--ody-text-soft);
  margin-bottom: var(--ody-space-3);
}

.timeline__role {
  display: inline-flex;
  align-items: center;
  gap: var(--ody-space-2);
  font-size: var(--ody-text-sm);
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-color-secondary);
  margin-bottom: var(--ody-space-3);
}

.timeline__desc {
  font-size: var(--ody-text-sm);
  color: var(--ody-text-muted);
  line-height: var(--ody-leading-relaxed);
  margin-bottom: var(--ody-space-3);
}

.timeline__missions {
  display: flex;
  flex-direction: column;
  gap: var(--ody-space-2);
}

.timeline__mission {
  font-size: var(--ody-text-xs);
  color: var(--ody-text-muted);
  line-height: var(--ody-leading-relaxed);
  padding-left: var(--ody-space-4);
  border-left: 2px solid var(--ody-border-color);
}

.timeline__mission strong {
  color: var(--ody-text-main);
  display: block;
  margin-bottom: 2px;
}

.timeline__sector {
  display: inline-flex;
  margin-top: var(--ody-space-1);
  font-size: var(--ody-text-xs);
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  background: rgba(var(--ody-color-secondary-rgb), 0.1);
  border: 1px solid rgba(var(--ody-color-secondary-rgb), 0.2);
  border-radius: var(--ody-radius-pill);
  color: var(--ody-color-secondary);
}


/* ----------------------------------------------------------
   INFO-ROW (panneaux "Informations pratiques" sur fond sombre)
   ---------------------------------------------------------- */

.info-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: var(--ody-space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-row__label {
  font-size: var(--ody-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.info-row__value {
  font-size: var(--ody-text-sm);
  color: #fff;
  font-weight: 500;
  line-height: var(--ody-leading-snug);
}


/* ----------------------------------------------------------
   CAS D'USAGE (cartes icône + titre + texte)
   ---------------------------------------------------------- */

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ody-space-4);
}

.usecase-card {
  padding: var(--ody-space-6);
  background: var(--ody-bg-card);
  border: var(--ody-border-width) solid var(--ody-border-color);
  border-radius: var(--ody-radius-lg);
  border-top: 3px solid var(--ody-color-secondary);
  transition: box-shadow var(--ody-transition-base), transform var(--ody-transition-base);
}

.usecase-card:hover {
  box-shadow: var(--ody-shadow-md);
  transform: translateY(-2px);
}

.usecase-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ody-color-secondary-rgb), 0.1);
  border-radius: var(--ody-radius-md);
  margin-bottom: var(--ody-space-4);
}

.usecase-card__icon svg { width: 24px; height: 24px; color: var(--ody-heading-color); }

.usecase-card h3 {
  color: #2b6f9e;
  font-size: var(--ody-text-xl);
  margin-bottom: var(--ody-space-3);
}

.usecase-card p {
  font-size: var(--ody-text-sm);
  color: var(--ody-text-muted);
  line-height: var(--ody-leading-relaxed);
  margin: 0;
}

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

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


/* ----------------------------------------------------------
   CTA SECTION
   ---------------------------------------------------------- */

.cta-section {
  background:
    radial-gradient(ellipse at top right, rgba(var(--ody-color-secondary-rgb), 0.14) 0%, transparent 55%),
    var(--ody-color-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='white' fill-opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

.cta-section__picto {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--ody-space-6);
  opacity: 0.8;
}

.cta-section h2 {
  color: var(--ody-dark-text-strong);
  margin-bottom: var(--ody-space-5);
}

.cta-section p {
  color: var(--ody-dark-text-muted);
  font-size: var(--ody-text-lg);
  margin-bottom: var(--ody-space-8);
  max-width: 52ch;
  margin-inline: auto;
  line-height: var(--ody-leading-relaxed);
}

/* Override boutons sur fond sombre de la CTA */
.cta-section .ody-button--primary {
  --ody-button-primary-bg: var(--ody-color-secondary);
  --ody-button-primary-text: var(--ody-dark-900);
  --ody-button-primary-border: var(--ody-color-secondary);
  --ody-button-primary-hover-bg: #8bc4e6;
  --ody-button-primary-hover-text: var(--ody-dark-900);
}

.cta-section .ody-button--secondary {
  --ody-button-secondary-bg: rgba(255, 255, 255, 0.08);
  --ody-button-secondary-text: var(--ody-dark-text-main);
  --ody-button-secondary-border: rgba(255, 255, 255, 0.35);
  --ody-button-secondary-hover-bg: rgba(255, 255, 255, 0.16);
  --ody-button-secondary-hover-text: var(--ody-dark-text-strong);
  --ody-button-secondary-hover-border: rgba(255, 255, 255, 0.55);
}

.cta-section .ody-button--ghost {
  --ody-button-ghost-text: var(--ody-dark-text-main);
  --ody-button-ghost-hover-bg: rgba(255, 255, 255, 0.1);
  --ody-button-ghost-hover-text: var(--ody-dark-text-strong);
}


/* ----------------------------------------------------------
   PAGE HERO (pages internes)
   ---------------------------------------------------------- */

.page-hero {
  background:
    radial-gradient(ellipse at top right, rgba(var(--ody-color-secondary-rgb), 0.16) 0%, transparent 55%),
    var(--ody-color-primary);
  padding-block: clamp(var(--ody-space-12), 6vw, var(--ody-space-20));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='white' fill-opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

.page-hero .ody-kicker {
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  gap: var(--ody-space-3);
}

.page-hero .ody-kicker::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.page-hero h1 {
  color: var(--ody-dark-text-strong);
  margin-bottom: var(--ody-space-4);
  font-size: clamp(var(--ody-text-3xl), 5vw, 4rem);
}

.page-hero p {
  color: var(--ody-dark-text-muted);
  font-size: var(--ody-text-lg);
  max-width: 52ch;
  line-height: var(--ody-leading-relaxed);
  margin-bottom: 0;
}

/* Boutons sur le bandeau bleu marine des pages : bleu clair lisible */
.page-hero .ody-button--primary {
  --ody-button-primary-bg: var(--ody-color-secondary);
  --ody-button-primary-text: var(--ody-dark-900);
  --ody-button-primary-border: var(--ody-color-secondary);
  --ody-button-primary-hover-bg: #8bc4e6;
  --ody-button-primary-hover-text: var(--ody-dark-900);
  --ody-button-primary-hover-border: #8bc4e6;
}

/* Bouton secondaire sur le bandeau bleu marine : le survol par défaut (fond
   transparent teinté + texte marine) devenait sombre et illisible */
.page-hero .ody-button--secondary {
  --ody-button-secondary-hover-bg: #e3f0f8;
  --ody-button-secondary-hover-text: var(--ody-color-primary);
  --ody-button-secondary-hover-border: #e3f0f8;
}

/* Bouton bleu marine plein, mis en exergue */
.ody-button--navy {
  color: #ffffff;
  background: #153451;
  border-color: #153451;
  box-shadow: var(--ody-shadow-sm);
}

.ody-button--navy:hover {
  color: #ffffff;
  background: #1f4a70;
  border-color: #1f4a70;
}

/* Bouton bleu clair plein (couleur secondaire), comme le CTA du header */
.ody-button--light {
  color: var(--ody-dark-900);
  background: var(--ody-color-secondary);
  border-color: var(--ody-color-secondary);
  box-shadow: var(--ody-shadow-sm);
}

.ody-button--light:hover {
  color: var(--ody-dark-900);
  background: #8bc4e6;
  border-color: #8bc4e6;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ody-space-2);
  font-size: var(--ody-text-xs);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--ody-space-6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--ody-transition-fast);
}

.breadcrumb a:hover { color: rgba(255, 255, 255, 0.85); }
.breadcrumb__sep { opacity: 0.35; }
.breadcrumb__current { color: rgba(255, 255, 255, 0.85); }


/* ----------------------------------------------------------
   EN-TÊTE DE SECTION
   ---------------------------------------------------------- */

.section__header {
  margin-bottom: clamp(var(--ody-space-10), 5vw, var(--ody-space-16));
}

.section__header h2 { margin-bottom: var(--ody-space-4); }

.section__header p {
  font-size: var(--ody-text-lg);
  color: var(--ody-text-muted);
  max-width: 58ch;
  line-height: var(--ody-leading-relaxed);
  margin: 0;
}

.section__header.text-center p { margin-inline: auto; }

.mission-statement {
  margin: var(--ody-space-6) auto 0;
  max-width: 43ch;
  font-family: var(--ody-font-heading);
  font-size: clamp(var(--ody-text-2xl), 3vw, var(--ody-text-3xl));
  font-style: italic;
  line-height: var(--ody-leading-snug);
  color: var(--ody-heading-color);
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ody-space-3);
  margin-top: var(--ody-space-6);
  padding: 0;
  list-style: none;
}

.values-list__item {
  display: inline-flex;
  align-items: center;
  gap: var(--ody-space-2);
  padding: 0.5rem 1rem;
  border: 1px solid var(--ody-border-color);
  border-radius: var(--ody-radius-pill);
  background: var(--ody-bg-card);
  font-size: var(--ody-text-sm);
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-heading-color);
}

.values-list__item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ody-color-secondary);
  flex-shrink: 0;
}

.flash-audit-cta {
  position: relative;
  text-align: center;
  padding: clamp(var(--ody-space-12), 8vw, var(--ody-space-20)) var(--ody-space-8);
  background: var(--ody-bg-soft);
  border-radius: var(--ody-radius-2xl);
  border: 1px solid var(--ody-border-color);
  overflow: hidden;
}

.flash-audit-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #002395 0%, #ffffff 50%, #ED2939 100%);
}

.flash-audit-cta h2 {
  margin-bottom: var(--ody-space-4);
}

.flash-audit-cta p {
  color: var(--ody-text-muted);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--ody-space-8);
  line-height: var(--ody-leading-relaxed);
}

.flash-audit-cta .ody-cluster {
  justify-content: center;
}

.flash-audit-cta .ody-button--secondary {
  --ody-button-secondary-bg: #153451;
  --ody-button-secondary-text: #ffffff;
  --ody-button-secondary-border: #153451;
  --ody-button-secondary-hover-bg: #1f4a70;
  --ody-button-secondary-hover-text: #ffffff;
  --ody-button-secondary-hover-border: #1f4a70;
}


/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

.ody-footer {
  position: relative;
  background: var(--ody-color-primary);
  color: var(--ody-dark-text-muted);
}

.ody-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(
    to right,
    #002395 0%, #002395 33.333%,
    #ffffff 33.333%, #ffffff 66.666%,
    #ED2939 66.666%, #ED2939 100%
  );
}

.ody-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: clamp(var(--ody-space-8), 5vw, var(--ody-space-16));
  padding-block: clamp(var(--ody-space-12), 6vw, var(--ody-space-20));
}

.ody-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--ody-space-3);
  text-decoration: none;
  margin-bottom: var(--ody-space-5);
}

.ody-footer__logo-link img { width: 48px; height: 48px; opacity: 0.85; }

.ody-footer__brand-block {
  display: flex;
  flex-direction: column;
}

.ody-footer__brand {
  font-family: var(--ody-font-heading);
  font-size: 1.375rem;
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-dark-text-strong);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.ody-footer__baseline {
  font-family: var(--ody-font-body);
  font-size: 0.6875rem;
  font-weight: var(--ody-weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ody-dark-text-soft);
  line-height: 1.3;
  margin-top: 3px;
}

.ody-footer__brand p {
  font-size: 0.9375rem;
  text-transform: none;
  color: var(--ody-dark-text-soft);
  max-width: 36ch;
  line-height: var(--ody-leading-relaxed);
  margin: 0;
}

.ody-footer__nav h3,
.ody-footer__contact h3 {
  font-family: var(--ody-font-body);
  font-size: var(--ody-text-xs);
  font-weight: var(--ody-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ody-dark-text-soft);
  margin-bottom: var(--ody-space-5);
}

.ody-footer__nav ul { display: flex; flex-direction: column; gap: var(--ody-space-2); }

.ody-footer__nav a {
  font-size: var(--ody-text-sm);
  color: var(--ody-dark-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--ody-space-2);
  transition: color var(--ody-transition-fast);
}

.ody-footer__nav a::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--ody-heading-accent);
  transition: width var(--ody-transition-base);
}

.ody-footer__nav a:hover { color: var(--ody-dark-text-strong); }
.ody-footer__nav a:hover::before { width: 16px; }

.ody-footer__contact h3 { margin-bottom: var(--ody-space-2); }

.ody-footer__contact address { display: flex; flex-direction: column; gap: var(--ody-space-5); }

.ody-footer__contact address p {
  font-size: var(--ody-text-sm);
  color: var(--ody-dark-text-muted);
  line-height: var(--ody-leading-relaxed);
  margin: 0;
}

.ody-footer__contact address a {
  color: var(--ody-dark-text-muted);
  text-decoration: none;
  transition: color var(--ody-transition-fast);
}

.ody-footer__contact address a:hover { color: var(--ody-dark-text-strong); }

.ody-footer__contact-name {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.ody-footer__contact-role {
  font-size: var(--ody-text-sm);
  color: var(--ody-dark-text-soft);
}

/* Même pastille que l'icône LinkedIn du bandeau du header, sur sa propre ligne */
.ody-footer__contact address a.ody-footer__linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
  margin-top: var(--ody-space-2);
  border-radius: 5px;
  background: var(--ody-color-secondary);
  color: var(--ody-dark-900);
  transition: background var(--ody-transition-fast), color var(--ody-transition-fast);
}

.ody-footer__contact address a.ody-footer__linkedin:hover {
  background: #ffffff;
  color: var(--ody-dark-900);
}

.ody-footer__linkedin svg {
  width: 18px;
  height: 18px;
}

.ody-footer__contact-label {
  display: block;
  font-size: var(--ody-text-xs);
  font-weight: var(--ody-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ody-dark-text-soft);
  margin-bottom: 0;
}

.ody-footer__contact address a.ody-footer__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ody-color-secondary);
  border: var(--ody-border-width) solid var(--ody-color-secondary);
  border-radius: var(--ody-radius-pill);
  padding: var(--ody-space-2) var(--ody-space-5);
  font-size: var(--ody-text-sm);
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-dark-900);
  text-decoration: none;
  box-shadow: var(--ody-shadow-sm);
  transition: background var(--ody-transition-fast), border-color var(--ody-transition-fast), box-shadow var(--ody-transition-fast);
}

.ody-footer__contact address a.ody-footer__cta-link:hover {
  background: #8bc4e6;
  border-color: #8bc4e6;
  color: var(--ody-dark-900);
  box-shadow: var(--ody-shadow-md);
}

.ody-footer__bottom {
  border-top: var(--ody-border-width) solid rgba(255, 255, 255, 0.08);
  padding-block: var(--ody-space-5);
}

.ody-footer__bottom .ody-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ody-space-3);
}

.ody-footer__bottom p { font-size: var(--ody-text-xs); color: var(--ody-dark-text-soft); margin: 0; }
.ody-footer__bottom a { color: var(--ody-dark-text-soft); text-decoration: none; transition: color var(--ody-transition-fast); }
.ody-footer__bottom a:hover { color: var(--ody-dark-text-strong); }

@media (max-width: 900px) {
  .ody-footer__inner { grid-template-columns: 1fr 1fr; }
  .ody-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .ody-footer__inner { grid-template-columns: 1fr; }
  .ody-footer__bottom .ody-container { flex-direction: column; text-align: center; }
}


/* ----------------------------------------------------------
   FORMULAIRE DE CONTACT
   ---------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(var(--ody-space-12), 6vw, var(--ody-space-20));
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--ody-space-4);
  margin-bottom: var(--ody-space-8);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(var(--ody-color-secondary-rgb), 0.12);
  border: var(--ody-border-width) solid rgba(var(--ody-color-secondary-rgb), 0.2);
  border-radius: var(--ody-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ody-heading-color);
}

.contact-info__icon svg { width: 20px; height: 20px; }

.contact-info__label {
  font-size: var(--ody-text-xs);
  font-weight: var(--ody-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ody-text-soft);
  margin-bottom: var(--ody-space-1);
}

.contact-info__value {
  font-size: var(--ody-text-md);
  color: var(--ody-text-main);
  font-weight: var(--ody-weight-medium);
}

.contact-info__value a {
  color: var(--ody-text-main);
  text-decoration: none;
  transition: color var(--ody-transition-fast);
}

.contact-info__value a:hover { color: var(--ody-heading-accent); }

/* Surface formulaire */
.contact-form {
  background: var(--ody-bg-soft);
  border: var(--ody-border-width) solid var(--ody-border-color);
  border-radius: var(--ody-radius-xl);
  padding: clamp(var(--ody-space-6), 4vw, var(--ody-space-10));
}

.form-grid { display: flex; flex-direction: column; gap: var(--ody-space-5); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ody-space-5); }

.form-group { display: flex; flex-direction: column; gap: var(--ody-space-2); }

.form-group label {
  font-size: var(--ody-text-sm);
  font-weight: var(--ody-weight-medium);
  color: var(--ody-text-main);
}

.form-group label .required {
  color: var(--ody-color-error);
  margin-left: var(--ody-space-1);
}

/* États d'erreur du formulaire */
.form-group.has-error .ody-input,
.form-group.has-error .ody-textarea {
  border-color: var(--ody-color-error);
  box-shadow: 0 0 0 3px var(--ody-color-error-bg);
}

.form-error-msg {
  font-size: var(--ody-text-xs);
  color: var(--ody-color-error);
  display: none;
}

.form-group.has-error .form-error-msg { display: block; }

.form-notice { font-size: var(--ody-text-xs); color: var(--ody-text-soft); }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--ody-space-3);
  font-size: var(--ody-text-sm);
  color: var(--ody-text-muted);
  cursor: pointer;
  line-height: var(--ody-leading-relaxed);
}

.form-checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ody-color-primary);
  cursor: pointer;
}

/* Message de succès */
.form-success {
  background: var(--ody-color-success-bg);
  border: var(--ody-border-width) solid color-mix(in srgb, var(--ody-color-success), transparent 65%);
  border-radius: var(--ody-radius-lg);
  padding: var(--ody-space-5) var(--ody-space-6);
  color: var(--ody-color-success);
  font-size: var(--ody-text-sm);
  display: none;
}

.form-success.is-visible { display: block; }

/* Bandeau d'erreur */
.form-error-banner {
  background: var(--ody-color-error-bg);
  border: var(--ody-border-width) solid color-mix(in srgb, var(--ody-color-error), transparent 65%);
  border-radius: var(--ody-radius-md);
  padding: var(--ody-space-4) var(--ody-space-5);
  color: var(--ody-color-error);
  font-size: var(--ody-text-sm);
  margin-bottom: var(--ody-space-4);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------
   CONTENU LÉGAL
   ---------------------------------------------------------- */

.legal-content { max-width: 720px; }

.legal-content h2 {
  font-size: var(--ody-text-2xl);
  margin-top: var(--ody-space-10);
  margin-bottom: var(--ody-space-4);
  padding-bottom: var(--ody-space-3);
  border-bottom: var(--ody-border-width) solid var(--ody-border-color);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: var(--ody-text-xl);
  margin-top: var(--ody-space-6);
  margin-bottom: var(--ody-space-3);
}

.legal-content p,
.legal-content li {
  color: var(--ody-text-muted);
  line-height: var(--ody-leading-relaxed);
  margin-bottom: var(--ody-space-3);
}

.legal-content strong { color: var(--ody-text-strong); }

.legal-content ul {
  list-style: disc;
  padding-left: var(--ody-space-6);
  margin-bottom: var(--ody-space-4);
}

.legal-content address p { color: var(--ody-text-muted); }


/* ----------------------------------------------------------
   DEV BANNER
   ---------------------------------------------------------- */

.dev-banner {
  background: var(--ody-color-error);
  color: #fff;
  text-align: center;
  padding: var(--ody-space-2) 1rem;
  font-size: var(--ody-text-xs);
  font-weight: var(--ody-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ----------------------------------------------------------
   COOKIE BANNER
   ---------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--ody-z-modal) + 10);
  background: var(--ody-dark-900);
  border-top: 3px solid var(--ody-heading-accent);
  padding: var(--ody-space-5) 1rem;
  box-shadow: var(--ody-shadow-lg);
  transform: translateY(100%);
  transition: transform var(--ody-transition-slow);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: var(--ody-container-lg);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ody-space-6);
  flex-wrap: wrap;
}

.cookie-banner__text { flex: 1; min-width: 240px; }

.cookie-banner__text p {
  font-size: var(--ody-text-sm);
  color: var(--ody-dark-text-muted);
  line-height: var(--ody-leading-normal);
  margin: 0;
}

.cookie-banner__text a { color: var(--ody-color-secondary); }
.cookie-banner__text a:hover { color: var(--ody-dark-text-strong); }

.cookie-banner__actions { display: flex; gap: var(--ody-space-3); flex-shrink: 0; }

.cookie-banner__actions .ody-button {
  font-size: var(--ody-text-xs);
  padding: 0.6rem 1rem;
  min-height: auto;
}

/* Overrides boutons du cookie banner */
.cookie-banner__actions .ody-button--secondary {
  --ody-button-secondary-bg: transparent;
  --ody-button-secondary-text: var(--ody-dark-text-muted);
  --ody-button-secondary-border: rgba(255, 255, 255, 0.22);
  --ody-button-secondary-hover-bg: rgba(255, 255, 255, 0.08);
  --ody-button-secondary-hover-text: var(--ody-dark-text-main);
  --ody-button-secondary-hover-border: rgba(255, 255, 255, 0.35);
}

@media (max-width: 560px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; justify-content: flex-end; }
}


/* ----------------------------------------------------------
   BACK TO TOP
   ---------------------------------------------------------- */

.back-to-top {
  position: fixed;
  bottom: var(--ody-space-8);
  right: var(--ody-space-8);
  width: 44px;
  height: 44px;
  background: var(--ody-color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--ody-z-sticky);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity var(--ody-transition-base),
    transform var(--ody-transition-base),
    background var(--ody-transition-fast);
  box-shadow: var(--ody-shadow-md);
  text-decoration: none;
}

.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--ody-heading-accent); color: #fff; }
.back-to-top svg { width: 18px; height: 18px; }

@media (max-width: 560px) {
  .back-to-top { bottom: var(--ody-space-5); right: var(--ody-space-5); }
}


/* En-tête de section mis en valeur (ex. Clubs et Réseaux Professionnels) */
.section__header--emphasis .ody-kicker {
  font-size: var(--ody-text-lg);
  color: #2b6f9e;
  letter-spacing: 0.1em;
}

.section__header--emphasis h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ody-heading-color);
}


/* ----------------------------------------------------------
   PAGES LÉGALES (confidentialité, cookies) - texte long
   ---------------------------------------------------------- */

.legal-content {
  max-width: 78ch;
}

.legal-content h2 {
  font-size: var(--ody-text-2xl);
  margin: var(--ody-space-10) 0 var(--ody-space-3);
  padding-top: var(--ody-space-6);
  border-top: 1px solid var(--ody-border-color);
}

.legal-content h2:first-of-type {
  margin-top: var(--ody-space-6);
}

.legal-content p,
.legal-content li {
  color: var(--ody-text-main);
  line-height: var(--ody-leading-relaxed);
}

.legal-content p { margin: 0 0 var(--ody-space-3); }

.legal-content ul {
  margin: 0 0 var(--ody-space-4);
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-content li { margin-bottom: var(--ody-space-2); }

.legal-content a { color: var(--ody-heading-accent); text-underline-offset: 3px; }

.legal-content__intro {
  font-size: var(--ody-text-lg);
  color: var(--ody-text-strong);
}

.legal-content__updated {
  margin-top: var(--ody-space-10);
  font-size: var(--ody-text-sm);
  color: var(--ody-text-soft);
}

.legal-table-wrap { overflow-x: auto; margin: 0 0 var(--ody-space-4); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--ody-text-sm);
}

.legal-table th,
.legal-table td {
  padding: var(--ody-space-3) var(--ody-space-4);
  border: 1px solid var(--ody-border-color);
  text-align: left;
  vertical-align: top;
  color: var(--ody-text-main);
}

.legal-table th {
  background: var(--ody-bg-soft);
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-heading-color);
}
