/* Gestes et transitions, par-dessus les styles du document de référence. */
:root { --motion-fast: 140ms; --motion-ui: 200ms; --motion-ease: cubic-bezier(.2,.7,.3,1); }
html { scroll-behavior: auto; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--corn); outline-offset: 4px; }
.nav :focus-visible, .dark :focus-visible, .foot :focus-visible { outline-color: var(--lime); }
h1[tabindex="-1"]:focus { outline: none; }
.site-skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--lime); color: var(--n800); transform: translateY(-180%); font-weight: 700; }
.site-skip:focus { transform: none; }
.cta, .nav__log, .nav__cta, .nav__toggle, .simchips button, .toggle button, .sw a, .fo__sw button {
  transition: color var(--motion-fast), background-color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
}
.cta:active:not(:disabled), .nav__cta:active, .nav__toggle:active { transform: translateY(1px); }
.cta[disabled] { opacity: .5; transform: none; box-shadow: none; }
.nav__grp .nav__menu { display: flex; margin-top: 0; top: calc(100% + 8px); }
.nav__grp .nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__toggle { display: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,250,245,.28); border-radius: var(--r-pill); color: var(--bone); background: transparent; cursor: pointer; }
/* Les trois barres se croisent en X quand le menu est ouvert. */
.nav__burger { position: relative; display: block; width: 18px; height: 12px; }
.nav__burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: top var(--motion-ui) var(--motion-ease), transform var(--motion-ui) var(--motion-ease), opacity var(--motion-ui) var(--motion-ease); }
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 5px; }
.nav__burger span:nth-child(3) { top: 10px; }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.nav__mobile-part { display: none; }
.nav__toggle:hover { background: rgba(255,250,245,.1); }
.nav__links { z-index: 30; }
.simchips button { background: var(--n50); border: 1px solid var(--n200); border-radius: var(--r-pill); color: var(--n500); padding: 6px 14px; font: inherit; font-size: 12.5px; text-align: left; }
.simchips button:hover { background: var(--lime); border-color: var(--n700); color: var(--n800); }
.ac__l { overscroll-behavior: contain; }
.ac__l li { min-height: 40px; white-space: normal; line-height: 1.4; }
.ac__l .ac__v { cursor: default; }
[data-sim-form][aria-busy="true"] [data-sim-go] { cursor: progress; }
.faq__content { display: flow-root; }
.faq__content > :first-child { margin-top: 14px; }
.vit__nav button:disabled { opacity: .35; background: var(--card); }
.vit__r { overscroll-behavior-x: contain; scroll-padding: 4px; }
.is-paused, .is-paused *, .is-background *, .is-background *::before, .is-background *::after { animation-play-state: paused !important; }
.cand.cand--seq.is-static { min-height: 0; }
.cand.cand--seq.is-static > div:first-child, .cand.cand--seq.is-static .phone { position: static; }
.phone .lp { scrollbar-width: thin; scrollbar-color: var(--n300) transparent; }
.phone .lp::-webkit-scrollbar { width: 4px; }
.phone .lp::-webkit-scrollbar-thumb { background: var(--n300); border-radius: 8px; }
@media (max-width:1180px) {
  .nav__in { flex-wrap: wrap; }
  .nav__toggle { display: grid; }
  .nav__links { display: none; width: 100%; order: 5; padding: 12px 0 5px; border-top: 1px solid rgba(255,250,245,.15); gap: 4px; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; align-items: stretch; }
  .nav__links > a, .nav__grpb { padding: 11px 12px; min-height: 44px; font-size: 14px; }
  .nav__links > a:hover, .nav__grpb:hover { background: rgba(255,250,245,.07); border-radius: 8px; }
  .nav__mobile-part { display: block; }
  .nav__grp .nav__menu { position: static; box-shadow: none; border: 0; margin: 0 0 4px 12px; padding: 0; }
  .nav__grpb { width: 100%; justify-content: space-between; }
  .nav__grp .nav__menu::before { display: none; }
  .nav__menu a { min-height: 44px; }
}
@media (max-width:640px) {
  .nav__in { padding: 12px 16px; gap: 8px; }
  .nav__sp { display: none; }
  .nav__logo { margin-right: auto; }
  .nav .nav__cta { font-size: 12px; padding: 9px 10px; }
  .nav__log { font-size: 12px !important; padding: 8px 9px; }
  .nav__toggle { width: 36px; height: 36px; }
  .sw { order: 4; margin-top: 3px; }
  .simchips button { min-height: 36px; }
  .vit__nav { display: flex; }
  .vit__nav button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion:reduce) {
  html, html:focus-within { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv, .rv.is-in { opacity: 1; transform: none; }
  .cand.cand--seq { min-height: 0; }
  .cand.cand--seq > div:first-child, .cand.cand--seq .phone { position: static; }
  .ph__hand { display: none; }
}
.phone .lp__go { display: block; width: 100%; cursor: pointer; }
.phone .lp__opts button { font: inherit; }
.phone .lp__apply, .phone .lp__btn { cursor: pointer; }
.phone .lp__apply:hover, .phone .lp__btn:hover { filter: brightness(.93); }
/* Libérer l'animation et sa couche de rendu une fois la carte posée. */
.rv.rv-done { animation: none; opacity: 1; }
@media (max-width:359px) {
 .nav__in { padding:12px; gap:6px; }
 .nav .wm { height:22px; }
 .nav .nav__log { font-size:11px!important; padding:8px 6px; }
 .nav .nav__cta { font-size:11px; padding:9px 8px; }
 .nav__toggle { width:34px; height:34px; }
}
.post h3 a { color:inherit; text-decoration:none; }
.post h3 a:hover { text-decoration:underline; text-underline-offset:4px; }
/* L'étirement de la grille suffit ; une hauteur minimale en % crée un cycle
   de mesure sous WebKit lorsque la page est masquée puis réaffichée. */
.hero--home .hero__l { min-height:0; }

/* Language selection stays visible alongside the account link. */
.nav__lang {display:flex;gap:2px;align-items:center;flex-shrink:0;font-size:12px;}
.nav__lang a {padding:6px;border-radius:20px;text-decoration:none;color:inherit;}
.nav__lang a.on {background:var(--lime);color:var(--n800);font-weight:700;}
.nav__lang a:focus-visible {outline:2px solid currentColor;outline-offset:2px;}
@media(max-width:620px){.nav__lang a{padding:5px 4px}.nav__lang{font-size:11px}}

@media(max-width:560px){html[lang="en"] .simf{grid-template-columns:minmax(0,1fr)}}

/* Menu téléphone (retour Laura, 17/09) : fermé = logo, burger, Commencer sur une rangée ;
   ouvert = choix d'audience puis liste à plat séparée par des filets. */
.nav__mobile-only { display: none; }
@media (max-width:1180px) {
  .nav__in { gap: 12px; }
  .nav__logo { margin-right: auto; }
  .nav__sp, .nav .nav__log, .nav__grp { display: none !important; }
  .nav .sw { display: none; order: 4; width: 100%; margin-top: 6px; justify-content: center; }
  .nav.is-open .sw { display: flex; }
  .nav .sw a { flex: 1; text-align: center; font-size: 14px; padding: 10px; }
  .nav__toggle { width: 44px; height: 44px; border-radius: 12px; }
  .nav .nav__cta { font-size: 14px; padding: 11px 18px; }
  .nav__links { border-top: 0; padding: 4px 0 8px; gap: 0; }
  .nav .nav__links > a { padding: 16px 4px; min-height: 0; font-size: 16px; border-bottom: 1px solid rgba(255,250,245,.12); border-radius: 0; }
  .nav .nav__links > a:last-child { border-bottom: 0; }
  .nav .nav__links > a:hover { background: transparent; color: var(--bone); }
  .nav .nav__mobile-only { display: block; }
}
@media (max-width:640px) {
  .nav__toggle { width: 44px; height: 44px; }
  .nav .nav__cta { font-size: 14px; padding: 11px 18px; }
}
@media (max-width:359px) {
  .nav .nav__cta { font-size: 12px; padding: 10px 12px; }
  .nav__toggle { width: 38px; height: 38px; }
}

/* Les plateformes sortent du mégaphone en vraies icônes, plus en étiquettes. */
.flux--icones span { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.flux--icones img { width: 34px; height: 34px; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
/* Chaque icône sur une pastille crème : lisible sur le fond sombre, quelle que soit sa couleur. */
.flux--icones span { width: 48px; height: 48px; border-radius: 50%; background: var(--bone); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.flux--icones img { width: 26px; height: 26px; filter: none; }
.tuile__logo { height: 48px; }
.tuile__logo img[src*="renault-trucks"], .tuile__logo img[src*="burger-king"], .tuile__logo img[src*="ds-smith"] { max-height: 48px; }
/* Six plateformes (TikTok et ChatGPT ajoutées le 17/09) : un départ toutes les 14/6 s. */
.flux--icones span:nth-child(1){animation-delay:0s}
.flux--icones span:nth-child(2){animation-delay:-2.333s}
.flux--icones span:nth-child(3){animation-delay:-4.667s}
.flux--icones span:nth-child(4){animation-delay:-7s}
.flux--icones span:nth-child(5){animation-delay:-9.333s}
.flux--icones span:nth-child(6){animation-delay:-11.667s}

#l-bassin { padding:6px; border-radius:18px; box-shadow:0 16px 40px #2b1c1826; }
#l-bassin [role=option] { display:flex; flex-direction:column; gap:5px; padding:12px; border-radius:12px; transition:background 140ms; }
#l-bassin [role=option] strong { font-size:15px; }
#l-bassin [role=option] span, #l-bassin [role=option] small { font-size:12px; }
#l-bassin [role=option] small { font-weight:600; }
@media (prefers-reduced-motion:reduce) { #l-bassin [role=option] { transition:none; } }
@media (min-width:700px) { #l-bassin { width:max(100%, 300px); right:0; max-height:340px; } }
