/* ================================================================
   PAGE RÉSEAU — Aventura Yachts
   À ajouter dans : Apparence > Personnaliser > CSS additionnel
   ou directement dans child-theme/style.css
   ================================================================ */

/* ── Variables locales (hérite du thème) ───────────────────────── */
.av-reseau-page {
  --av-bg:         #121417;
  --av-bg-card:    #1a1d21;
  --av-bg-card-h:  #1f2328;
  --av-white:      #ffffff;
  --av-grey:       #6b7280;
  --av-grey-lt:    #9ca3af;
  --av-border:     rgba(255,255,255,0.08);
  --av-border-h:   rgba(255,255,255,0.16);
  --av-accent:     #e8e0d4;        /* crème premium */
  --av-france:     #3b82f6;        /* bleu France */
  --av-europe:     #8b5cf6;        /* violet Europe */
  --av-monde:      #f97316;        /* gris International */
  --av-radius:     12px;
  --av-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  background: var(--av-bg);
  color: var(--av-white);
  font-family: inherit;
  padding: 0;
  padding-top: 150px;

  overflow: hidden;
}

/* ── HERO ──────────────────────────────────────────────────────── */
.av-reseau-hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 780px;
  margin: 0 auto;
}

.av-reseau-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--av-grey-lt);
  margin-bottom: 20px;
}

.av-reseau-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--av-white);
  margin: 0 0 20px;
  white-space: nowrap;

}

.av-reseau-hero__accent {
  color: var(--av-accent);
  font-style: italic;
}

.av-reseau-hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--av-grey-lt);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ── STATS ─────────────────────────────────────────────────────── */
.av-reseau-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--av-border);
  border-radius: 16px;
  padding: 28px 40px;
}

.av-reseau-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 40px;
}

.av-reseau-stat__num {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--av-white);
  line-height: 1;
}

.av-reseau-stat__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--av-grey);
}

.av-reseau-stat__sep {
  width: 1px;
  height: 40px;
  background: var(--av-border);
  flex-shrink: 0;
}

/* ── CARTE ZONES ───────────────────────────────────────────────── */
.av-reseau-map-wrap {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 24px;
  position: relative;
}

.av-reseau-map-line {
  position: absolute;
  top: 50%;
  left: 64px;
  right: 64px;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--av-france) 0%,
    var(--av-france) 33%,
    var(--av-europe) 33%,
    var(--av-europe) 66%,
    var(--av-monde)  66%,
    var(--av-monde)  100%
  );
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.av-reseau-zones {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 20px 0;
}

.av-reseau-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.5;
  transition: opacity var(--av-transition), transform var(--av-transition);
  user-select: none;
}

.av-reseau-zone:hover,
.av-reseau-zone--active {
  opacity: 1;
  transform: translateY(-3px);
}

.av-reseau-zone__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--av-france);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.2);
  transition: box-shadow 0.3s;
}

.av-reseau-zone[data-zone="europe"] .av-reseau-zone__dot {
  background: var(--av-europe);
  box-shadow: 0 0 0 4px rgba(139,92,246,0.2);
}
.av-reseau-zone[data-zone="monde"] .av-reseau-zone__dot {
  background: var(--av-monde);
  box-shadow: 0 0 0 4px rgba(129,129,129,0.2);
}

.av-reseau-zone--active .av-reseau-zone__dot {
  box-shadow: 0 0 0 8px rgba(59,130,246,0.15), 0 0 20px rgba(59,130,246,0.3);
}
.av-reseau-zone--active[data-zone="europe"] .av-reseau-zone__dot {
  box-shadow: 0 0 0 8px rgba(139,92,246,0.15), 0 0 20px rgba(139,92,246,0.3);
}
.av-reseau-zone--active[data-zone="monde"] .av-reseau-zone__dot {
  box-shadow: 0 0 0 8px rgba(129,129,129,0.15), 0 0 20px rgba(129,129,129,0.25);
}

.av-reseau-zone__info {
  text-align: center;
}

.av-reseau-zone__count {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--av-white);
}

.av-reseau-zone__name {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--av-grey);
  margin-top: 4px;
}

/* ── FILTRES ───────────────────────────────────────────────────── */
.av-reseau-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 24px 48px;
}

.av-reseau-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--av-border);
  border-radius: 40px;
  background: transparent;
  color: var(--av-grey-lt);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--av-transition);
  font-family: inherit;
}

.av-reseau-filter:hover {
  border-color: var(--av-border-h);
  color: var(--av-white);
  background: rgba(255,255,255,0.04);
}

.av-reseau-filter--active {
  background: var(--av-white);
  border-color: var(--av-white);
  color: var(--av-bg);
  font-weight: 600;
}

.av-reseau-filter--active .av-reseau-filter__count {
  background: rgba(18,20,23,0.12);
  color: var(--av-bg);
}

