/* Pitch Lessons overrides on top of Crafto ebook (loaded last).
   Colours from videos/modeles/gabarit/gabarit.js: G1 #16502E, G2 #1F6B3A, LINE #F5F3E7, YEL #FFD23F, DIM #9FC2A8, INK #12351F. */
.alt-font, h1, h2, h3, h4, h5, h6 { font-synthesis: none; }
.pl-pitch-bg {
  background-color: #16502E;
  background-image: repeating-linear-gradient(to bottom, #195932 0 60px, #16502E 60px 120px);
}
.pl-green-bg { background-color: #16502E; }
.text-dim { color: #9FC2A8; }
.text-cream { color: #F5F3E7; }
.bg-cream { background-color: #F5F3E7; }
.text-pl-green { color: #1F6B3A; }
.bg-pl-green { background-color: #1F6B3A; }
.btn.btn-base-color { color: #12351F; }
.btn.btn-base-color:hover { color: #12351F; }
/* The drill video, vertical, in place of the book cover */
.pl-video {
  display: block;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 14px;
  background: #12351F;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.pl-card-video { max-width: 100%; border-radius: 6px; box-shadow: none; }
/* Email form states (Material state list: error, loading, success) */
.pl-form-message { font-size: 15px; line-height: 22px; margin-top: 12px; }
.pl-form-message.is-error { color: #FF5A5F; }
.pl-on-light .pl-form-message.is-error { color: #B3261E; }
.pl-form-message.is-success { color: inherit; }
.pl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pl-sheet-img { border-radius: 6px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); background: #fff; }
.review-style-05 .pl-topic-pic { background: #16502E; }
.pl-legal h2 { font-size: 28px; line-height: 34px; margin: 40px 0 12px; }
.pl-legal p, .pl-legal li { font-size: 17px; line-height: 28px; }
.client-box .pl-platform { font-size: 54px; color: var(--dark-gray); line-height: 110px; display: inline-block; }
.client-box .pl-platform:hover { color: #1F6B3A; }
.pl-wordmark { font-family: var(--alt-font); font-size: 26px; line-height: 1; letter-spacing: 0; }
.pl-wordmark span { color: var(--base-color); }
header .pl-wordmark { color: #fff; }
header.sticky .pl-wordmark, .sticky .pl-wordmark { color: var(--dark-gray); }
/* On a white ground the yellow of "Lessons" reads at 1.4:1: same palette, the green of the pitch (okobe.ux, accessibility corrects a value). */
header.sticky .pl-wordmark span, .sticky .pl-wordmark span, footer .pl-wordmark span { color: #1F6B3A; }
:focus-visible { outline: 3px solid #FFD23F; outline-offset: 2px; }
/* Weekly-drill checkbox: native box, our yellow (Crafto styles every input as a full-width field) */
.pl-check { display: flex; align-items: flex-start; gap: 10px; }
.pl-check input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; accent-color: #FFD23F; border: 0; box-shadow: none; }
.pl-on-light .pl-check input[type="checkbox"] { accent-color: #1F6B3A; }
.pl-check label { cursor: pointer; }
/* Room for the row of sheets that floats above the yellow band (md and up, where it shows) */
@media (min-width: 768px) { .pl-before-band { padding-bottom: 270px; } }
@media (max-width: 991px) {
  header .pl-wordmark { color: var(--dark-gray); }
  header .pl-wordmark span { color: #1F6B3A; }
  .pl-contact-card { padding-bottom: 150px !important; }
}
.pl-schema { max-width: 100%; max-height: 640px; width: auto; }
.pl-legal ul { list-style: disc; padding-left: 22px; }
.pl-legal ul li { list-style: disc; }
.pl-legal li { margin-bottom: 8px; }
/* Hero visual (sheet or video) starts under the header, as in the ebook demo: capped to the viewport minus the header. */
@media (min-width: 768px) {
  img.pl-hero-visual { max-height: min(760px, calc(100vh - 170px)); width: auto; max-width: 100%; display: block; }
  video.pl-hero-visual { height: min(675px, calc(100vh - 230px)); width: auto; }
}
/* Spacings Crafto does not ship (its px utilities stop at 70px) */
.pt-100px { padding-top: 100px; }
.pt-150px { padding-top: 150px; }
.pb-80px { padding-bottom: 80px; }
.pb-100px { padding-bottom: 100px; }
@media (max-width: 991px) {
  .md-pt-120px { padding-top: 120px; }
  .md-mt-120px { margin-top: 120px; }
}
/* Phone: the header button would push the menu toggle to a second line; the hero form is right below anyway. */
@media (max-width: 575px) { header .header-button { display: none; } }
/* Hero video popup (Crafto's Magnific, zoom animation): the vertical video as large as the screen allows */
.pl-video-modal { position: relative; margin: 0 auto; width: min(420px, 92vw, calc((100vh - 80px) * 9 / 16)); }
.pl-video-modal video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: #12351F; }
.pl-video-popup.mfp-bg { background: #0b2416; opacity: 0.92; }
.pl-video-popup .mfp-close { color: #fff; opacity: 1; top: -44px; right: -6px; width: 44px; height: 44px; font-size: 38px; }
.pl-watch-btn { display: inline-flex; align-items: center; }
.pl-lang-notice { display: inline-block; font-size: 14px; line-height: 20px; color: #12351F; background: #F5F3E7; border-radius: 30px; padding: 6px 16px; }
.pb-130px { padding-bottom: 130px; }
@media (max-width: 991px) { .md-pb-80px { padding-bottom: 80px; } }
@media (max-width: 767px) {
  .sm-pt-90px { padding-top: 90px; }
  .sm-fs-42 { font-size: 42px; }
}
/* Language switch "EN | FR": two pills, current one filled (not a link), the other outlined.
   Light on the transparent header (over the pitch green), dark on the white sticky header, the phone header and the footer. */
.pl-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.pl-lang-switch { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.pl-lang-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 32px; padding: 0 10px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; font-family: var(--alt-font); font-size: 13px; line-height: 1; letter-spacing: 0.5px; text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.pl-lang-pill.is-current { background: #fff; border-color: #fff; color: var(--dark-gray); cursor: default; }
a.pl-lang-pill:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.12); }
header.sticky .pl-lang-pill, .sticky .pl-lang-pill, footer .pl-lang-pill { border-color: rgba(18, 53, 31, 0.35); color: var(--dark-gray); }
header.sticky .pl-lang-pill.is-current, .sticky .pl-lang-pill.is-current, footer .pl-lang-pill.is-current { background: var(--dark-gray); border-color: var(--dark-gray); color: #fff; }
header.sticky a.pl-lang-pill:hover, .sticky a.pl-lang-pill:hover, footer a.pl-lang-pill:hover { border-color: var(--dark-gray); color: var(--dark-gray); background: rgba(18, 53, 31, 0.06); }
.pl-lang-switch.is-small .pl-lang-pill { min-width: 34px; height: 26px; font-size: 12px; padding: 0 8px; }
@media (max-width: 991px) {
  header .pl-lang-pill { border-color: rgba(18, 53, 31, 0.35); color: var(--dark-gray); }
  header .pl-lang-pill.is-current { background: var(--dark-gray); border-color: var(--dark-gray); color: #fff; }
  header a.pl-lang-pill:hover { border-color: var(--dark-gray); color: var(--dark-gray); background: rgba(18, 53, 31, 0.06); }
  .pl-header-actions { gap: 10px; margin-right: 12px; }
}
.pl-header-actions .header-button { flex-shrink: 0; }
.pl-header-actions .header-button .btn { white-space: nowrap; }
