/* ==========================================================
   ODYSSEIA - Page d'accueil
   ========================================================== */


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

.hero--home .hero__inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(var(--ody-space-10), 5vw, var(--ody-space-16));
  align-items: center;
}

.hero__photo {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero__photo-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero__photo-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1.5px solid rgba(102, 165, 204, 0.3);
  border-radius: calc(var(--ody-radius-2xl) + 10px);
  pointer-events: none;
  z-index: 0;
}

.hero__photo-frame::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 30px;
  background: rgba(102, 165, 204, 0.15);
  filter: blur(18px);
  border-radius: 50%;
  z-index: 0;
}

.hero__photo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--ody-radius-2xl);
  display: block;
  object-fit: cover;
  object-position: top center;
  box-shadow:
    0 0 0 1px rgba(21, 52, 81, 0.08),
    0 24px 64px rgba(21, 52, 81, 0.18);
}

.hero--home .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;
}

@media (max-width: 860px) {
  .hero--home .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__photo {
    order: -1;
  }

  .hero__photo-frame {
    max-width: 300px;
    margin-inline: auto;
  }

  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
}


/* ----------------------------------------------------------
   CHIFFRES CLÉS
   ---------------------------------------------------------- */

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

.home-stat {
  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);
  border-radius: var(--ody-radius-lg);
  border: 1px solid var(--ody-border-color);
}