.av-reseau-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

/* ── GRILLE CARDS ──────────────────────────────────────────────── */
.av-reseau-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── CARD ──────────────────────────────────────────────────────── */
.av-reseau-card {
  position: relative;
  background: var(--av-bg-card);
  border: 1px solid var(--av-border);
  border-radius: var(--av-radius);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease,
              border-color var(--av-transition),
              background var(--av-transition),
              box-shadow var(--av-transition);
}

.av-reseau-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.av-reseau-card:hover {
  background: var(--av-bg-card-h);
  border-color: var(--av-border-h);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

/* Zone tag */
.av-reseau-card__zone-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--av-france);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 3px 8px;
  border-radius: 4px;
}

.av-reseau-card__zone-tag--europe {
  color: var(--av-europe);
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.2);
}

.av-reseau-card__zone-tag--monde {
  color: var(--av-monde);
  background: rgba(129,129,129,0.1);
  border-color: rgba(129,129,129,0.2);
}

/* Header */
.av-reseau-card__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 60px;
}

.av-reseau-card__flag {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.av-reseau-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--av-white);
  margin: 0 0 5px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.av-reseau-card__territory {
  font-size: 0.78rem;
  color: var(--av-grey);
  margin: 0;
  line-height: 1.5;
}

/* Contact */
.av-reseau-card__contact {
  padding-top: 0;
  border-top: 1px solid var(--av-border);
}

.av-reseau-card__person {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--av-grey-lt);
  padding-top: 16px;
}

.av-reseau-card__person svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* Actions */
.av-reseau-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.av-reseau-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all var(--av-transition);
}

.av-reseau-card__btn--mail {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--av-white);
}

.av-reseau-card__btn--mail:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--av-white);
  text-decoration: none;
}

.av-reseau-card__btn--phone {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--av-grey-lt);
}

.av-reseau-card__btn--phone:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.15);
  color: var(--av-white);
  text-decoration: none;
}

/* Langues */
.av-reseau-card__langs {
  display: flex;
  gap: 6px;
}

.av-reseau-card__lang {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 3px;
}

.av-reseau-card__lang--fr {
  background: rgba(59,130,246,0.12);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.2);
}

.av-reseau-card__lang--en {
  background: rgba(34,197,94,0.1);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.15);
}

/* ── MESSAGE VIDE ──────────────────────────────────────────────── */
.av-reseau-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--av-grey);
  font-size: 0.9rem;
}

/* ── CTA PARTENAIRE ────────────────────────────────────────────── */
.av-reseau-cta {
  background: linear-gradient(135deg, #1a1d21 0%, #1f2328 100%);
  border-top: 1px solid var(--av-border);
  padding: 80px 24px;
}

.av-reseau-cta__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.av-reseau-cta__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--av-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--av-accent);
}

.av-reseau-cta__title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--av-white);
  margin: 0;
}

.av-reseau-cta__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--av-grey-lt);
  margin: 0;
  max-width: 440px;
}

.av-reseau-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  background: var(--av-white);
  color: var(--av-bg);
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--av-transition);
  margin-top: 8px;
}

.av-reseau-cta__btn:hover {
  background: var(--av-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.12);
  text-decoration: none;
  color: var(--av-bg);
}

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .av-reseau-hero {
    padding: 60px 20px 40px;
  }

  .av-reseau-stats {
    padding: 20px 16px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .av-reseau-stat {
    padding: 12px 20px;
    flex: 1;
    min-width: 100px;
  }

  .av-reseau-stat__sep {
    display: none;
  }

  .av-reseau-stat__num {
    font-size: 2rem;
  }

  .av-reseau-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 60px;
  }

  .av-reseau-filters {
    padding: 0 16px 36px;
    gap: 6px;
  }

  .av-reseau-filter {
    padding: 9px 16px;
    font-size: 0.78rem;
  }

  .av-reseau-zones {
    gap: 0;
    justify-content: space-between;
  }

  .av-reseau-zone {
    gap: 8px;
  }

  .av-reseau-zone__count {
    font-size: 1.2rem;
  }

  .av-reseau-map-line {
    left: 24px;
    right: 24px;
  }

  .av-reseau-cta {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .av-reseau-card__actions {
    flex-direction: column;
  }
}


.av-globe-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 48px;
  user-select: none;
}
#av-globe-canvas {
  display: block;
  width: 100% !important;
  cursor: grab;
}
#av-globe-canvas:active { cursor: grabbing; }
.av-globe-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.av-globe-leg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: #6b7280;
  text-transform: uppercase;
}
.av-globe-leg__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.av-globe-hint {
  position: absolute;
  bottom: 44px;
  right: 16px;
  font-size: 0.63rem;
  color: #374151;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  animation: av-hint 4s ease 1.8s forwards;
}
@keyframes av-hint {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}