/* A navigable legal document within the shared Atelier shell. */
.poupin-terms-page .poupin-shell { overflow: clip; }
.pt-page .pg-heading { padding-block: 24px 38px; }
.pt-page h1 { max-width: 870px; font-size: clamp(43px, 5vw, 68px); }
.pt-page .pt-intro { margin: 22px 0 0; color: var(--pg-muted); font-size: 17px; }
.pt-page .pt-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; align-items: start; padding-block: 42px 50px; }
.pt-page .pt-sidebar { position: sticky; top: 24px; }
.admin-bar .pt-page .pt-sidebar { top: 56px; }
.pt-page .pt-toc { border-top: 2px solid var(--pg-gold); }
.pt-page .pt-toc summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 60px; padding: 15px 0; cursor: pointer; list-style: none; font: 500 27px/1.2 'Cormorant Garamond', Georgia, serif; }
.pt-page .pt-toc summary::-webkit-details-marker { display: none; }
.pt-page .pt-toggle::after { content: '−'; color: var(--pg-gold); font: 400 24px/1 'Manrope', sans-serif; }
.pt-page .pt-toc:not([open]) .pt-toggle::after { content: '+'; }
.pt-page .pt-toc nav { max-height: calc(100vh - 125px); max-height: calc(100dvh - 125px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--pg-line) transparent; }
.pt-page .pt-toc ol { list-style: none; margin: 0; padding: 0 4px 0 0; }
.pt-page .pt-toc li { margin: 0; border-bottom: 1px solid var(--pg-line); }
.pt-page .pt-toc a { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; padding: 12px 8px; min-height: 44px; font-size: 13px; line-height: 1.5; color: var(--pg-muted); text-decoration: none; }
.pt-page .pt-toc a:hover, .pt-page .pt-toc a[aria-current="location"] { color: var(--pg-ink); background: var(--pg-sand); }
.pt-page .pt-toc-number { color: var(--pg-gold); font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.pt-page .pt-label { display: block; text-transform: lowercase; }
.pt-page .pt-label::first-letter { text-transform: uppercase; }
.pt-page .pt-document { min-width: 0; }
.pt-page .pt-contact { padding: 28px 30px; background: var(--pg-sand); border-left: 2px solid var(--pg-gold); margin-bottom: 44px; font-size: 15px; line-height: 1.8; }
.pt-page .pt-contact p { text-align: left !important; }
.pt-page .pt-contact > p:first-child { font: 500 28px/1.2 'Cormorant Garamond', Georgia, serif; margin-bottom: 14px; text-transform: lowercase; }
.pt-page .pt-contact > p:first-child::first-letter { text-transform: uppercase; }
.pt-page .pt-contact strong { font-weight: 500; }
.pt-page .pt-section { padding-block: 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--pg-line); }
.pt-page .pt-section-heading { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: baseline; gap: 15px; margin-bottom: 22px; }
.pt-page .pt-section-number { color: var(--pg-gold); font: 500 26px/1 'Cormorant Garamond', Georgia, serif; }
.pt-page .pt-section h2 { font-size: clamp(30px, 2.6vw, 37px); line-height: 1.15; margin: 0; scroll-margin-top: 32px; }
.pt-page .pt-copy { color: #514940; font-size: 16px; line-height: 1.85; padding-left: 55px; }
.pt-page .pt-copy p { margin-bottom: 1.05em; }
.pt-page .pt-copy p:last-child { margin-bottom: 0; }
.pt-page .pt-top { display: inline-flex; gap: 18px; align-items: center; min-height: 44px; font-size: 14px; color: var(--pg-gold); text-decoration: underline; text-underline-offset: 5px; }
.pt-page #cgv-haut { scroll-margin-top: 24px; }
@media (max-width: 1000px) {
    .pt-page .pt-layout { grid-template-columns: 230px minmax(0,1fr); gap: 32px; }
    .pt-page .pt-copy { padding-left: 0; }
}
@media (max-width: 800px) {
    .pt-page .pg-heading { padding-bottom: 30px; }
    .pt-page .pt-layout { grid-template-columns: minmax(0,1fr); gap: 28px; padding-top: 26px; }
    .pt-page .pt-sidebar, .admin-bar .pt-page .pt-sidebar { position: static; }
    .pt-page .pt-toc { border-bottom: 1px solid var(--pg-line); }
    .pt-page .pt-toc summary { min-height: 62px; padding-inline: 4px; }
    .pt-page .pt-toc nav { max-height: none; padding-bottom: 12px; }
    .pt-page .pt-toc a { font-size: 14px; padding-block: 12px; }
    .pt-page .pt-contact { margin-bottom: 32px; }
    .pt-page .pt-section-heading { gap: 12px; grid-template-columns: 28px minmax(0,1fr); }
}
@media (max-width: 480px) {
    .pt-page h1 { font-size: 43px; }
    .pt-page .pt-intro { font-size: 16px; line-height: 1.7; }
    .pt-page .pt-contact { padding: 22px 20px; }
    .pt-page .pt-contact > p:first-child { font-size: 27px; }
    .pt-page .pt-section { padding-bottom: 28px; margin-bottom: 28px; }
    .pt-page .pt-section h2 { font-size: 30px; }
    .pt-page .pt-copy { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.pt-page) { scroll-behavior: auto; }
}
@media print {
    .poupin-terms-page :is(.pa-site-header,.pa-site-footer,.poupin-cookie-consent-root) { display: none; }
    .pt-page .pg-wrap { width: 100%; max-width: none; }
    .pt-page { background: #fff; }
    .pt-page :is(.pt-sidebar,.pg-breadcrumb,.pg-next,.pt-top) { display: none; }
    .pt-page .pt-layout { display: block; }
    .pt-page .pt-copy { padding-left: 0; font-size: 11pt; color: #000; }
    .pt-page .pt-section-heading { break-after: avoid; }
    .pt-page .pt-section h2 { font-size: 20pt; }
    .pt-page h1 { font-size: 32pt; }
}
