/* French landing pages in "Le Pont", the part /intl-landing.css does not cover.
 *
 * Since Le Pont was adopted (2026-10-06), the French pages that have no /v2 twin
 * (the range and country hubs, the troubleshooting pages) render their legacy
 * fragment inside the redesign shell, exactly as the UK, Spanish and German
 * pages do: /intl-landing.css lays the shared class vocabulary out from lp.css's
 * tokens. This file adds what only the French fragments carry: the logo
 * marquee, the dark band, the "dial any number" form, the related cards and the
 * sibling-brand links rendered after the fragment.
 *
 * Same rule as the intl file: layout here, colours from lp.css's tokens, every
 * selector under #lp-root so nothing reaches the legacy pages.
 */

#lp-root .visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
#lp-root main section[id] { scroll-margin-top: calc(var(--lp-header-h, 71px) + 16px); }

/* ===== hero extras ===== */
#lp-root .company-logo {
  width: 76px; height: 76px; flex: 0 0 76px; border-radius: var(--radius-md);
  background: #fff; display: grid; place-items: center; overflow: hidden;
}
#lp-root .company-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
@media (min-width: 768px) { #lp-root .company-logo { width: 88px; height: 88px; flex: 0 0 88px; } }
#lp-root .hero__updated { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .8125rem; }
#lp-root .hero__updated time { color: var(--txt); font-weight: 600; }
#lp-root .hero__trust { color: var(--muted); font-size: .875rem; }

/* ===== "dial any number" form, inside the phone panel ===== */
#lp-root .phone-call-btn--alt { background: transparent; border-style: dashed; }
#lp-root .phone-call-btn--alt:hover { border-style: solid; }
#lp-root .phone-call-btn--alt .phone-call-btn__number { font-family: var(--display); font-size: 1.125rem; }
/* The hubs' "Créer un compte" row is a phone-call-btn with words, not digits, in
   the number slot (it links to the dialler with no number). The numeric face at
   1.4rem wrapped it onto two lines; it reads like the form row instead. */
#lp-root a.phone-call-btn[href="/call.html"] .phone-call-btn__number,
#lp-root a.phone-call-btn[href="/call"] .phone-call-btn__number { font-family: var(--display); font-size: 1.125rem; }
#lp-root .phone-call-btn--form { align-items: flex-start; cursor: default; }
#lp-root .phone-call-btn--form:hover { transform: none; }
#lp-root .phone-call-btn--form .phone-call-btn__icon { margin-top: .15rem; }
#lp-root .phone-call-btn__form-row { display: flex; gap: .5rem; align-items: stretch; margin-top: .65rem; width: 100%; }
#lp-root .phone-call-btn__form-row input {
  flex: 1 1 auto; min-width: 0; appearance: none;
  border: 1px solid var(--brd); border-radius: var(--radius-pill);
  padding: .55rem 1.05rem; font: inherit; font-family: var(--display);
  font-weight: 600; font-size: 1rem; letter-spacing: .04em;
  color: var(--ink); background: var(--panel);
}
#lp-root .phone-call-btn__form-row input::placeholder { color: var(--muted); font-weight: 500; letter-spacing: 0; }
#lp-root .phone-call-btn__form-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
#lp-root .phone-call-btn__verify-btn {
  appearance: none; border: 0; cursor: pointer; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.1rem; border-radius: var(--radius-pill);
  font-family: inherit; font-weight: 700; font-size: .9375rem;
  color: #fff; background: var(--accent);
}
#lp-root .phone-call-btn__verify-btn:hover { filter: brightness(1.08); }
@media (max-width: 480px) {
  #lp-root .phone-call-btn__form-row { flex-wrap: wrap; }
  #lp-root .phone-call-btn__verify-btn { width: 100%; justify-content: center; }
}
#lp-root .final-cta__list .phone-call-btn__form-row input {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff;
}
#lp-root .final-cta__list .phone-call-btn__form-row input::placeholder { color: rgba(255, 255, 255, .55); }