/* Dégradé de bleus modérés (ni pastel multicolore, ni bleu marine foncé) */
.home-stat { border-color: rgba(43, 111, 158, 0.25); }
.home-stat:nth-child(1) { background: #e4f0f8; }
.home-stat:nth-child(2) { background: #d6e8f4; }
.home-stat:nth-child(3) { background: #c8e0f0; }
.home-stat:nth-child(4) { background: #b9d8ec; }
.home-stat:nth-child(5) { background: #aacfe7; }
.home-stat:nth-child(6) { background: #9bc6e2; }
.home-stat--wide { background: linear-gradient(90deg, #9bc6e2, #7db4d7) !important; }

.home-stat--wide { grid-column: span 2; }

.home-stat--wide .home-stat__number {
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

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

.home-stat__label {
  font-size: var(--ody-text-md);
  font-weight: var(--ody-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1d4568;
  line-height: var(--ody-leading-snug);
}

@media (max-width: 900px) {
  .home-stats { grid-template-columns: repeat(2, 1fr); }
  .home-stat--wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .home-stats { grid-template-columns: 1fr 1fr; }
}


/* ----------------------------------------------------------
   CARTE DU MONDE
   ---------------------------------------------------------- */

.world-map-section {
  background: #1f4a70;
  padding-block: clamp(var(--ody-space-12), 8vw, var(--ody-space-24));
}

.world-map-section .section__header h2 { color: #ffffff; }
.world-map-section .section__header p  { color: rgba(255, 255, 255, 0.85); }
.world-map-section .ody-kicker { color: #a9d3ee; }

.ody-worldmap {
  margin-top: var(--ody-space-10);
}

/* SVG de la carte */
#ody-map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--ody-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #2b5c86;
}

/* Base : toutes les zones en bleu marine sobre */
#ody-map path {
  fill: #6da6d1;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 0.8;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

/* Hover region */
#ody-map #Europe:hover path,
#ody-map #Afrique:hover path,
#ody-map #AmeriqueNord:hover path,
#ody-map #AmeriqueSud:hover path,
#ody-map #Oceanie:hover path,
#ody-map #MoyenOrient:hover path,
#ody-map #Asie:hover path {
  fill: #eaf5fd !important;
  stroke: rgba(255, 255, 255, 0.8) !important;
  cursor: pointer;
}

/* Region selectionnee */
#ody-map g.map-active path {
  fill: #eaf5fd !important;
  stroke: rgba(255, 255, 255, 0.8) !important;
}

/* Tooltip de survol */
.ody-map-tooltip {
  position: fixed;
  background: var(--ody-dark-900);
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 9999;
  white-space: nowrap;
  border-left: 3px solid var(--ody-color-secondary);
}

/* Panneau detail region (clic) */
.ody-map-info {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--ody-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 3px solid #a9d3ee;
  overflow: hidden;
}

.ody-map-info__inner {
  padding: 1.5rem 2rem 2rem;
}

.ody-map-info__close {
  float: right;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.2s ease;
}
.ody-map-info__close:hover { color: #fff; }

.ody-map-info__title {
  font-family: var(--ody-font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
}

.ody-map-info__desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.ody-map-info__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ody-map-info__cities li {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  padding: 3px 14px;
  color: #eaf5fd;
  font-size: 0.8rem;
  font-weight: 500;
}

.worldmap-hq {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ody-space-2);
  margin-top: var(--ody-space-6);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.worldmap-hq svg {
  width: 14px;
  height: 14px;
  color: #a9d3ee;
  flex-shrink: 0;
}


/* ----------------------------------------------------------
   LOGOS CLIENTS
   ---------------------------------------------------------- */

.clients-subheading {
  font-size: var(--ody-text-xs);
  font-weight: var(--ody-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ody-text-muted);
  text-align: center;
  margin-bottom: var(--ody-space-6);
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ody-space-4);
}

.clients-marquee-section {
  padding-top: clamp(var(--ody-space-12), 6vw, var(--ody-space-20));
  padding-bottom: clamp(var(--ody-space-8), 5vw, var(--ody-space-14));
}

.clients-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.clients-marquee::-webkit-scrollbar { display: none; }

.clients-marquee.is-dragging { cursor: grabbing; }

.clients-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--ody-space-4);
  width: max-content;
}

.clients-marquee__track .client-logo { flex-shrink: 0; }

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--ody-space-5) var(--ody-space-4);
  border: 1px solid var(--ody-border-color);
  border-radius: var(--ody-radius-md);
  background: var(--ody-bg-card);
  text-decoration: none;
  min-height: 100px;
}

.client-logo img {
  height: 72px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

.client-logo__name {
  font-size: var(--ody-text-xs);
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}


/* ----------------------------------------------------------
   CLUBS & RÉSEAUX
   ---------------------------------------------------------- */

/* Note: .clubs-section utilise ody-section--soft pour le fond */

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

.clubs-grid .client-logo {
  min-height: 130px;
}

.clubs-grid .client-logo img {
  height: 92px;
  max-width: 100%;
}

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

@media (max-width: 560px) {
  .clubs-grid { grid-template-columns: repeat(2, 1fr); gap: var(--ody-space-3); }
  .clubs-grid .client-logo { min-height: 100px; padding: var(--ody-space-4) var(--ody-space-3); }
  .clubs-grid .client-logo img { height: 64px; }
}

.club-item {
  display: inline-flex;
  align-items: center;
  gap: var(--ody-space-2);
  padding: 0.6rem 1.15rem;
  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-medium);
  color: var(--ody-heading-color);
  text-decoration: none;
  transition:
    border-color var(--ody-transition-fast),
    background var(--ody-transition-fast),
    box-shadow var(--ody-transition-fast);
}

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

.club-item:hover {
  border-color: var(--ody-color-secondary);
  background: rgba(var(--ody-color-secondary-rgb), 0.06);
  box-shadow: var(--ody-shadow-xs);
}


/* ----------------------------------------------------------
   TÉMOIGNAGES
   ---------------------------------------------------------- */

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

.testimonial-card {
  position: relative;
  padding: var(--ody-space-8);
  border-radius: var(--ody-radius-lg);
  background: var(--ody-bg-card);
  border: 1px solid var(--ody-border-color);
  display: flex;
  flex-direction: column;
  gap: var(--ody-space-5);
  box-shadow: var(--ody-shadow-xs);
  transition: box-shadow var(--ody-transition-base), transform var(--ody-transition-base);
}

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

.testimonial-card__quote-mark {
  font-family: var(--ody-font-heading);
  font-size: 5rem;
  line-height: 0.7;
  color: var(--ody-color-secondary);
  opacity: 0.2;
  display: block;
  pointer-events: none;
  margin-bottom: -0.5rem;
}

.testimonial-card__text {
  font-size: var(--ody-text-sm);
  line-height: var(--ody-leading-relaxed);
  color: var(--ody-text-muted);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--ody-space-3);
  padding-top: var(--ody-space-5);
  border-top: 1px solid var(--ody-border-soft);
}

.testimonial-card__linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(var(--ody-color-secondary-rgb), 0.1);
  color: var(--ody-heading-accent);
  transition: background var(--ody-transition-fast), color var(--ody-transition-fast);
}

.testimonial-card__linkedin:hover {
  background: var(--ody-color-secondary);
  color: #ffffff;
}

.testimonial-card__linkedin svg {
  width: 20px;
  height: 20px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--ody-color-secondary-rgb), 0.12);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-card__author-name {
  font-size: var(--ody-text-sm);
  font-weight: var(--ody-weight-semibold);
  color: var(--ody-text-strong);
  display: block;
}

.testimonial-card__author-role {
  font-size: var(--ody-text-xs);
  color: var(--ody-text-soft);
  display: block;
}

.testimonial-card--placeholder {
  border-style: dashed;
  opacity: 0.45;
}

.testimonial-card--placeholder .testimonial-card__text {
  font-style: normal;
  color: var(--ody-text-soft);
}

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

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


/* ----------------------------------------------------------
   MINI CTA BANDE (entre sections)
   ---------------------------------------------------------- */

.inline-cta {
  background: var(--ody-color-primary);
  padding: clamp(var(--ody-space-6), 3vw, var(--ody-space-8));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nowrap { white-space: nowrap; }

.inline-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  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;
}

.inline-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--ody-text-md);
  margin-bottom: var(--ody-space-4);
  max-width: 64ch;
  margin-inline: auto;
}

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

.inline-cta .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);
}

