/* Pro sits above the comparison grid; prices and allowances stay unchanged. */
.site-surface #tarifs .plans { padding-top:12px; gap:20px; }
.site-surface #tarifs .plan.pop {
  --pro-green:#087443;
  border:2px solid var(--pro-green);
  background:linear-gradient(155deg,#ecfdf3 0%,var(--surface) 36%);
  transform:translateY(-10px); opacity:1; z-index:2;
  box-shadow:5px 6px 0 #b7dfc9,0 16px 24px -12px #064e3b66,0 30px 50px -24px #08744366;
  transition:transform .25s ease,box-shadow .25s ease;
}
.site-surface #tarifs .plan.pop .plan-emblem,
.site-surface #tarifs .plan.pop .plan-number-icon { background:#dcfae6; color:#067647; border-color:#a6f4c5; border-radius:4px; }
.site-surface #tarifs .plan.pop .card-watermark { color:var(--pro-green); opacity:.13; }
.site-surface #tarifs .plan.pop .tag { background:var(--pro-green); color:#fff; padding:5px 9px; border-radius:4px; }
.site-surface #tarifs .plan.pop .price { color:var(--pro-green); }
.site-surface #tarifs .plan.pop > ul li::before { color:var(--pro-green); }
.site-surface #tarifs .plan.pop > .btn-primary {
  background:var(--pro-green); border-color:var(--pro-green); color:#fff;
  min-height:46px; font-size:14px; font-weight:700;
  box-shadow:0 3px 0 #044c2b,0 8px 16px -6px #08744355;
  transition:background .2s,transform .2s,box-shadow .2s;
}
.site-surface #tarifs .plan.pop > .btn-primary:hover { background:#055c34; transform:translateY(-2px); box-shadow:0 5px 0 #044c2b,0 12px 18px -6px #08744355; }
.site-surface #tarifs .plan.pop > .btn-primary:active { transform:translateY(2px); box-shadow:0 1px 0 #044c2b; }
[data-theme="dark"] .site-surface #tarifs .plan.pop { --pro-green:#087443; border-color:#32d583; background:linear-gradient(155deg,#103c2a,var(--surface) 40%); box-shadow:5px 6px 0 #065f37,0 18px 28px -10px #0009,0 28px 50px -26px #12b76a55; }
[data-theme="dark"] .site-surface #tarifs .plan.pop .price { color:#75e0a7; }
[data-theme="dark"] .site-surface #tarifs .plan.pop .plan-emblem,
[data-theme="dark"] .site-surface #tarifs .plan.pop .plan-number-icon { background:#123e2a; color:#75e0a7; border-color:#26764c; }
@media(hover:hover) and (min-width:961px) {
  .site-surface #tarifs .plan.pop:hover { transform:translateY(-14px); box-shadow:6px 8px 0 #a2d7b9,0 22px 30px -12px #064e3b66,0 36px 56px -24px #08744366; }
}
@media(max-width:960px) { .site-surface #tarifs .plan.pop { transform:none; } .site-surface #tarifs .plans { gap:24px; } }
@media(prefers-reduced-motion:reduce) { .site-surface #tarifs .plan.pop,.site-surface #tarifs .plan.pop > .btn-primary { transition:none; } }

/* Phones react once on entry; button reflections cover the whole surface. */
.site-surface #tarifs .loyal-ico { color:#b2ccff; background:#20345a; border-radius:4px; }
.site-surface #tarifs .plan { --offer-motion-delay:0s; }
.site-surface #tarifs .plan:nth-child(2) { --offer-motion-delay:.6s; }
.site-surface #tarifs .plan:nth-child(3) { --offer-motion-delay:1.2s; }
.site-surface #tarifs .plan:nth-child(4) { --offer-motion-delay:1.8s; }
.site-surface #tarifs .plan-number-icon .site-icon {
  transform-origin:50% 75%;
  animation:none;
}
@media(hover:hover) {
  .site-surface #tarifs .plan:hover .plan-number-icon .site-icon { animation:offer-phone-ring .7s ease-in-out 1; }
}
.site-surface #tarifs .plan:has(> .btn:focus-visible) .plan-number-icon .site-icon { animation:offer-phone-ring .7s ease-in-out 1; }
@keyframes offer-phone-ring {
  0%,100% { transform:translateY(0) rotate(0); }
  20% { transform:translateY(-2px) rotate(-11deg); }
  40% { transform:translateY(-2px) rotate(11deg); }
  60% { transform:translateY(-2px) rotate(-7deg); }
  80% { transform:translateY(-1px) rotate(5deg); }
}
.site-surface #tarifs .plan > .btn { position:relative; isolation:isolate; overflow:hidden; }
.site-surface #tarifs .plan > .btn::after {
  content:''; display:block; position:absolute; inset:0; width:auto; height:auto; pointer-events:none; z-index:-1;
  background:transparent;
  background-image:linear-gradient(110deg,transparent 38%,color-mix(in srgb,var(--accent) 24%,transparent) 50%,transparent 62%);
  background-size:250% 100%; background-repeat:no-repeat; background-position:180% 0;
  transform:none; opacity:0; transition:none;
  animation:offer-button-shine 6s ease-in-out infinite;
  animation-delay:var(--offer-motion-delay);
}
.site-surface #tarifs .plan.pop > .btn::after { background-image:linear-gradient(110deg,transparent 38%,#ffffff08 44%,#ffffff24 50%,#ffffff08 56%,transparent 62%); }
.site-surface #tarifs .quotas small { display:block; margin-top:5px; font-size:11px; line-height:1.45; color:var(--ink-2); }
.site-surface #tarifs .quota-caption { margin:20px 0 0; font-size:12px; color:var(--ink-2); }
.site-surface #tarifs .quota-caption + .quotas { margin-top:8px; }
@keyframes offer-button-shine {
  0%,64% { background-position:180% 0; opacity:0; }
  65% { background-position:180% 0; opacity:1; }
  90% { background-position:-80% 0; opacity:1; }
  91%,100% { background-position:-80% 0; opacity:0; }
}
@media(prefers-reduced-motion:reduce) {
  .site-surface #tarifs .plan-number-icon .site-icon,
  .site-surface #tarifs .plan:hover .plan-number-icon .site-icon,
  .site-surface #tarifs .plan:has(> .btn:focus-visible) .plan-number-icon .site-icon { animation:none; }
  .site-surface #tarifs .plan > .btn::after { animation:none; display:none; }
}
