/* ===== Apolonya · Contact — quatre arches, un message qui se compose, un chemin dessiné ===== */
.apo-c-hero, .apo-c-guide, .apo-c-route { --c-pin: #b0583e; --c-paper: #fbf8f3; --c-line: #dccfb2; }
.apo-c-ic { display: block; width: 24px; height: 24px; }

/* ---- Hero: a calm title, one arch photo, four fine lines ---- */
.apo-c-hero { display: grid; align-items: center; min-height: 100vh; padding: clamp(140px, 19vh, 190px) 6vw clamp(60px, 9vh, 100px); background: radial-gradient(ellipse at 84% 12%, #f4e7c8 0%, rgba(244, 231, 200, 0) 52%), var(--v-ivory); }
.apo-c-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 110px); align-items: center; max-width: 1260px; width: 100%; margin: 0 auto; }
.apo-vow .apo-c-hero-text .apo-v-pre { justify-content: flex-start; }
.apo-vow .apo-c-hero-text .apo-v-pre::before { content: none; }
.apo-vow .apo-c-hero-text .apo-v-h.apo-v-h-xl { font-size: clamp(46px, 5.4vw, 88px) !important; }
.apo-c-hero-text .apo-v-lead { max-width: 520px; margin: 0 0 22px; }
.apo-c-reply { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 34px; padding: 10px 20px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font: 400 11px/1.4 var(--v-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--v-ink-2); }
.apo-c-reply i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #6f8a4f; animation: apo-c-pulse 2.4s ease-in-out infinite; }
@keyframes apo-c-pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 138, 79, .5); } 70% { box-shadow: 0 0 0 8px rgba(111, 138, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 138, 79, 0); } }
.apo-c-rows { max-width: 580px; border-bottom: 1px solid var(--c-line); }
.apo-c-row { border-top: 1px solid var(--c-line); animation: apo-c-rise .9s calc(.2s + var(--i) * .1s) var(--v-ease) both; }
@keyframes apo-c-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.apo-c-row-link { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 44px; align-items: center; gap: 18px; padding: 16px 6px; color: var(--v-ink); transition: padding .5s var(--v-ease), background .4s; }
.apo-c-row-link:hover, .apo-c-row-link:focus-visible { padding-left: 18px; background: rgba(244, 231, 200, .5); }
.apo-c-row-ic { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--v-gold); border-radius: 50%; transition: background .4s, color .4s, border-color .4s; }
.apo-c-row-link:hover .apo-c-row-ic { background: var(--v-gold-t); border-color: var(--v-gold-t); color: #fff; }
.apo-c-row-t b { display: block; font: 400 clamp(21px, 1.8vw, 26px)/1.15 var(--v-serif); color: var(--v-ink); }
.apo-c-row-t small { display: block; margin-top: 4px; font: 400 10.5px/1.5 var(--v-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--v-gold-t); }
.apo-c-row-d { font: italic 400 16px/1.3 var(--v-serif); color: var(--v-ink-2); white-space: nowrap; }
.apo-c-row-go { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: 50%; transition: transform .5s var(--v-ease), background .4s, color .4s; }
.apo-c-row-go .apo-c-ic { width: 20px; height: 20px; }
.apo-c-row-link:hover .apo-c-row-go { transform: translateX(6px); background: var(--v-ink); border-color: var(--v-ink); color: #fff; }
.apo-vow .apo-c-copy { display: inline-flex; align-items: center; margin: 20px 0 0; min-height: 44px; padding: 0 22px; border: 1px solid var(--v-gold); border-radius: 999px; background: none; color: var(--v-ink); cursor: pointer; font: 400 10.5px/1 var(--v-sans); letter-spacing: .2em; text-transform: uppercase; transition: background .35s, color .35s; }
.apo-c-copy:hover { background: var(--v-gold-t); border-color: var(--v-gold-t); color: #fff; }
.apo-c-row-link:focus-visible, .apo-c-copy:focus-visible, .apo-c-chip:focus-visible, .apo-c-dot:focus-visible, .apo-c-send:focus-visible, .apo-c-count button:focus-visible { outline: 2px solid var(--c-pin); outline-offset: 3px; }
.apo-c-hero-art { position: relative; }
.apo-c-hero-arch { margin: 0; aspect-ratio: 4 / 5.1; overflow: hidden; border-radius: 999px 999px 0 0; box-shadow: 0 60px 100px -60px rgba(47, 41, 35, .65); }
.apo-c-hero-arch img { height: 100% !important; }
.apo-c-hero-round { position: absolute; left: -12%; bottom: -5%; width: 36%; aspect-ratio: 1; margin: 0; overflow: hidden; border: 10px solid var(--v-ivory); border-radius: 50%; box-shadow: 0 30px 60px -36px rgba(47, 41, 35, .6); }
.apo-c-hero-round img { height: 100% !important; }

/* ---- Guide ---- */
.apo-c-guide { padding: var(--v-pad); }
.apo-c-g-head { text-align: center; max-width: 900px; margin: 0 auto clamp(36px, 6vh, 64px); }
.apo-c-g-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 90px); max-width: 1260px; margin: 0 auto; align-items: center; }
.apo-c-card { display: flex; flex-direction: column; min-height: 460px; padding: clamp(26px, 3.4vw, 52px); background: var(--c-paper); border: 1px solid var(--c-line); }
.apo-c-dots { display: flex; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.apo-c-dots li { flex: 1; margin: 0; padding: 0; list-style: none; }
.apo-vow .apo-c-dot { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 4px; border: 0; border-bottom: 2px solid var(--c-line); border-radius: 0 !important; background: none; box-shadow: none !important; color: var(--v-ink-2); cursor: pointer; font: 400 10.5px/1 var(--v-sans); letter-spacing: .2em; text-transform: uppercase; transition: color .3s, border-color .4s; }
.apo-c-dot b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; font: italic 400 13px/1 var(--v-serif); letter-spacing: 0; }
.apo-c-dot.is-done { color: var(--v-gold-t); border-bottom-color: var(--v-gold); }
.apo-c-dot.is-on { color: var(--v-ink); border-bottom-color: var(--c-pin); }
.apo-c-dot.is-on b { background: var(--c-pin); border-color: var(--c-pin); color: #fff; }
.apo-c-step { flex: 1; }
.apo-c-step[hidden] { display: none; }
.apo-c-step.is-on { animation: apo-c-in .6s var(--v-ease) both; }
@keyframes apo-c-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.apo-c-step .apo-v-h { margin: 0 0 22px; }
.apo-c-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.apo-vow .apo-c-chip { position: relative; display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 10px 18px; border: 1px solid var(--v-gold); border-radius: 999px !important; background: none; box-shadow: none !important; color: var(--v-ink); cursor: pointer; text-align: center; font: 400 14.5px/1.25 var(--v-sans); letter-spacing: .02em; transition: background .35s, color .35s, border-color .35s, transform .4s var(--v-ease); }
.apo-c-chip:hover { background: rgba(179, 147, 88, .14); transform: translateY(-2px); }
.apo-c-chip[aria-checked="true"] { background: var(--v-gold-t); border-color: var(--v-gold-t); color: #fff; }
.apo-c-chip[aria-checked="true"]::after { content: '✓'; position: absolute; right: 16px; font-size: 13px; }
.apo-c-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.apo-c-wide { grid-column: 1 / -1; }
.apo-c-guide label > span, .apo-c-count > span { display: block; margin-bottom: 6px; font: 400 10.5px/1.5 var(--v-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--v-gold-t); }
.apo-c-guide input[type="date"], .apo-c-guide input[type="text"], .apo-c-guide textarea { width: 100% !important; height: auto !important; margin: 0 !important; padding: 12px 0 !important; border: 0 !important; border-bottom: 1px solid var(--v-gold) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--v-ink) !important; font: 300 17px/1.5 var(--v-sans) !important; resize: vertical; }
.apo-c-guide input:focus, .apo-c-guide textarea:focus { outline: none; border-bottom-color: var(--c-pin) !important; box-shadow: 0 1px 0 var(--c-pin) !important; }
.apo-c-count > div { display: flex; align-items: center; gap: 14px; }
.apo-vow .apo-c-count button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--v-gold); border-radius: 50% !important; background: none; box-shadow: none !important; color: var(--v-ink); font: 300 22px/1 var(--v-sans); cursor: pointer; transition: background .3s, color .3s; }
.apo-c-count button:hover { background: var(--v-gold-t); color: #fff; }
.apo-c-count output { min-width: 34px; text-align: center; font: 400 28px/1 var(--v-serif); }
.apo-c-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.apo-vow .apo-c-back, .apo-vow .apo-c-next { min-height: 50px; padding: 0 26px; border: 1px solid var(--v-gold); border-radius: 999px !important; background: none; box-shadow: none !important; color: var(--v-ink); cursor: pointer; font: 400 11px/1 var(--v-sans); letter-spacing: .22em; text-transform: uppercase; transition: background .35s, color .35s; }
.apo-vow .apo-c-next { margin-left: auto; background: var(--v-gold-t); border-color: var(--v-gold-t); color: #fff; }
.apo-c-next:hover { background: transparent; color: var(--v-ink); }
.apo-c-back:hover { background: rgba(179, 147, 88, .14); }
.apo-c-back[hidden], .apo-c-next[hidden] { display: none; }

/* the phone where the message builds itself */
.apo-c-phone { width: min(100%, 390px); margin: 0 auto; border: 10px solid var(--v-sand); border-radius: 46px; background: var(--c-paper); box-shadow: 0 60px 90px -56px rgba(47, 41, 35, .6); overflow: hidden; }
.apo-c-phone-bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--c-line); background: #fff; }
.apo-c-phone-mono { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--v-gold-t); color: #fff; font: italic 400 18px/1 var(--v-serif); }
.apo-c-phone-name { font: 500 14px/1.2 var(--v-sans); letter-spacing: .04em; color: var(--v-ink); }
.apo-c-phone-state { margin-left: auto; font: 400 10px/1 var(--v-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--v-ink-2); }
.apo-c-phone-body { min-height: 270px; padding: 22px 18px; background: linear-gradient(180deg, var(--v-linen), var(--c-paper)); }
.apo-c-bubble { max-width: 92%; margin-left: auto; padding: 14px 18px; border-radius: 20px 20px 6px 20px; background: var(--v-champ); font: 300 15.5px/1.55 var(--v-sans); color: var(--v-ink); animation: apo-c-pop .5s var(--v-ease) both; }
.apo-c-bubble p { margin: 0 0 6px; font: inherit; color: inherit; }
.apo-c-bubble p:last-child { margin-bottom: 0; }
.apo-c-bubble .apo-c-ghost { margin-top: 10px; font-style: italic; opacity: .6; }
@keyframes apo-c-pop { from { opacity: .4; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.apo-c-sends { display: grid; gap: 8px; padding: 16px 18px 6px; }
.apo-vow .apo-c-send { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border: 1px solid var(--v-gold); border-radius: 999px !important; background: none; box-shadow: none !important; color: var(--v-ink); cursor: pointer; font: 400 11px/1 var(--v-sans); letter-spacing: .2em; text-transform: uppercase; transition: background .35s, color .35s; }
.apo-c-send .apo-c-ic { width: 20px; height: 20px; }
.apo-c-send:hover { background: var(--v-gold-t); border-color: var(--v-gold-t); color: #fff; }
.apo-vow .apo-c-send-main { background: var(--c-pin); border-color: var(--c-pin); color: #fff; }
.apo-c-send-main:hover { background: transparent; color: var(--c-pin); border-color: var(--c-pin); }
.apo-c-done { display: block; min-height: 1.6em; padding: 4px 18px 16px; text-align: center; font: italic 400 15px/1.5 var(--v-serif); color: var(--v-gold-t); }

/* ---- Route ---- */
.apo-c-route { padding: var(--v-pad); background: var(--v-ivory); }
.apo-c-route-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 100px); max-width: 1260px; margin: 0 auto; align-items: center; }
.apo-c-route-pic { position: relative; margin: 0; }
.apo-c-route-arch { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; box-shadow: 0 50px 90px -56px rgba(47, 41, 35, .6); }
.apo-c-route-arch img { height: 100% !important; }
.apo-c-route-small { position: absolute; right: -9%; bottom: -5%; width: 38%; aspect-ratio: 1; overflow: hidden; border: 10px solid var(--v-ivory); border-radius: 50%; box-shadow: 0 30px 60px -36px rgba(47, 41, 35, .6); }
.apo-c-route-small img { height: 100% !important; }
.apo-c-route-pic figcaption { margin-top: 18px; font: 400 10.5px/1.6 var(--v-sans); letter-spacing: .28em; text-transform: uppercase; color: var(--v-gold-t); }
.apo-c-route-text .apo-v-pre { justify-content: flex-start; }
.apo-c-route-text .apo-v-pre::before { content: none; }
.apo-c-stops { margin: 30px 0 38px; padding: 0; list-style: none; }
.apo-c-stop { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 20px; margin: 0; padding: 0 0 28px; list-style: none; }
.apo-c-stop::before { content: ''; position: absolute; left: 20px; top: 44px; bottom: 2px; width: 1px; background: repeating-linear-gradient(180deg, var(--v-gold) 0 4px, transparent 4px 9px); transform: scaleY(0); transform-origin: top; transition: transform .9s calc(var(--i) * .4s + .3s) var(--v-ease); }
.apo-c-route-text.is-in .apo-c-stop::before, .apo-static .apo-c-stop::before { transform: scaleY(1); }
.apo-c-stop-end::before { display: none; }
.apo-c-node { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--v-gold); border-radius: 50%; background: #fff; }
.apo-c-node::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--v-gold); }
.apo-c-stop-end .apo-c-node { background: var(--c-pin); border-color: var(--c-pin); color: #fff; }
.apo-c-stop-end .apo-c-node::after { content: none; }
.apo-c-node .apo-c-ic { width: 22px; height: 22px; }
.apo-c-time { display: inline-block; margin-right: 12px; font: italic 400 16px/1 var(--v-serif); color: var(--v-gold-t); }
.apo-c-stop b { font: 400 clamp(20px, 1.7vw, 25px)/1.2 var(--v-serif); color: var(--v-ink); }
.apo-c-stop p { margin: 4px 0 0; font-size: 15px; line-height: 1.7; }
.apo-c-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0 0 30px; padding: 0; list-style: none; }
.apo-c-facts li { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 18px 0; list-style: none; border-top: 1px solid var(--c-line); }
.apo-c-facts .apo-c-ic { flex: none; margin-top: 2px; color: var(--v-gold-t); }
.apo-c-facts b { display: block; font: 400 17px/1.3 var(--v-serif); color: var(--v-ink); }
.apo-c-facts span { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.6; color: var(--v-ink-2); }

@media (max-width: 1000px) {
  .apo-c-hero-in { grid-template-columns: 1fr; }
  .apo-c-hero-art { max-width: 420px; margin: 0 auto; }
  .apo-c-hero-round { left: -6%; }
  .apo-c-g-grid, .apo-c-route-in { grid-template-columns: 1fr; }
  .apo-c-route-pic { max-width: 420px; }
}
@media (max-width: 560px) {
  .apo-c-hero { padding-left: 20px; padding-right: 20px; min-height: 0; }
  .apo-c-row-link { grid-template-columns: 46px minmax(0, 1fr) 40px; gap: 14px; }
  .apo-c-row-ic { width: 46px; height: 46px; }
  .apo-c-row-d { display: none; }
  .apo-c-row-go { width: 40px; height: 40px; }
  .apo-c-chips, .apo-c-fields { grid-template-columns: 1fr; }
  .apo-c-dot span { display: none; }
  .apo-c-facts { grid-template-columns: 1fr; }
  .apo-c-route-small { right: -4%; }
  .apo-c-phone { border-width: 8px; border-radius: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .apo-c-ch, .apo-c-step.is-on, .apo-c-bubble, .apo-c-reply i { animation: none; }
  .apo-c-stop::before { transform: scaleY(1); transition: none; }
}
