/* Partage de la page d'accueil. */
.ve-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font: 700 16px/1.4 Inter, Arial, sans-serif;
  cursor: pointer;
}
.ve-share-button:hover,
.ve-share-button[aria-expanded="true"] {
  background: #fff;
  color: #087a9b;
}
.ve-share-button svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.ve-home-content .ve-share-button {
  margin: 8px 0 20px;
  border-color: #087a9b;
  background: #fff;
  color: #087a9b;
  width: 100%;
}
.ve-share-panel {
  position: fixed;
  z-index: 25000;
  width: min(290px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid #dbe5ec;
  border-radius: 18px;
  background: #fff;
  color: #10253f;
  box-shadow: 0 12px 40px rgba(16, 37, 63, .18);
  font: 400 16px/1.4 Inter, Arial, sans-serif;
}
.ve-share-panel[hidden] {
  display: none;
}
.ve-share-panel h2 {
  margin: 0 0 12px;
  font: 700 17px/1.4 Inter, Arial, sans-serif;
}
.ve-share-panel a,
.ve-share-panel button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 10px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #10253f;
  text-decoration: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.ve-share-panel a:hover,
.ve-share-panel button:hover {
  background: #edf6f8;
}
.ve-share-panel .ve-share-symbol {
  width: 24px;
  color: #087a9b;
  font-size: 20px;
  text-align: center;
}
.ve-share-status {
  margin: 10px 0 0;
  font-size: 13px;
  color: #526779;
}
.ve-share-button:focus-visible,
.ve-share-panel a:focus-visible,
.ve-share-panel button:focus-visible {
  outline: 3px solid #ff7657;
  outline-offset: 3px;
}

/* Menu etendu : deux colonnes, defilement sur les petits ecrans. */
.ve-share-button {
  margin: 12px 0;
  border-color: #087a9b;
  background: #fff;
  color: #087a9b;
}
.hero-actions .ve-share-button {
  margin: 0;
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.hero-actions .ve-share-button:hover,
.hero-actions .ve-share-button[aria-expanded="true"] {
  background: #fff;
  color: #087a9b;
}
.ve-share-panel {
  width: min(410px, calc(100vw - 32px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ve-share-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}
.ve-share-panel .ve-share-options a,
.ve-share-panel .ve-share-options button {
  min-height: 46px;
  font-size: 14px;
}
.ve-share-panel > button {
  margin-top: 10px;
  justify-content: center;
  background: #edf6f8;
}
.ve-share-fallback {
  padding: 12px 20px;
  text-align: right;
}
@media (max-width: 360px) {
  .ve-share-options { grid-template-columns: 1fr; }
}

/* Encadrement commun des introductions sur telephone. */
@media (max-width: 700px) {
  .ve-share-intro {
    margin: 18px 0 26px;
    padding: 24px 20px;
    border: 1px solid #dbe5ec;
    border-radius: 24px;
    background: linear-gradient(135deg, #f3fbff, #fff 65%, #fff8f3);
    box-shadow: 0 8px 24px rgba(16, 37, 63, .06);
    color: #526779;
    text-align: left;
  }
  .ve-share-intro h1 {
    margin: 0 0 16px;
    color: #087a9b;
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.2;
    text-shadow: none;
  }
  .ve-share-intro h1 em { color: inherit; }
  .ve-share-intro p {
    color: #526779;
    font-size: 17px;
    line-height: 1.65;
    text-shadow: none;
  }
  .ve-share-intro .ve-share-button {
    color: #087a9b;
    background: #fff;
    border-color: #087a9b;
  }
}

/* Carte de presentation mobile : destination prioritaire, partage discret. */
@media (max-width: 700px) {
  html.ve-phone-page body .ve-page-content,
  body .ve-share-intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px 18px;
    border: 1px solid #dce9ee;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 37, 63, .055);
  }
  html.ve-phone-page body .ve-page-content .ve-page-kicker {
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .08em;
  }
  html.ve-phone-page body .ve-page-content .ve-page-mobile-heading,
  html.ve-phone-page body .ve-page-content .ve-page-title {
    margin: 0 0 12px;
    font-size: clamp(24px, 6.8vw, 31px);
    line-height: 1.18;
    letter-spacing: -.025em;
  }
  html.ve-phone-page body .ve-page-content .ve-page-description {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #627481;
  }
  html.ve-phone-page body .ve-page-content .route-select,
  html.ve-phone-page body .ve-page-content .guide-country-nav {
    order: 1;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  html.ve-phone-page body .ve-page-content .guide-country-control {
    margin-top: 0;
  }
  html.ve-phone-page body .ve-page-content select {
    min-height: 52px;
    border-radius: 14px;
  }
  html.ve-phone-page body .ve-page-content .ve-share-button,
  body .ve-share-intro .ve-share-button,
  body .ve-home-content .ve-share-button {
    order: 2;
    align-self: flex-end;
    width: auto;
    min-height: 44px;
    margin: 14px 0 0 auto;
    padding: 8px 13px;
    border: 1px solid #d8e9ee;
    border-radius: 12px;
    background: #f3f8fa;
    color: #087a9b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    gap: 8px;
  }
  html.ve-phone-page body .ve-page-content .ve-share-button svg,
  body .ve-share-intro .ve-share-button svg {
    width: 17px;
    height: 17px;
  }
}

/* Informations utiles et reperes de decouverte. */
.ve-intro-discover { margin: 0 0 20px; }
.ve-intro-detail {
  margin: 0 0 14px;
  color: #627481;
  font: 400 15px/1.65 Inter, Arial, sans-serif;
}
.ve-intro-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ve-intro-highlights li {
  padding: 6px 10px;
  border-radius: 9px;
  background: #edf7f8;
  color: #08758c;
  font: 600 11px/1.4 Inter, Arial, sans-serif;
}
.ve-intro-highlights li:first-child { background: #fff1e9; color: #a34c35; }

/* Ordinateur : meme rangee et meme bouton secondaire que l'accueil. */
@media (min-width: 701px) {
  .ve-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 24px;
  }
  .ve-share-actions > .ve-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: 10px;
    min-height: 52px;
    margin: 0;
    padding: 14px 24px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font: 700 16px/1.4 Inter, Arial, sans-serif;
    box-shadow: none;
    cursor: pointer;
  }
  .ve-share-actions > .ve-share-button:hover,
  .ve-share-actions > .ve-share-button[aria-expanded="true"] {
    background: #fff;
    color: #087a9b;
  }
  .ve-share-actions > .btn,
  .ve-share-actions > .pv-button {
    margin-top: 0;
    margin-bottom: 0;
  }
  .ve-share-actions.ve-share-fallback > .ve-share-button {
    background: #edf6f8;
    border-color: #d2e6ec;
    color: #087a9b;
  }
}

/* Mobile : carte de partage sous la photo, dans le flux de la page. */
.ve-share-mobile-bar { display: none; }
@media (max-width: 700px) {
  body .ve-share-button { display: none !important; }
  body .ve-share-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: calc(100% - 32px);
    min-height: 76px;
    margin: 14px 16px 6px;
    padding: 14px;
    border: 1px solid #deebef;
    border-left: 3px solid #ff7657;
    border-radius: 17px;
    background: #fff;
    color: #10253f;
    box-shadow: 0 5px 18px rgba(16, 37, 63, .045);
    box-sizing: border-box;
  }
  .ve-share-mobile-caption {
    min-width: 0;
    text-align: left;
    font-family: Inter, Arial, sans-serif;
  }
  .ve-share-mobile-caption strong {
    display: block;
    margin-bottom: 4px;
    color: #10253f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
  }
  .ve-share-mobile-caption span {
    display: block;
    color: #627481;
    font-size: 11px;
    line-height: 1.5;
  }
  body .ve-share-mobile-bar .ve-share-button {
    display: inline-flex !important;
    flex: none;
    min-height: 44px;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid #c9e1e8;
    border-radius: 999px;
    background: #edf7f9;
    color: #087a9b;
    box-shadow: none;
    font: 600 13px/1.4 Inter, Arial, sans-serif;
    gap: 7px;
  }
  body .ve-share-mobile-bar svg { width: 17px; height: 17px; }
  body .ve-share-mobile-bar .ve-share-button:hover {
    background: #087a9b;
    color: #fff;
  }
}

/* Mobile : recherche sous la photo, partage dans la presentation. */
@media (max-width: 700px) {
  body .ve-page-content > .ve-share-mobile-bar,
  body .ve-home-content > .ve-share-mobile-bar,
  body .ve-share-intro > .ve-share-mobile-bar {
    width: 100%;
    min-height: 44px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  body .ve-share-mobile-caption {
    flex: 1;
    color: #087a9b;
    font: 700 11px/1.4 Inter, Arial, sans-serif;
    letter-spacing: .05em;
  }
  html.ve-phone-page body .ve-share-mobile-bar .ve-page-kicker,
  body .ve-share-mobile-bar .ve-home-kicker {
    margin: 0;
    font-size: 10px;
    letter-spacing: .05em;
  }
  body .ve-share-mobile-bar .ve-share-button {
    padding: 8px 11px;
    min-height: 44px;
    font-size: 12px;
    border-radius: 12px;
  }
}

/* Ligne commune : le texte et le bouton partagent le meme centre vertical. */
@media (max-width: 700px) {
  body .ve-share-mobile-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
  }
  body .ve-share-mobile-bar .ve-share-mobile-caption {
    display: block;
    align-self: center;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  body .ve-share-mobile-bar .ve-share-kicker {
    position: relative;
    display: block;
    margin: 0;
    padding: 0 0 0 29px;
    color: #087a9b;
    font: 800 10px/1.5 Inter, Arial, sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
  body .ve-share-kicker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: #ff7657;
    transform: translateY(-50%);
  }
  body .ve-share-mobile-bar > .ve-share-button {
    align-self: center !important;
    justify-self: end;
    margin: 0 !important;
    transform: none !important;
    white-space: nowrap;
  }
}