/* ===== the dark band (logo marquee) =====
   Drawn like the final CTA: the one treatment that does not follow the toggle. */
#lp-root main > .section--dark {
  position: relative; overflow: hidden; border-top: 0; color: #E6EDFA;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(62, 107, 224, .22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(62, 107, 224, .12), transparent 65%),
    linear-gradient(180deg, #0A1A3A, #07112A);
}
#lp-root .section--dark > .container { position: relative; z-index: 1; }
#lp-root .section--dark h2 { color: #fff; }
#lp-root .section--dark .eyebrow { color: #8FB0FF; }
#lp-root .section--dark .eyebrow::before { background: #8FB0FF; }
#lp-root .section--dark .section__lead,
#lp-root .section--dark .section__lead * { color: #B4C2DA; }

#lp-root .marquee { overflow: hidden; position: relative; margin-top: 2rem; --_fade: #07112A; }
#lp-root .marquee::before,
#lp-root .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; pointer-events: none; z-index: 2; }
#lp-root .marquee::before { left: 0; background: linear-gradient(to right, var(--_fade), transparent); }
#lp-root .marquee::after { right: 0; background: linear-gradient(to left, var(--_fade), transparent); }
#lp-root .marquee__track { display: flex; gap: 3rem; width: max-content; animation: lp-fr-marquee var(--_dur, 38s) linear infinite; }
#lp-root .marquee:hover .marquee__track { animation-play-state: paused; }
#lp-root .marquee__item {
  flex-shrink: 0; height: 96px; display: flex; align-items: center; justify-content: center;
  padding: 0 .5rem; opacity: .85; transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
#lp-root .marquee__item:hover { opacity: 1; transform: scale(1.04); }
#lp-root .marquee__item img { height: 100%; width: auto; max-width: 280px; object-fit: contain; display: block; }
@keyframes lp-fr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== related cards (inside the fragment) ===== */
#lp-root .related-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
#lp-root .related-card {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.25rem;
  border: 1px solid var(--brd); border-radius: 14px; background: var(--panel); color: var(--ink);
  transition: border-color .15s, transform .15s;
}
#lp-root .related-card:hover { border-color: var(--accent-ring); transform: translateY(-2px); color: var(--ink); }
#lp-root .related-card__kicker { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
#lp-root .related-card__title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
#lp-root .related-card__excerpt { color: var(--muted); font-size: .9rem; line-height: 1.5; }
#lp-root .related-card__arrow { margin-top: auto; color: var(--eye); font-weight: 600; font-size: .9rem; }

/* ===== sibling links rendered after the fragment (RelatedBrands, RelatedTroubleshooting) =====
   globals.css draws these for the legacy pages in light colours only. */
#lp-root .ts-related { background: var(--bg2); border-top: 1px solid var(--line); padding: 3rem 0; }
#lp-root .ts-related__inner { max-width: 1228px; padding-inline: 24px; }
@media (max-width: 600px) { #lp-root .ts-related__inner { padding-inline: 18px; } }
#lp-root .ts-related__eyebrow { color: var(--eye); font-family: var(--display); }
#lp-root .ts-related__title { color: var(--ink); font-family: var(--display); }
#lp-root .ts-related__card { background: var(--panel); border-color: var(--brd); color: var(--ink); }
#lp-root .ts-related__card:hover { border-color: var(--accent-ring); }
#lp-root .ts-related__card-title { color: var(--ink); font-family: var(--display); }
#lp-root .ts-related__arrow { color: var(--eye); }

/* The brand non-affiliation note (lib/legacyHtml injects it). */
#lp-root .landing-disclaimer { border-color: var(--brd); border-left-color: var(--accent); background: var(--accent-soft); }
#lp-root .landing-disclaimer p { color: var(--muted); font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  #lp-root .marquee__track { animation: none; }
}
