/* Public contract reading layout. No account or checkout styles are changed. */
.legal-page { max-width: 1240px; }
.cgv-intro { margin: 1.3rem 0 2rem; max-width: 960px; }
.cgv-eyebrow { color: #12605c; font-weight: 700; letter-spacing: .025em; }
.cgv-intro h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); line-height: 1.15; margin: .5rem 0 1rem; }
.cgv-version { color: #405363; font-size: 1rem; }
.cgv-status { background: #fff8e9; border-left: 4px solid #996419; padding: 1rem 1.15rem; color: #4c3b20; line-height: 1.65; border-radius: 0 .45rem .45rem 0; }
.cgv-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; margin-top: 1.35rem; }
.cgv-actions span { font-size: .9rem; color: #52616d; }
.cgv-download { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .75rem 1.1rem; background: #155e59; border: 2px solid #155e59; border-radius: .6rem; color: #fff; font-weight: 700; text-decoration: none; }
.cgv-download:hover { background: #104c48; color: #fff; }
.cgv-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; }
.cgv-toc { position: sticky; top: 1rem; max-height: 90vh; max-height: calc(100svh - 2rem); overflow-y: auto; border: 1px solid #d7e1e5; border-radius: .75rem; background: #fff; padding: 1.1rem; }
.cgv-toc summary { font-size: 1.08rem; font-weight: 750; color: #172e3a; cursor: pointer; padding: .25rem 0; }
.cgv-toc ol { padding: 0; margin: .75rem 0 0; list-style: none; }
.cgv-toc li { margin: 0; }
.cgv-toc a { display: block; padding: .48rem .15rem; font-size: .9rem; line-height: 1.4; color: #284b5a; text-decoration: none; }
.cgv-toc a:hover { color: #0f5e59; text-decoration: underline; }
.cgv-toc .cgv-toc-annexe:first-of-type { border-top: 1px solid #d7e1e5; padding-top: .6rem; }
.cgv-content { min-width: 0; }
.cgv-section { background: #fff; border: 1px solid #d7e1e5; border-radius: .8rem; padding: 1.7rem 2rem; margin: 0 0 1.5rem; scroll-margin-top: 1.25rem; }
.cgv-section h2 { font-size: 1.42rem; line-height: 1.35; color: #183645; margin: 0 0 1.1rem; }
.cgv-section h3 { font-size: 1.14rem; line-height: 1.35; color: #183645; margin: 1.7rem 0 .65rem; }
.cgv-section p, .legal-notice p { font-size: 1rem; line-height: 1.8; margin: .9rem 0; overflow-wrap: anywhere; color: #273a45; }
.cgv-section strong { font-weight: 700; }
.cgv-section a, .legal-notice a { text-underline-offset: .18em; overflow-wrap: anywhere; }
.cgv-section .cgv-official-source { font-size: .86rem; color: #52616d; }
.cgv-guarantee { border: 2px solid #526c75; border-radius: .35rem; padding: 1.2rem 1.4rem; margin: 1.4rem 0; background: #fbfdfd; }
.cgv-guarantee p:first-child { margin-top: 0; }
.cgv-guarantee p:last-child { margin-bottom: 0; }
.cgv-back { display: inline-block; font-size: .82rem; margin-top: .8rem; color: #46616b; }
.legal-page a:focus-visible, .legal-page summary:focus-visible { outline: 3px solid #996419; outline-offset: 4px; border-radius: .15rem; }
.legal-notice { max-width: 850px; margin-inline: auto; }
@media (max-width: 850px) {
  .cgv-layout { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .cgv-toc { position: static; max-height: none; }
  .cgv-toc ol { columns: 2; column-gap: 1.5rem; }
  .cgv-toc li { break-inside: avoid; }
  .cgv-section { padding: 1.3rem 1.4rem; }
}
@media (max-width: 480px) {
  .cgv-intro { margin-top: 1rem; }
  .cgv-toc ol { columns: 1; }
  .cgv-section { padding: 1.2rem 1rem; border-radius: .55rem; }
  .cgv-guarantee { padding: .9rem; }
  .cgv-section h2 { font-size: 1.24rem; }
  .cgv-actions { align-items: stretch; }
  .cgv-download { width: 100%; }
}
@media print {
  .site-header, .site-footer, .skip, .cgv-toc, .cgv-actions, .cgv-back { display: none !important; }
  .legal-page, .cgv-intro { max-width: none; width: auto; margin: 0; padding: 0; }
  .cgv-layout { display: block; }
  .cgv-section { border: 0; border-radius: 0; padding: 0; margin-bottom: 1.3rem; }
  .cgv-section h2, .cgv-section h3 { break-after: avoid; }
  .cgv-section p { font-size: 10pt; line-height: 1.5; widows: 3; orphans: 3; }
  .cgv-guarantee { border: 1pt solid #333; background: none; }
  .cgv-section a { color: inherit; }
}
