/* DiscGolfLab : page Création de parcours (mobile first) */

/* ---------- Héro ---------- */
.pp-hero__side { display: grid; gap: 20px; }
.pp-hero .hl { color: #c6ebcf; }
.pp-hero::after { background: linear-gradient(180deg, rgba(10,22,14,.5) 0%, rgba(10,22,14,.12) 30%, rgba(10,22,14,.55) 55%, rgba(10,22,14,.88) 100%); }
@media (min-width: 961px) {
  .pp-hero .phero__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pp-hero .d1 { font-size: min(9.4cqi, 12rem); }
  .pp-hero__side { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
}
@media (max-width: 599px) { .phero .btns .btn { flex: 1 1 100%; } }

/* ---------- Budget : énoncé typographique + 4 faits ---------- */
.pp-budget__title { font-size: min(clamp(2.6rem, 12vw, 13rem), 11.6cqi); max-width: 13ch; }
.pp-budget__row { display: grid; gap: 32px; margin-top: clamp(36px, 6vw, 96px); }
.pp-facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.pp-facts li { display: grid; gap: 8px; align-content: start; padding: 20px 12px 24px 0; border-bottom: 1px solid var(--line); container-type: inline-size; }
.pp-facts li:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.pp-facts b { font-size: min(clamp(1.35rem, 5.6vw, 2.4rem), 15cqi); font-weight: 800; letter-spacing: -.025em; line-height: 1; font-variation-settings: "wdth" 100; color: var(--green); }
.pp-facts span { font-size: .95rem; line-height: 1.4; color: var(--muted); }
@media (min-width: 961px) {
  .pp-budget__row { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: start; gap: 48px; }
  .pp-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pp-facts li { padding: 26px 22px 30px; border-bottom: 0; }
  .pp-facts li:first-child { padding-left: 0; }
  .pp-facts li + li { border-left: 1px solid var(--line); padding-left: 22px; }
}

/* ---------- Étapes ---------- */
.pp-steplink { justify-self: start; color: #fff; margin-top: 6px; }

/* ---------- Accompagnement ---------- */
.pp-after { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: af; border-top: 1px solid rgba(255,255,255,.3); }
.pp-after li { counter-increment: af; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.pp-after li::before { content: counter(af, decimal-leading-zero); grid-row: span 2; font-weight: 800; font-size: .9rem; color: var(--sand-l); padding-top: .35em; }
.pp-after b { font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); letter-spacing: -.015em; line-height: 1.15; }
.pp-after span { color: rgba(255,255,255,.8); font-size: .97rem; }
#accompagnement .media img { object-position: 50% 40%; }

/* ---------- Dimensions du panier ---------- */
.pp-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 6px 0 0; border-top: 1.5px solid var(--ink); }
.pp-dims > div { padding: 16px 10px 16px 0; border-bottom: 1px solid var(--line); container-type: inline-size; }
.pp-dims > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.pp-dims dt { font-size: .85rem; font-weight: 600; color: var(--muted); }
.pp-dims dd { margin: 4px 0 0; font-size: min(clamp(2.4rem, 11vw, 4.6rem), 34cqi); font-weight: 800; letter-spacing: -.035em; line-height: .9; font-variation-settings: "wdth" 100; font-variant-numeric: tabular-nums; }
.pp-dims small { font-size: .38em; font-weight: 700; letter-spacing: 0; margin-left: .12em; color: var(--green); }
@media (min-width: 600px) {
  .pp-dims { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pp-dims > div { padding: 18px 12px 18px 14px; border-left: 1px solid var(--line); border-bottom: 0; }
  .pp-dims > div:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Aires de départ : comparateur en onglets ---------- */
.tees { display: grid; gap: 18px; }
.tees__tabs { display: grid; gap: 8px; }
.tees__tab {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  width: 100%; min-height: 64px; padding: 12px 18px; border-radius: 999px; text-align: left; cursor: pointer;
  border: 1.5px solid rgba(23,24,26,.18); background: rgba(255,255,255,.5); color: var(--ink);
  transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease);
}
.tees__tab:active { transform: scale(.98); }
.tees__tab i { font-size: .8rem; font-weight: 800; color: var(--green); }
.tees__tab b { font-size: 1.12rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.1; }
.tees__tab span { font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tees__tab:hover { border-color: var(--ink); }
.tees__tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tees__tab[aria-selected="true"] i { color: #9fd2ac; }
.tees__tab[aria-selected="true"] span { color: rgba(255,255,255,.7); }

.tees__panel { display: grid; gap: 22px; }
.tees__panel[hidden] { display: none; }
.js .tees__panel.is-enter .tees__main img, .js .tees__panel.is-enter .tees__swatch { animation: pp-zoom .7s var(--ease) both; }
.js .tees__panel.is-enter .tees__body > * { animation: pp-up .55s var(--ease) both; }
.js .tees__panel.is-enter .tees__body > :nth-child(2) { animation-delay: .05s; }
.js .tees__panel.is-enter .tees__body > :nth-child(3) { animation-delay: .1s; }
@keyframes pp-zoom { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes pp-up { from { transform: translate3d(0, 16px, 0); opacity: 0; } to { transform: none; opacity: 1; } }

.tees__media { position: relative; min-width: 0; }
.tees__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.tees__main img { width: 100%; height: 100%; object-fit: cover; }
.tees__main figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(23,24,26,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: .85rem; font-weight: 700; }
.tees__inset { position: absolute; right: 12px; bottom: 12px; width: 38%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 4px solid var(--sand-l); box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); }
.tees__inset img { width: 100%; height: 100%; object-fit: cover; }
.tees__swatch {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; padding: clamp(20px, 4vw, 44px); container-type: inline-size;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.22) 0 1.5px, transparent 2px) 0 0 / 23px 19px,
    radial-gradient(circle at 70% 60%, rgba(23,24,26,.18) 0 1.2px, transparent 1.8px) 0 0 / 17px 21px,
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.12) 0 1px, transparent 1.5px) 0 0 / 11px 13px,
    linear-gradient(160deg, #b9b4ab, #8f8a82 60%, #7b766f);
}
.tees__swatch span { font-size: min(36cqi, 12rem); font-weight: 800; letter-spacing: -.04em; line-height: .8; color: rgba(255,255,255,.92); font-variation-settings: "wdth" 100; }
.tees__body { display: grid; gap: 16px; align-content: center; container-type: inline-size; min-width: 0; }
.tees__body .checks { margin-top: 6px; }

@media (min-width: 961px) {
  .tees { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
  .tees__tabs { position: sticky; top: calc(var(--nav-h) + 24px); }
  .tees__tab { border-radius: var(--radius); grid-template-columns: 34px minmax(0, 1fr); padding: 18px 20px; }
  .tees__tab span { grid-column: 2; }
  .tees__panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
  .tees__main, .tees__swatch { aspect-ratio: auto; height: min(78vh, 760px); }
}

/* Gabarit d'un teepad 3,50 x 1,50 */
.pp-pad { display: grid; gap: 26px; margin-top: clamp(40px, 6vw, 88px); padding-top: clamp(28px, 4vw, 48px); border-top: 1.5px solid var(--ink); align-items: center; }
.pp-pad__draw { position: relative; padding: 0 0 30px 34px; width: 100%; max-width: 620px; }
.pp-pad__box {
  position: relative; aspect-ratio: 350 / 150; border-radius: 6px; display: grid; place-items: center;
  background: repeating-linear-gradient(90deg, #3f7f52 0 3px, #38724b 3px 6px); box-shadow: inset 0 0 0 6px #6b5544, 0 18px 30px -18px rgba(0,0,0,.45);
  transform-origin: 0 100%;
}
.pp-pad__box span { color: #fff; font-weight: 800; font-size: clamp(.95rem, .8rem + .8vw, 1.4rem); letter-spacing: -.01em; }
.pp-pad__w, .pp-pad__h { position: absolute; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.pp-pad__w { left: 34px; right: 0; bottom: 0; text-align: center; border-top: 1.5px solid var(--ink); padding-top: 6px; }
.pp-pad__h { left: 0; top: 0; bottom: 30px; width: 26px; border-right: 1.5px solid var(--ink); writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; }
.pp-pad__txt { font-size: var(--fs-lead); line-height: 1.38; max-width: 36ch; }
.pp-pad__txt b { font-weight: 800; }
.js .pp-pad .pp-pad__box { transform: scaleX(.2); transition: transform 1.2s var(--ease) .15s; }
.js .pp-pad.is-in .pp-pad__box { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .pp-pad .pp-pad__box { transform: none; transition: none; } .js .tees__panel.is-enter * { animation: none !important; } }
@media (min-width: 861px) { .pp-pad { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; } }

/* ---------- Signalétique : tee sign annoté ---------- */
.sign { display: grid; gap: 36px; align-items: center; }
.sign__stage { margin: 0; border-radius: var(--radius-lg); background: radial-gradient(120% 80% at 50% 30%, #fff 0%, var(--sand-l) 75%); padding: clamp(20px, 5vw, 64px) clamp(28px, 6vw, 80px); display: grid; gap: 14px; justify-items: center; }
.sign__obj { position: relative; width: 100%; max-width: 520px; }
.sign__obj img { width: 100%; border-radius: 8px; box-shadow: 0 30px 60px -28px rgba(23,24,26,.5); }
.sign__stage figcaption { font-size: .85rem; font-weight: 600; color: var(--muted); text-align: center; }
.sign .pin button { width: 30px; height: 30px; font-size: .8rem; background: var(--ink); box-shadow: 0 0 0 5px rgba(255,255,255,.7); }
.sign .pin button:hover, .sign .pin.is-on button { background: var(--green); box-shadow: 0 0 0 8px rgba(56,114,75,.35); transform: scale(1.15); }
.js .sign .pin button { animation: pp-pulse 2.6s var(--ease) infinite; }
.js .sign .pin.is-on button, .js .sign.is-touched .pin button { animation: none; }
@keyframes pp-pulse { 0%, 70%, 100% { box-shadow: 0 0 0 5px rgba(255,255,255,.7); } 35% { box-shadow: 0 0 0 11px rgba(255,255,255,.25); } }
@media (prefers-reduced-motion: reduce) { .js .sign .pin button { animation: none; } }
.sign__text { display: grid; gap: 22px; container-type: inline-size; min-width: 0; }
.sign .spec__item.is-on b { color: var(--green); }
@media (min-width: 961px) {
  .sign { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); }
  .sign__stage { position: sticky; top: calc(var(--nav-h) + 24px); }
  .sign__obj { max-width: min(460px, 60vh); }
}

/* Plan du parcours */
.plan { display: grid; gap: 14px; margin-top: clamp(64px, 9vw, 140px); }
.plan__text { display: grid; gap: 18px; container-type: inline-size; min-width: 0; margin-bottom: 14px; }
.plan__big { aspect-ratio: 2400 / 1484; background: #fff; }
.plan__small { aspect-ratio: 1400 / 1240; }
.plan figcaption { left: 12px; bottom: 12px; right: auto; padding: 7px 12px; border-radius: 999px; background: rgba(23,24,26,.62); text-shadow: none; }
@media (min-width: 961px) {
  .plan { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: end; }
  .plan__text { grid-column: 1; grid-row: 1; align-self: start; padding-right: 24px; }
  .plan__big { grid-column: 1 / -1; grid-row: 2; }
  .plan__small { grid-column: 2; grid-row: 1; }
}

/* ---------- Multigolf ---------- */
.pp-games { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-games li { padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); font-weight: 700; }
.pp-games li:first-child { background: var(--green); border-color: var(--green); }

/* ---------- Avantages ---------- */
.pp-adv .card--photo { min-height: clamp(420px, 62svh, 640px); }
.pp-adv .card--photo h3 { font-size: min(clamp(2rem, 9vw, 4.4rem), 13cqi); letter-spacing: -.03em; line-height: .92; }
.pp-adv .card--photo p { max-width: 44ch; }

/* ---------- Activité économique ---------- */
.pp-eco { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-l); }
.pp-eco li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; padding: 26px 0; border-bottom: 1px solid var(--line-l); container-type: inline-size; }
.pp-eco__n { font-size: var(--fs-small); font-weight: 700; color: #9fd2ac; padding-top: .45em; }
.pp-eco h3 { font-size: min(clamp(1.8rem, 7.6vw, 4.6rem), 8.6cqi); letter-spacing: -.028em; line-height: .95; font-variation-settings: "wdth" 100; }
.pp-eco p { grid-column: 2; color: rgba(255,255,255,.75); max-width: 52ch; }
@media (min-width: 961px) {
  .pp-eco li { grid-template-columns: 80px minmax(0, 1.3fr) minmax(0, 1fr); align-items: baseline; gap: 32px; padding: 34px 0; }
  .pp-eco p { grid-column: auto; }
}

/* ---------- Checklist + logos + plaquette ---------- */
.pp-opt { align-items: start; }
.pp-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.pp-logos img { height: clamp(40px, 5vw, 60px); width: auto; }
.pp-checks { list-style: none; padding: 0; border-top: 1.5px solid var(--ink); }
.pp-checks li { position: relative; display: grid; gap: 2px; padding: 18px 0 18px 46px; border-bottom: 1px solid var(--line); }
.pp-checks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 30px; height: 30px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pp-checks b { font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); letter-spacing: -.015em; line-height: 1.15; }
.pp-checks span { color: var(--muted); }
.pp-dl { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; text-decoration: none; transition: background-color .25s; }
.pp-dl:hover { background: var(--green-d); }
.pp-dl__ic { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: grid; place-items: center; transition: transform .3s var(--ease); }
.pp-dl:hover .pp-dl__ic { transform: translateY(3px); }
.pp-dl__ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp-dl__t { display: grid; gap: 2px; min-width: 0; }
.pp-dl__t b { font-size: 1.1rem; line-height: 1.2; }
.pp-dl__t small { color: rgba(255,255,255,.65); font-size: .85rem; }

/* ---------- CTA final ---------- */
.pp-cta .d1 { max-width: 11ch; }
.pp-cta .statement__bg img { object-position: 30% 50%; }
@media (max-width: 599px) {
  .pp-cta .btn { flex: 1 1 100%; }
  .pp-cta .btn--glass { font-size: .95rem; padding: 0 18px; }
}

/* Plan de Bussy-Saint-Georges : affiché en entier, légende hors de l'image */
.plan__big { aspect-ratio: 1600 / 908; }
.plan__big img { object-fit: contain; }
.plan__big figcaption { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