.inline-cta .ody-button--secondary {
  --ody-button-secondary-bg: rgba(255, 255, 255, 0.08);
  --ody-button-secondary-text: rgba(255, 255, 255, 0.9);
  --ody-button-secondary-border: rgba(255, 255, 255, 0.3);
  --ody-button-secondary-hover-bg: rgba(255, 255, 255, 0.15);
  --ody-button-secondary-hover-text: #ffffff;
  --ody-button-secondary-hover-border: rgba(255, 255, 255, 0.5);
}


/* ----------------------------------------------------------
   PRÉSENTATION (bio)
   ---------------------------------------------------------- */

.bio-text h2 { margin-bottom: var(--ody-space-5); }

.bio-name {
  font-size: clamp(1.35rem, 2.3vw, 2.3rem) !important;
  letter-spacing: 0.02em;
  color: #2b6f9e;
  margin-bottom: var(--ody-space-2) !important;
}

.bio-kicker {
  color: var(--ody-text-strong);
  margin-bottom: var(--ody-space-5);
}

@media (max-width: 480px) {
  .bio-name { white-space: normal !important; }
}

.bio-text p {
  color: var(--ody-text-strong);
  line-height: var(--ody-leading-relaxed);
  max-width: 58ch;
}

.bio-text blockquote {
  margin: var(--ody-space-6) 0 0;
  padding: var(--ody-space-5) var(--ody-space-6);
  border-left: 4px solid var(--ody-color-secondary);
  background: rgba(var(--ody-color-secondary-rgb), 0.12);
  border-radius: 0 var(--ody-radius-md) var(--ody-radius-md) 0;
  font-family: var(--ody-font-heading);
  font-size: var(--ody-text-xl);
  line-height: var(--ody-leading-snug);
  color: var(--ody-heading-color);
  font-style: italic;
}

.bio-text blockquote footer {
  margin-top: var(--ody-space-3);
  font-size: var(--ody-text-sm);
  font-family: var(--ody-font-body);
  font-style: normal;
  color: var(--ody-text-soft);
}

.bio-callout {
  margin-top: var(--ody-space-6);
  padding: var(--ody-space-5) var(--ody-space-6);
  background: var(--ody-bg-card);
  border: 2px solid var(--ody-color-secondary);
  border-radius: var(--ody-radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--ody-space-4);
}

.bio-callout .values-list__item { border-color: var(--ody-color-secondary); }

.bio-callout__label {
  font-size: var(--ody-text-md);
  font-weight: var(--ody-weight-bold, 700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2b6f9e;
  margin: 0 0 var(--ody-space-2);
}

.bio-callout .values-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  margin-top: 0;
}

.bio-callout .values-list__item {
  justify-content: center;
}

.bio-actions {
  justify-content: center;
  margin-top: var(--ody-space-5);
}

.bio-text .ody-button--secondary {
  color: var(--ody-dark-900);
  background: var(--ody-color-secondary);
  border-color: var(--ody-color-secondary);
}

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

.bio-photo {
  position: relative;
}

.bio-photo img,
.bio-photo-placeholder {
  width: 100%;
  border-radius: var(--ody-radius-xl);
}

.bio-photo-placeholder {
  aspect-ratio: 3 / 4;
  background: var(--ody-bg-muted);
  border: 2px dashed var(--ody-border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ody-space-3);
  color: var(--ody-text-soft);
  font-size: var(--ody-text-sm);
}

.bio-photo-placeholder svg { width: 40px; height: 40px; opacity: 0.4; }
