/* =========================================
   ESPACE TIVOLI — PAGE ACCOMPAGNEMENTS
   Version compacte
========================================= */

:root {
  --ivoire: #fbf8f1;
  --texte: rgb(68, 68, 68);
  --texte-doux: #777875;
  --terracotta-texte: #c66f53;
  --ligne-terra: #d98970;

  --sauge: #d7e2d2;
  --sable: #f3dfb8;
  --terra: #edb39d;

  --ombre: 0 6px 14px rgba(55, 45, 35, 0.07);
  --ombre-hover: 0 11px 22px rgba(55, 45, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--texte);
  font-family: "Poppins", Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 20%, rgba(80, 65, 48, 0.03) 0 1px, transparent 1.2px),
    radial-gradient(circle at 78% 64%, rgba(80, 65, 48, 0.02) 0 1px, transparent 1.2px),
    var(--ivoire);
  background-size: 24px 24px, 31px 31px, auto;
}

.accomp-page {
  width: 100%;
}

.accomp-shell {
  max-width: 930px;
  margin: 0 auto;
  padding: 16px 10px 18px;
}

/* EN-TÊTE */

.accomp-header {
  text-align: center;
  margin-bottom: 28px;
}

.accomp-header h1 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.accomp-place-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 8px auto 8px;
}

.accomp-place-line span {
  width: 105px;
  height: 1px;
  background: var(--ligne-terra);
}

.accomp-place-line p {
  margin: 0;
  color: var(--terracotta-texte);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  letter-spacing: 0.17em;
}

.accomp-intro {
  margin: 8px auto 0;
  max-width: 560px;
  color: var(--texte-doux);
  font-size: 13px;
  font-weight: 300;
}

/* PLANNING */

.accomp-mobile-hint {
  display: none;
  margin: -12px 0 8px;
  text-align: center;
  color: var(--texte-doux);
  font-size: 13px;
}

.accomp-scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: 2px 4px 16px;
  -webkit-overflow-scrolling: touch;
}

.accomp-row {
  width: 870px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 auto;
  padding: 4px 2px 8px;
}

.accomp-day {
  width: 136px;
  flex: 0 0 136px;
  position: relative;
}

/* Décalage organique très léger */

.day-1 { transform: translateY(0); }
.day-2 { transform: translateY(5px); }
.day-3 { transform: translateY(-3px); }
.day-4 { transform: translateY(6px); }
.day-5 { transform: translateY(-2px); }
.day-6 { transform: translateY(4px); }

/* JOURS */

.accomp-day h2 {
  margin: 0 0 6px;
  text-align: center;
  font-family: "Lora", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.accomp-day-line {
  width: 52px;
  height: 2px;
  margin: 0 auto 13px;
  background: var(--ligne-terra);
  opacity: 0.9;
}

/* MATIN / APRÈS-MIDI */

.period-label {
  margin: 0 0 6px;
  color: #8a8884;
  text-align: center;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.period-label + .accomp-card {
  margin-bottom: 14px;
}

/* BULLES */

.accomp-card {
  min-height: 82px;
  padding: 9px 7px;
  margin-top: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 13px;
  color: var(--texte);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--ombre);

  position: relative;
  overflow: hidden;

  transition:
    transform 560ms cubic-bezier(.18, .85, .22, 1),
    box-shadow 560ms ease,
    filter 560ms ease;
}

.accomp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 52% 0%, rgba(255,255,255,.28), transparent 48%);
  pointer-events: none;
}

.accomp-card:hover,
.accomp-card:focus-visible {
  transform: translateY(-3px) rotate(-0.3deg);
  box-shadow: var(--ombre-hover);
  filter: saturate(1.02);
  outline: none;
}

.accomp-card:active {
  transform: translateY(-1px) scale(.99);
}

.color-sage { background: var(--sauge); }
.color-sand { background: var(--sable); }
.color-terra { background: var(--terra); }

.practice,
.person {
  position: relative;
  z-index: 1;
}

.practice {
  display: block;
  font-family: "Lora", Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.08;
}

.person {
  display: block;
  margin-top: 6px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 9.5px;
  font-weight: 300;
  line-height: 1.15;
}

/* Décalages organiques des bulles */

.shift-a { margin-left: 0; margin-right: 2px; }
.shift-b { margin-left: 3px; margin-right: -1px; }
.shift-c { margin-left: -3px; margin-right: 3px; }
.shift-d { margin-left: 2px; margin-right: 0; }

/* PIED DE PAGE */

.accomp-footer {
  margin-top: 10px;
  text-align: center;
}

.appointment-only {
  margin: 0 0 4px;
  color: var(--terracotta-texte);
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  font-weight: 500;
}

.time-note {
  margin: 0;
  color: #99938c;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* MOBILE */

@media (max-width: 860px) {
  .accomp-shell {
    max-width: none;
    padding: 16px 0 14px;
  }

  .accomp-header {
    padding: 0 18px;
    margin-bottom: 26px;
  }

  .accomp-place-line {
    gap: 12px;
  }

  .accomp-place-line span {
    width: 58px;
  }

  .accomp-mobile-hint {
    display: block;
  }

  .accomp-scroll {
    padding-left: 16px;
    padding-right: 16px;
  }

  .accomp-row {
    margin: 0;
  }
}
