/* ============================================================
   BINOVAR – plans.css  (página isolada /plans/)
   Usa a mesma fonte e paleta do site, sem depender do style.css.
   ============================================================ */

@font-face {
  font-family: 'Geist';
  src: url('/assets/Geist.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AA, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/NotoSansHebrew.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0590-05FF, U+FB1D-FB4F;
}

:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --navy: #032283;
  --navy-hover: #0530B5;
  --dark-900: #04091A;
  --dark-800: #080F27;
  --dark-700: #0D1A3E;
  --ink: #0F172A;
  --ink-2: #475569;
  --ink-3: #64748B;
  --line: #E2E8F0;
  --soft: #F8FAFF;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 96px; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.pl-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
[dir="rtl"] .arrow { transform: scaleX(-1); }

/* ── Botões ─────────────────────────────────────────────── */
.pl-btn svg { flex-shrink: 0; }
.pl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  border-radius: 56px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.2px; white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pl-btn--navy    { background: var(--navy); color: #F7F7F7; border-color: rgba(255,255,255,.10); }
.pl-btn--navy:hover { background: var(--navy-hover); box-shadow: 0 4px 24px rgba(3,34,131,.45); }
.pl-btn--primary { background: var(--primary); color: #fff; }
.pl-btn--primary:hover { background: var(--primary-hover); box-shadow: 0 6px 22px rgba(37,99,235,.35); }
.pl-btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.pl-btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.pl-btn--white   { background: #fff; color: var(--navy); }
.pl-btn--white:hover { box-shadow: 0 6px 22px rgba(255,255,255,.2); }
.pl-btn--ghost   { height: 42px; padding: 0 20px; font-size: 14px; color: #fff; border-color: rgba(255,255,255,.55); }
.pl-btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ── Tipografia de secção ───────────────────────────────── */
.pl-section { padding-block: 96px; }
.pl-head { text-align: center; margin-bottom: 56px; }
.pl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.3px;
  color: var(--primary);
  margin-bottom: 14px;
}
.pl-eyebrow::before, .pl-eyebrow::after {
  content: ''; width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.pl-eyebrow::after { transform: scaleX(-1); }
.pl-eyebrow--light { color: #B9D4FF; }
.pl-title {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 500; line-height: 1.1; letter-spacing: -0.045em;
  color: #262626;
}
.pl-title em { font-style: normal; color: var(--primary); }
.pl-title--light { color: #fff; }
.pl-title--light em {
  background: linear-gradient(91deg, #FFF 0.65%, #99C4FF 47.3%, #88CAFA 96.78%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
[dir="rtl"] .pl-title, [dir="rtl"] .pl-hero__title { letter-spacing: -0.02em; }

/* ── Header ─────────────────────────────────────────────── */
.pl-header { position: fixed; inset: 16px 0 auto; z-index: 50; padding-inline: 24px; pointer-events: none; }
.pl-header__bar {
  pointer-events: auto;
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding-inline: 28px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .55);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
[dir="rtl"] .pl-header__bar { padding-inline: 28px 14px; }
.pl-header__right { display: flex; align-items: center; gap: 10px; }
/* links das secções: só no desktop largo; no telemóvel ficam no menu */
.pl-nav { display: none; }
@media (min-width: 1101px) {
  .pl-nav { display: block; }
  .pl-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .pl-nav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.85); transition: background .2s var(--ease), color .2s var(--ease); }
  .pl-nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
}

.pl-lang { position: relative; }
.pl-lang summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: 15px;
}
.pl-lang summary::-webkit-details-marker { display: none; }
.pl-lang ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  min-width: 190px; padding: 6px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 16px 48px rgba(4,9,26,.18);
}
.pl-flag { display: block; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; }
.pl-lang a, .pl-menu__langs a { display: flex; align-items: center; gap: 8px; }
.pl-lang a .pl-flag, .pl-menu__langs .pl-flag { width: 18px; height: 18px; }
.pl-lang a { display: flex; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--ink); }
.pl-lang a:hover { background: var(--soft); }
.pl-lang a[aria-current] { color: var(--primary); font-weight: 600; }

/* ── Hero ───────────────────────────────────────────────── */
.pl-hero {
  position: relative;
  background: #2453E8 url('/assets/hero-bg.webp') center / cover no-repeat;
  color: #fff;
  padding: 176px 0 112px;
  text-align: center;
  overflow: hidden;
}
.pl-hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 140px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.14));
  pointer-events: none;
}
.pl-hero__wave { display: none; }
.pl-hero__inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; min-height: 420px;
}
/* tudo ao centro: título, projetos, texto e botão; o plano atual e o contador ficam nos cantos de baixo */
.hero__main { width: 100%; display: flex; flex-direction: column; align-items: center; }
.pl-hero__title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
  color: rgba(255,255,255,.9);
}
.pl-hero__lead {
  margin: 20px 0 32px; max-width: 560px;
  font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.86);
}
/* plano atual sempre à esquerda e contador sempre à direita, em qualquer idioma */
.hero__side { position: absolute; bottom: 0; left: 24px; direction: ltr; display: flex; align-items: flex-end; gap: 18px; }
.hero__dots { order: -1; }
[dir="rtl"] .hero__meta { direction: rtl; }
.hero__meta { text-align: left; transition: opacity .18s var(--ease), transform .18s var(--ease); }
.hero__meta.is-swap { opacity: 0; transform: translateY(-4px); }
.hero__meta-name { font-size: 22px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero__meta-line { margin-top: 4px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.hero__meta-price { font-weight: 600; color: #fff; }
.hero__dots { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 6px; }
.hero__dot {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.45); cursor: pointer;
  transition: height .3s var(--ease), background .3s var(--ease);
}
.hero__dot:hover { background: rgba(255,255,255,.8); }
.hero__dot.is-on { height: 22px; background: #fff; }
.hero__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero__count {
  position: absolute; bottom: 0; right: 24px;
  display: grid; justify-items: end;
  font-size: 15px; color: rgba(255,255,255,.7); white-space: nowrap;
}
.hero__count-num { font-size: 40px; font-weight: 500; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.hero__count-label { margin-bottom: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero__count-row { display: flex; align-items: baseline; gap: 6px; }

/* Lado: plano atual + pontos (em cima), contador (em baixo) */

/* ── Cartões de planos ──────────────────────────────────── */
.pl-plans { background: var(--soft); }
.pl-tabs { display: none; }
.pl-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 20px; row-gap: 0;
}
/* Cada cartão ocupa 4 linhas partilhadas (subgrid): cabeçalho, preço,
   lista e botão ficam alinhados entre os 4 cartões. */
.pl-card {
  position: relative;
  grid-row: span 4;
  display: grid; grid-template-rows: subgrid; grid-template-columns: minmax(0,1fr); row-gap: 28px;
  padding: 40px 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px rgba(15,23,42,.05);
  text-align: start;
}
.pl-card--popular {
  border: 2px solid var(--primary);
  padding: 39px 27px 31px;
  box-shadow: 0 24px 60px rgba(37,99,235,.18);
}
.pl-card__badge {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 16px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
}
.pl-card__head { display: grid; align-content: start; gap: 16px; }
.pl-card__name { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-align: center; }
.pl-card__for { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.pl-card__for-label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--primary); }
[dir="rtl"] .pl-card__for-label { font-size: 14px; }

.pl-card__price {
  align-self: end;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
  font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; text-align: center;
}
.pl-card__price--text { font-size: 25px; letter-spacing: -0.02em; line-height: 1.2; }

.pl-card__body { display: grid; align-content: start; gap: 18px; }
.pl-card__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--primary);
}
.pl-card__meta svg { flex-shrink: 0; width: 18px; height: 18px; }
.pl-card__intro { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.pl-card__list { display: grid; gap: 14px; }
.pl-card__list li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.pl-card__list svg { flex-shrink: 0; margin-top: 1px; color: var(--ink); }
.pl-card__cta { width: 100%; align-self: end; }

.pl-card--forge {
  background: radial-gradient(120% 80% at 100% 0%, #2447C8 0%, #132556 50%, #0A1430 100%);
  border-color: rgba(255,255,255,.1);
  color: #fff;
}
[dir="rtl"] .pl-card--forge { background: radial-gradient(120% 80% at 0% 0%, #2447C8 0%, #132556 50%, #0A1430 100%); }
.pl-card--forge .pl-card__name {
  background: linear-gradient(91deg, #FFF 0.65%, #99C4FF 60%, #88CAFA 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pl-card--forge .pl-card__for { color: rgba(255,255,255,.75); }
.pl-card--forge .pl-card__list li { color: rgba(255,255,255,.92); }
.pl-card--forge .pl-card__for-label,
.pl-card--forge .pl-card__meta { color: #88CAFA; }
.pl-card--forge .pl-card__price { color: #fff; border-bottom-color: rgba(255,255,255,.14); }
.pl-card--forge .pl-card__intro { color: rgba(255,255,255,.6); }
.pl-card--forge .pl-card__list svg { color: #88CAFA; }

.pl-fine {
  display: flex; align-items: flex-start; gap: 12px; text-wrap: balance;
  width: fit-content; max-width: 100%; margin: 48px auto 0;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(37,99,235,.06); border: 1px solid rgba(37,99,235,.14);
  font-size: 14.5px; line-height: 1.55; color: var(--ink);
}
.pl-fine svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }

/* ── Comparação ─────────────────────────────────────────── */
/* Sem overflow no contentor, para o cabeçalho poder ficar fixo (sticky) ao rolar. */
.cmp-scroll { border: 1px solid var(--line); border-radius: 20px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14.5px; }
.cmp thead th:not(:first-child) { width: 22%; }
.cmp th, .cmp td { padding: 11px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: start; font-weight: 500; color: var(--ink); width: 34%; }
.cmp thead th { position: sticky; top: 96px; z-index: 5; background: #fff; padding-block: 18px 16px; vertical-align: bottom; box-shadow: inset 0 -1px 0 var(--line), 0 8px 16px -12px rgba(15,23,42,.18); }
.cmp thead th:first-child { border-start-start-radius: 20px; }
.cmp thead th:last-child { border-start-end-radius: 20px; }
.cmp thead th.is-pop { background: #F3F7FE; }
.cmp thead th:first-child { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.cmp__name { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.cmp__price { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.cmp__eta { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--primary); }
.cmp__choose {
  display: inline-block; margin-top: 12px; padding: 6px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.cmp__choose:hover { border-color: var(--primary); color: var(--primary); }
.cmp thead .is-pop .cmp__choose { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Linhas iguais nos 3 planos: visto azul. */
.cmp .cmp__shared td, .cmp__shared .cmp__yes { color: var(--primary); font-weight: 500; }
.cmp td { color: var(--ink-2); }
.cmp .is-pop { background: rgba(37,99,235,.05); }
.cmp thead .is-pop .cmp__name { color: var(--primary); }
.cmp__group th {
  text-align: start !important; padding: 26px 20px 12px;
  background: var(--soft);
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink) !important;
  border-bottom: 2px solid var(--primary);
}
.cmp__yes { display: inline-flex; color: var(--ink); }
.cmp__no { color: #CBD5E1; }
.cmp tbody:last-child tr:last-child th, .cmp tbody:last-child tr:last-child td { border-bottom: 0; }
.pl-cmp { margin-top: 88px; }
.pl-cmp__toggle { display: flex; width: fit-content; margin-inline: auto; list-style: none; border-color: var(--primary); color: var(--primary); }
.pl-cmp__toggle::-webkit-details-marker { display: none; }
.pl-cmp__chev { transition: transform .2s var(--ease); }
.pl-cmp[open] .pl-cmp__toggle { border-color: var(--primary); color: var(--primary); }
.pl-cmp[open] .pl-cmp__chev { transform: rotate(180deg); }
.pl-cmp .cmp-scroll { margin-top: 40px; background: #fff; }
.pl-compare__forge { margin-top: 24px; text-align: center; color: var(--ink-2); font-size: 15px; }
.pl-compare__forge a { color: var(--primary); font-weight: 500; }

/* ── BINO (assistente) ──────────────────────────────────── */
/* Fundo: gradiente "mesh" suave nas cores da marca. Em cima funde com #F8FAFF (secção dos planos);
   em baixo termina em #E5ECFD, a cor com que começa o céu de "Como funciona", para as duas secções
   serem um só céu contínuo. */
.pl-bino {
  background:
    linear-gradient(#F8FAFF, rgba(248, 250, 255, 0) 160px),
    linear-gradient(rgba(229, 236, 253, 0) calc(100% - 200px), #E5ECFD),
    radial-gradient(28% 40% at 20% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%),
    radial-gradient(22% 34% at 80% 75%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%),
    radial-gradient(38% 60% at 34% 72%, rgba(37, 99, 235, .32), rgba(37, 99, 235, 0) 70%),
    radial-gradient(30% 50% at 66% 30%, rgba(136, 202, 250, .5), rgba(136, 202, 250, 0) 70%),
    linear-gradient(120deg, #E8EFFD, #D3E1FC 50%, #E2ECFD);
}
.pl-bino { position: relative; isolation: isolate; overflow-x: clip; }
/* Textura 1: grão fino (ruído SVG) sobre o gradiente; some em cima e em baixo para não marcar as junções */
.pl-bino::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 0 0.55 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .28; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent);
}
/* Sem isolation: o vídeo do robô usa multiply para o fundo branco dele desaparecer no gradiente da secção */
.bino { position: relative; max-width: 780px; margin-inline: auto; }

/* Robô BINO: vídeo com fundo branco, fundido no gradiente da secção com multiply */
.bino__logo { position: relative; width: 150px; margin: 0 auto 30px; transition: width .6s var(--ease), margin .6s var(--ease); }
.bino__robot { display: block; width: 100%; height: auto; aspect-ratio: 360 / 582; background: #fff; mix-blend-mode: multiply; pointer-events: none; }
.bino__logo-shadow {
  display: block; width: 62%; height: 12px; margin: -10px auto 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 78, 216, .22), rgba(29, 78, 216, 0));
}

.bino__head { margin-bottom: 36px; transition: margin .6s var(--ease); }
.bino__lead { max-width: 560px; margin: 16px auto 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* Caixa da conversa: começa só com a linha de escrita e abre (sem cobrir a secção) depois da 1.ª mensagem */
.bino__panel {
  background: #fff; border: 1px solid rgba(37, 99, 235, .1); border-radius: 30px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 60px rgba(37, 99, 235, .14);
  overflow: hidden;
}
.bino__log {
  display: flex; flex-direction: column; gap: 12px;
  max-height: 0; padding: 0 24px; overflow-y: auto; overscroll-behavior: contain;
  transition: max-height .6s var(--ease), padding .6s var(--ease);
}
.bino.is-open .bino__log { max-height: min(440px, 56vh); padding: 26px 24px 18px; border-bottom: 1px solid var(--line); }
.bino.is-open .bino__logo { width: 92px; margin-bottom: 18px; }
.bino.is-open .bino__head { margin-bottom: 28px; }

.bino__form { display: flex; align-items: center; gap: 10px; padding: 10px; padding-inline-start: 24px; }
.bino__input {
  flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 17px; color: var(--ink);
}
.bino__input::placeholder { color: #94A3B8; }
.bino__send {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: linear-gradient(145deg, #4F86F0, var(--primary) 60%, #1D4ED8);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .3);
  transition: transform .2s var(--ease), opacity .2s;
}
.bino__send:hover { transform: translateY(-1px); }
.bino__send:disabled { opacity: .5; cursor: default; transform: none; }
.bino__panel:focus-within { box-shadow: 0 0 0 4px rgba(37, 99, 235, .12), 0 24px 60px rgba(37, 99, 235, .16); }

.bino__chips, .bino__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.bino__chips { justify-content: center; margin-top: 18px; }
.bino__chip {
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(37, 99, 235, .18); background: rgba(255, 255, 255, .75);
  font: inherit; font-size: 14px; color: var(--ink);
  transition: border-color .2s, background .2s, color .2s;
}
.bino__chip:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.bino.is-open .bino__chips { display: none; }
.bino__note { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--ink-3); }

.bino__msg { max-width: 84%; padding: 11px 16px; border-radius: 18px; font-size: 15px; line-height: 1.5; white-space: pre-line; animation: binoIn .35s var(--ease) both; }
.bino__msg--user { align-self: flex-end; background: var(--primary); color: #fff; border-end-end-radius: 6px; }
.bino__msg--bot { align-self: flex-start; background: #F1F5FE; color: var(--ink); border-end-start-radius: 6px; }
.bino__quick { animation: binoIn .35s var(--ease) both; }
.bino__quick .bino__chip { background: #fff; }
.bino__pick {
  display: flex; width: fit-content; margin-top: 12px; padding: 9px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--primary); color: #fff; font: inherit; font-size: 14px; font-weight: 500;
}
.bino__pick:hover { background: var(--primary-hover); }
.bino__typing { display: flex; gap: 5px; padding: 15px 18px; }
.bino__typing span { width: 7px; height: 7px; border-radius: 50%; background: #93B4F6; animation: kbDot 1.2s infinite; }
.bino__typing span:nth-child(2) { animation-delay: .15s; }
.bino__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes kbDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes binoIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Cartão recomendado pelo BINO */
.pl-card.is-bino { box-shadow: 0 0 0 2px var(--primary), 0 0 0 8px rgba(37, 99, 235, .12), 0 24px 50px rgba(37, 99, 235, .14); }
@media (prefers-reduced-motion: reduce) {
  .bino__msg, .bino__quick { animation: none; }
}

/* ── Como funciona ──────────────────────────────────────── */
/* Quatro mini ilustrações em degrau, ligadas por linhas, com o texto por baixo. */
/* Fundo: céu com mar de nuvens (foto 16:9) preso ao fundo, com largura --sky-w.
   As nuvens ocupam os ~39% de baixo da foto; o padding de baixo reserva esse espaço
   para nunca ficarem por trás do texto. Acima da foto o céu continua num gradiente
   (#E5ECFD = cor do topo da foto, já recolorida para o azul da marca, e a mesma com que o BINO termina);
   em baixo funde com #F8FAFF. */
.pl-steps {
  --sky-w: 100%;
  --sky-h: 56.2vw;
  background:
    linear-gradient(rgba(248, 250, 255, 0) calc(100% - 80px), #F8FAFF),
    linear-gradient(#E5ECFD calc(100% - var(--sky-h)), rgba(229, 236, 253, 0) calc(100% - var(--sky-h) + 220px)),
    url('/assets/clouds-sky.webp') center bottom / var(--sky-w) auto no-repeat,
    #E5ECFD;
  padding-bottom: calc(18vw + 120px);
}
.pl-steps__head {
  margin-bottom: 88px;
}
/* Cabeçalho igual ao das outras secções; a palavra final em gradiente da marca */
.pl-steps .pl-title em {
  background: linear-gradient(90deg, var(--primary), #88CAFA); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
[dir="rtl"] .pl-steps .pl-title em { background-image: linear-gradient(270deg, var(--primary), #88CAFA); }

/* Ecrãs em degrau (pares mais abaixo), ligados por linhas com cantos arredondados */
/* subgrid: ilustração, título e descrição em linhas partilhadas, para os textos
   começarem todos à mesma altura mesmo com as ilustrações em degrau */
/* cinco passos: a secção alarga um pouco para os cartões não ficarem estreitos */
.pl-steps > .pl-wrap { max-width: 1400px; }
.pl-steps__list { --gap: 40px; --drop: 72px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 0; list-style: none; padding: 0; margin: 0; }
.step { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-items: start; }
.step:nth-child(even) .step__art { margin-top: var(--drop); }
.step__art {
  position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 260 / 180;
  margin-bottom: 52px; padding: 12px; border-radius: 20px; background: #fff;
  isolation: isolate;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px rgba(15,23,42,.06);
}
.step__art svg { display: block; }
/* Texto do passo direto sobre o céu; um brilho branco suave (sem contornos) por trás ajuda a leitura.
   O subgrid mantém títulos e descrições alinhados entre colunas. */
.step__txt { position: relative; isolation: isolate; grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 0; }
.step__txt::before {
  content: ""; position: absolute; inset: -28px -36px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
}
.step__t { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); }
/* Ícone: medalhão azul da marca no canto de baixo da ilustração, metade fora, a ligar a imagem ao título */
.step__icon {
  position: absolute; bottom: -24px; inset-inline-start: 20px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 15px; color: #fff;
  background: linear-gradient(145deg, #5B8FF5, var(--primary) 60%, #1D4ED8);
  border: 3px solid #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .32), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.step__icon svg { display: block; }
/* Número do passo: pequena pastilha no canto de cima à esquerda do cartão, metade fora
   (sempre à esquerda, também em hebraico), para não tapar a ilustração */
.step__no {
  position: absolute; top: -11px; left: -11px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: var(--primary); border: 1px solid #DBE4F3;
  box-shadow: 0 6px 14px -4px rgba(37, 99, 235, .28);
  font-size: 13px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}
.step__d { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.step__d strong { font-weight: 600; color: var(--primary); }
.pl-steps__bar { display: none; }
/* atalho flutuante para o WhatsApp */
.pl-fab {
  position: fixed; z-index: 40; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 20px; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 600;
  box-shadow: 0 12px 28px -10px rgba(37,99,235,.65), 0 2px 6px rgba(15,23,42,.12);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.pl-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.pl-burger, .pl-menu { display: none; }
.step__num { display: none; }
/* a linha parte do meio do lado deste ecrã e desce (ou sobe) até ao meio do seguinte */
.step__art .step__line { position: absolute; top: calc(50% - 1px); inset-inline-start: 100%; width: var(--gap); height: var(--drop); overflow: visible; pointer-events: none; }
.step__art .step__line.is-up { top: auto; bottom: calc(50% - 1px); transform: scaleY(-1); }
[dir="rtl"] .step__art .step__line { transform: scaleX(-1); }
[dir="rtl"] .step__art .step__line.is-up { transform: scale(-1, -1); }

/* ── FAQ ────────────────────────────────────────────────── */
.pl-faq { background: var(--soft); }
.pl-faq__inner { max-width: 860px; }
.pl-faq__list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 16.5px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; inset: 50% auto auto 50%;
  width: 12px; height: 1.6px; background: var(--primary);
  transform: translate(-50%, -50%); transition: transform .2s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }

/* ── Contato ────────────────────────────────────────────── */
.pl-contact { background: #2453E8 url('/assets/hero-bg.webp') center / cover no-repeat; color: #fff; }
.pl-contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.pl-contact__copy .pl-title { text-align: start; }
.pl-contact__lead { margin-top: 20px; font-size: 17px; color: rgba(255,255,255,.85); max-width: 440px; }

.pl-form {
  display: grid; gap: 16px;
  padding: 32px;
  background: #fff; color: var(--ink);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(4,9,26,.25);
}
.pl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pl-field { display: grid; gap: 6px; }
.pl-field span { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.pl-field input, .pl-field select, .pl-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff;
  font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
[dir="rtl"] .pl-field input[dir="ltr"] { text-align: right; }
.pl-field textarea { resize: vertical; min-height: 104px; }
.pl-field input:focus, .pl-field select:focus, .pl-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.pl-form__privacy { font-size: 12.5px; color: var(--ink-3); }
.pl-form__submit { width: 100%; }
.pl-form__status { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.pl-form__status--ok  { background: #DCFCE7; color: #166534; }
.pl-form__status--err { background: #FEE2E2; color: #991B1B; }

/* ── Footer ─────────────────────────────────────────────── */
.pl-footer { background: var(--dark-900); color: rgba(255,255,255,.6); font-size: 13.5px; }
.pl-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; }

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width: 900px) {
}
@media (max-width: 1100px) {
  .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .pl-card { grid-row: auto; grid-template-rows: auto auto 1fr auto; }
  .pl-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-steps__list { --gap: 56px; }
  .step:nth-child(-n+4) .step__txt { margin-bottom: 72px; }
  .step:nth-child(2n) .step__line { display: none; }
}
@media (max-width: 720px) {
  .pl-section { padding-block: 72px; }
  /* passos empilhados: foto à largura de ~2,6 ecrãs para as nuvens não ficarem uma faixa fina */
  .bino__logo { width: 124px; margin-bottom: 24px; }
  .bino.is-open .bino__logo { width: 72px; }
  .bino__lead { font-size: 16px; }
  .bino__panel { border-radius: 24px; }
  .bino__form { padding: 8px; padding-inline-start: 18px; }
  .bino__input { font-size: 16px; height: 48px; }
  .bino__send { width: 48px; height: 48px; }
  .bino.is-open .bino__log { max-height: 60vh; padding: 20px 16px 14px; }
  .bino__msg { max-width: 90%; }
  /* BINO: um pouco menos de espaço por baixo, os passos já trazem o seu */
  .pl-section.pl-bino { padding-block: 72px 24px; }
  .pl-section.pl-steps { --sky-w: 260%; --sky-h: 146vw; padding-bottom: calc(50vw + 72px); }
  .pl-head { margin-bottom: 40px; }
  .pl-header { inset: 10px 0 auto; padding-inline: 12px; }
  .pl-header__bar { height: 58px; padding-inline: 18px 8px; }
  [dir="rtl"] .pl-header__bar { padding-inline: 18px 8px; }
  .pl-header__logo { height: 20px; width: auto; }
  .pl-btn--ghost { height: 38px; padding: 0 14px; font-size: 13px; }
  .pl-lang summary { height: 38px; padding: 0 10px; }
  /* Ao rolar, a barra encolhe até um botão redondo no canto (menu hambúrguer) */
  .pl-header__bar {
    position: relative; z-index: 2; width: 100%; overflow: hidden;
    transition: width .4s var(--ease), padding .4s var(--ease), height .4s var(--ease), background .3s var(--ease);
  }
  .pl-header__logo, .pl-header__right { flex-shrink: 0; transition: opacity .2s var(--ease); }
  .pl-burger {
    display: grid; place-content: center; gap: 4px; position: absolute; top: 50%; inset-inline-end: 3px;
    width: 46px; height: 46px; margin-top: -23px; padding: 0; border: 0; border-radius: 50%;
    background: none; color: #fff; cursor: pointer; opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease) .1s;
  }
  .pl-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s var(--ease); }
  .pl-header.is-compact .pl-header__bar { width: 52px; height: 52px; padding: 0; margin-inline: auto 0; background: rgba(37, 99, 235, .78); }
  .pl-header.is-compact .pl-header__logo, .pl-header.is-compact .pl-header__right { opacity: 0; pointer-events: none; }
  .pl-header.is-compact .pl-burger { opacity: 1; pointer-events: auto; }
  .pl-header.is-menu .pl-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .pl-header.is-menu .pl-burger span:nth-child(2) { opacity: 0; }
  .pl-header.is-menu .pl-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .pl-menu {
    display: block; position: absolute; top: 0; inset-inline: 12px; z-index: 1; pointer-events: auto;
    padding: 72px 20px 20px; border-radius: 28px; background: #fff; color: var(--ink);
    box-shadow: 0 24px 70px rgba(4, 9, 26, .28);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top; transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .pl-menu[hidden] { display: none; }
  .pl-header.is-menu .pl-menu { opacity: 1; transform: none; }
  .pl-menu__links a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; }
  .pl-menu__links li:last-child a { border-bottom: 0; }
  .pl-menu__langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
  .pl-menu__langs a { display: flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; }
  .pl-menu__langs a[aria-current] { border-color: var(--primary); color: var(--primary); font-weight: 600; }
  .pl-menu__cta { width: 100%; margin-top: 16px; }
  /* Hero: título, projetos, texto e botão ao centro; no fundo o plano atual e o contador */
  .pl-hero { display: flex; flex-direction: column; min-height: 100svh; padding: 0; }
  .pl-hero__inner {
    position: relative; flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0;
    padding-top: clamp(112px, 15svh, 140px); padding-bottom: 120px;
  }
  .hero__main { display: contents; }
  .pl-hero__title { order: 1; font-size: clamp(30px, 8.4vw, 34px); line-height: 1.2; letter-spacing: -0.03em; color: #fff; text-align: center; }
  .hero__fan { order: 2; margin-top: 52px; }
  .pl-hero__lead { order: 3; margin: 40px auto 0; max-width: 34ch; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.75); text-align: center; text-wrap: balance; }
  .pl-hero__inner > .hero__main > .pl-btn { order: 4; align-self: center; margin-top: 32px; height: 50px; padding: 0 28px; font-size: 15px; }
  /* fundo: plano atual à esquerda, contador à direita, discretos */
  .hero__side { bottom: 28px; flex-direction: column; align-items: flex-start; gap: 9px; }
  .hero__dots { order: 1; flex-direction: row; gap: 6px; padding-top: 0; }
  .hero__dot { width: 4px; height: 4px; }
  .hero__dot.is-on { height: 4px; width: 16px; }
  .hero__meta-name { font-size: 13px; }
  .hero__meta-line { margin-top: 2px; font-size: 11px; }
  .hero__count { bottom: 28px; font-size: 13px; }
  .hero__count-num { font-size: 24px; }
  .hero__count-label { margin-bottom: 4px; font-size: 10px; }
  /* área de toque de ~44px sem mudar o desenho */
  .hero__dot, .pl-tab, .pl-steps__bar button, .pl-lang summary, .pl-header .pl-btn--ghost, .cmp__choose { position: relative; }
  .hero__dot::after, .pl-steps__bar button::after { content: ""; position: absolute; inset: -19px -5px; }
  .pl-tab::after { content: ""; position: absolute; inset: -5px 0; }
  .pl-lang summary::after, .pl-header .pl-btn--ghost::after { content: ""; position: absolute; inset: -4px; }
  .cmp__choose::after { content: ""; position: absolute; inset: -10px -6px; }
  .pl-card__badge { font-size: 13px; }
  .bino__note { font-size: 13px; }
  /* BINO: as três perguntas numa só linha, deslizando para o lado */
  .bino__chips {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-inline: -24px; padding: 2px 24px 4px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent);
  }
  [dir="rtl"] .bino__chips {
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(270deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent);
  }
  .bino__chips::-webkit-scrollbar { display: none; }
  .bino__chip { flex-shrink: 0; white-space: nowrap; }
  /* FAQ num ecrã */
  .pl-section.pl-faq { padding-block: 48px; }
  .pl-faq .pl-head { margin-bottom: 24px; }
  .pl-faq .pl-title { font-size: 30px; }
  .pl-faq__list { gap: 8px; }
  .faq summary { padding: 12px 18px; font-size: 15.5px; }
  .faq p { padding: 0 18px 16px; font-size: 14.5px; }
  /* Carrossel horizontal: um cartão por vez, com o seguinte a espreitar */
  .pl-tabs {
    display: flex; justify-content: center; gap: 4px; margin: 0 auto 6px; padding: 4px;
    width: fit-content; max-width: 100%; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15,23,42,.06);
  }
  .pl-tab {
    padding: 8px 10px; border: 0; border-radius: 999px; background: none;
    font-size: 13.5px; font-weight: 500; color: var(--ink-2); cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease);
  }
  .pl-tab.is-on { background: var(--primary); color: #fff; }
  .pl-grid {
    position: relative; display: flex; gap: 14px;
    margin-inline: -24px; padding: 26px 8vw 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .pl-grid::-webkit-scrollbar { display: none; }
  .pl-section.pl-plans { padding-top: 14px; }
  .pl-grid { padding-inline: 6vw; gap: 12px; }
  .pl-card { flex: 0 0 88vw; scroll-snap-align: center; }
  /* cartão: separadores + cartão cabem num ecrã; o ar entre blocos cresce com a altura do ecrã */
  .pl-card, .pl-card--popular { row-gap: clamp(14px, 2.4svh - 2px, 20px); padding: clamp(22px, 3.8svh - 2px, 30px) 22px clamp(18px, 3.2svh - 2px, 26px); }
  .pl-card--popular { padding: calc(clamp(22px, 3.8svh - 2px, 30px) - 1px) 21px calc(clamp(18px, 3.2svh - 2px, 26px) - 1px); }
  .pl-card__head { gap: clamp(6px, 1.2svh - 2px, 10px); align-content: start; }
  .pl-card__name { font-size: 25px; }
  .pl-card__for { font-size: 14px; line-height: 1.5; text-align: center; text-wrap: balance; }
  .pl-card__for-label { margin-bottom: 2px; font-size: 13px; }
  .pl-card__price { padding-bottom: clamp(12px, 2svh - 1px, 16px); font-size: 38px; }
  .pl-card__price--text { font-size: 25px; line-height: 38px; }
  .pl-card__body { gap: clamp(12px, 2svh - 1px, 16px); }
  .pl-card__meta { font-size: 14.5px; }
  .pl-card__list { gap: clamp(7px, 1.4svh - 2px, 11px); }
  .pl-card__list li { font-size: 14px; line-height: 1.38; }
  .pl-card__cta { height: 50px; }
  /* nota discreta: sem caixa, texto pequeno e centrado, ícone na mesma linha */
  .pl-fine { display: block; max-width: 330px; margin-top: 24px; padding: 0; border: 0; background: none; font-size: 13px; line-height: 1.6; color: var(--ink-3); text-align: center; text-wrap: balance; }
  .pl-fine svg { display: inline-block; width: 14px; height: 14px; margin: 0 0 -2px; margin-inline-end: 5px; vertical-align: baseline; }
  .pl-steps__head { margin-bottom: 40px; }
  /* Passos: palco com a altura do ecrã, por cima das nuvens. Os cartões trocam com
     um deslizar do dedo (ou tocando nos pontos); a página rola normalmente. */
  .pl-section.pl-steps { height: auto; padding: 0; background: #E5ECFD; }
  .pl-steps > .pl-wrap {
    position: relative; height: 100svh; display: flex; flex-direction: column; justify-content: flex-start;
    padding-top: clamp(50px, 8svh, 80px); padding-bottom: 12px; overflow: hidden;
    background:
      linear-gradient(#E5ECFD 30%, rgba(229,236,253,0) 62%),
      url('/assets/clouds-sky.webp') center bottom / 260% auto no-repeat,
      #E5ECFD;
  }
  /* passagem suave para as perguntas: as nuvens desfocam e desvanecem para a cor da secção seguinte */
  .pl-steps > .pl-wrap::after {
    content: ""; position: absolute; inset: auto 0 0; height: 120px; pointer-events: none;
    background: linear-gradient(rgba(248, 250, 255, 0), #F8FAFF 92%);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    -webkit-mask-image: linear-gradient(transparent, #000 55%); mask-image: linear-gradient(transparent, #000 55%);
  }
  .pl-steps__head { margin-bottom: clamp(16px, 2.6svh, 26px); }
  .pl-steps__head .pl-title { font-size: 26px; }
  .pl-steps__list {
    position: relative; display: block; flex: 0 1 auto; height: min(61svh, 540px); margin-inline: -24px;
    perspective: 1200px; list-style: none; counter-reset: step;
    touch-action: pan-y; -webkit-user-select: none; user-select: none;
  }
  /* Cartão: moldura branca; dentro, um painel com gradiente e grão (título, linha de estado
     e a ilustração assente em baixo); por baixo, o texto do passo e o número numa pílula escura */
  .step {
    position: absolute; top: 0; left: 50%; width: min(82vw, 360px); height: 100%; margin-left: calc(min(82vw, 360px) / -2);
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) 128px; align-items: stretch;
    padding: 12px; border-radius: 44px; background: #fff; overflow: hidden;
    /* halo branco suave: os cartões parecem flutuar nas nuvens */
    box-shadow: 0 0 48px 6px rgba(255,255,255,.6), 0 34px 60px -30px rgba(30,58,138,.35);
    transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden;
  }
  [dir="rtl"] .step { left: auto; right: 50%; margin-left: 0; margin-right: calc(min(82vw, 360px) / -2); }
  .step:nth-child(even) .step__art { margin-top: 0; }
  .step__art {
    grid-column: 1 / -1; grid-row: 1 / 3; position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: flex-end; justify-content: center; width: auto; margin: 0; padding: 84px 14px 16px;
    aspect-ratio: auto; border-radius: 34px; box-shadow: none; pointer-events: none;
    background:
      radial-gradient(120% 55% at 50% 0%, rgba(255,255,255,.85), rgba(255,255,255,0) 60%),
      linear-gradient(180deg, #EFF1F5 0%, #E6EBF4 30%, #D6E1F6 55%, #BDD0F8 78%, #A8C2F8 100%);
  }
  /* grão fino por cima do gradiente */
  .step__art::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .45; mix-blend-mode: overlay;
  }
  .step__art svg { width: 100%; height: auto; max-height: min(250px, 28svh); }
  .step__art .step__line, .step__icon { display: none; }
  .step__no { top: 14px; left: 16px; width: 26px; height: 26px; font-size: 12.5px; background: rgba(255,255,255,.8); box-shadow: none; }
  .step__txt { display: contents; }
  .step__txt::before { display: none; }
  .step__t {
    grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 1; padding: 44px 16px 0;
    font-size: 27px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; text-align: center; color: var(--ink);
  }
  .step__d {
    grid-column: 2; grid-row: 3; align-self: center; margin: 0; padding: 10px 14px 6px;
    font-size: 16px; line-height: 1.5; text-align: start; color: var(--ink-2);
  }
  .step__d strong { font-weight: 600; color: var(--primary); unicode-bidi: isolate; }
  .step__num {
    display: flex; align-items: center; justify-content: center; grid-column: 1; grid-row: 3; align-self: center;
    width: 50px; height: 50px; margin-inline-start: 8px; border-radius: 16px;
    background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .04em;
    box-shadow: 0 8px 18px -6px rgba(37,99,235,.55);
  }
  /* indicador: pílula escura com pontos, como no vídeo */
  .pl-steps__bar {
    display: flex; gap: 5px; width: fit-content; margin: 22px auto 0; padding: 7px 10px;
    border-radius: 999px; background: rgba(15,23,42,.5);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .pl-steps__bar button {
    width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; cursor: pointer;
    background: rgba(255,255,255,.45); transition: width .3s var(--ease), background .3s var(--ease);
  }
  .pl-steps__bar button.is-on { width: 16px; background: #fff; }
  
  /* Tabela estreita: a mesma tabela do desktop (nome + 3 colunas), só com tamanhos menores */
  .pl-cmp .cmp-scroll { margin-top: 28px; margin-inline: -8px; border-radius: 16px; }
  .cmp { font-size: 12.5px; }
  .cmp thead th:not(:first-child) { width: 21%; }
  .cmp th[scope="row"], .cmp thead th:first-child { width: 37%; }
  .cmp th, .cmp td { padding: 10px 4px; overflow-wrap: break-word; hyphens: auto; }
  .cmp th[scope="row"] { padding-inline-start: 12px; font-size: 13.5px; line-height: 1.35; }
  .cmp td { font-size: 12.5px; line-height: 1.35; }
  .cmp thead th { top: 76px; padding: 12px 4px 10px; }
  .cmp thead th:first-child { padding-inline-start: 12px; font-size: 12px; letter-spacing: .04em; }
  .cmp thead th:first-child { border-start-start-radius: 16px; }
  .cmp thead th:last-child { border-start-end-radius: 16px; }
  .cmp__name { font-size: 16px; }
  .cmp__price { font-size: 12.5px; }
  .cmp__eta { display: none; }
  .cmp__choose { margin-top: 8px; padding: 5px 6px; font-size: 12px; white-space: nowrap; }
  .cmp__group th { padding: 20px 12px 9px; font-size: 14.5px; }
  .cmp__yes svg { width: 15px; height: 15px; }
}

/* ── Contato: responsivo ─────────────────────────────────── */
@media (max-width: 1100px) {
  .pl-contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .pl-contact__copy, .pl-contact__copy .pl-title { text-align: center; }
  .pl-contact__lead { margin-inline: auto; }
}
@media (max-width: 720px) {
  .pl-form { padding: 22px; }
  .pl-footer__inner { flex-direction: column; text-align: center; }
  .pl-field textarea { resize: none; height: 76px; min-height: 76px; }
  .pl-form__privacy { font-size: 13px; }
  /* Contacto num ecrã: título menor, campos aos pares e mais baixos */
  .pl-section.pl-contact { padding-block: 36px; }
  .pl-contact__grid { gap: 18px; }
  .pl-contact .pl-title { font-size: 28px; }
  .pl-contact__lead { margin-top: 10px; font-size: 15px; }
  .pl-form { gap: 10px; padding: 18px; border-radius: 20px; }
  .pl-form__row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pl-field { gap: 4px; }
  .pl-field span { font-size: 13px; }
  /* 16px: o iPhone não faz zoom ao tocar no campo */
  .pl-field input, .pl-field select, .pl-field textarea { padding: 10px 11px; font-size: 16px; }
  .pl-form__submit { height: 48px; }
  .pl-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* ── Desktop: hero em ecrã inteiro, cartões dos planos inteiros no ecrã, "como funciona" num ecrã ── */
@media (min-width: 721px) {
  /* a área do hero cresce com o ecrã: plano atual no canto de cima, contador no canto de baixo */
  .pl-hero { display: flex; flex-direction: column; min-height: 100svh; padding-top: clamp(130px, 17vh, 176px); padding-bottom: clamp(64px, 9vh, 112px); }
  .pl-hero__inner { flex: 1; width: 100%; }

  .pl-section.pl-plans { padding-top: clamp(92px, 11.5vh, 104px); }
  .pl-card { row-gap: clamp(14px, 2.2vh, 20px); padding: clamp(22px, 3.5vh, 32px) 26px clamp(22px, 2.8vh, 26px); }
  .pl-card--popular { padding: calc(clamp(22px, 3.5vh, 32px) - 1px) 25px calc(clamp(22px, 2.8vh, 26px) - 1px); }
  .pl-card__head { gap: clamp(8px, 1.3vh, 12px); }
  .pl-card__for { text-align: center; text-wrap: balance; font-size: clamp(13px, 1.75vh, 15px); }
  .pl-card__for-label { margin-bottom: 3px; }
  .pl-card__price { padding-bottom: clamp(14px, 2vh, 20px); font-size: clamp(34px, 4.7vh, 44px); }
  .pl-card__price--text { font-size: clamp(22px, 3vh, 26px); }
  .pl-card__body { gap: clamp(12px, 1.7vh, 16px); }
  .pl-card__list { gap: clamp(8px, 1.25vh, 12px); }
  .pl-card__list li { font-size: clamp(13.5px, 1.75vh, 15px); line-height: 1.4; }

  .pl-section.pl-steps { min-height: 100svh; padding-top: clamp(96px, 12.5vh, 112px); padding-bottom: clamp(100px, 17vh, 170px); }
  .pl-steps__head { margin-bottom: clamp(28px, 10vh, 96px); }
  .pl-steps__list { --drop: clamp(36px, 8vh, 72px); }
}
/* Desktop largo: cada passo (ilustração + texto) desce em degrau junto; o bloco fica centrado na secção */
@media (min-width: 1101px) {
  .pl-section.pl-steps { display: flex; flex-direction: column; padding-bottom: clamp(56px, 9vh, 110px); }
  .pl-steps > .pl-wrap { flex: 1; display: flex; flex-direction: column; width: 100%; }
  .pl-steps__head { margin-bottom: clamp(24px, 4vh, 48px); }
  .pl-steps__list { margin-block: auto; padding-bottom: var(--drop); }
  .step:nth-child(even) .step__art { margin-top: 0; }
  .step:nth-child(even) { transform: translateY(var(--drop)); }
}

/* ── Hero (desktop): onda azul por cima do fundo, na metade de cima (virada ao contrário,
   para deixar livre o canto do texto); em hebraico fica também espelhada. ── */
@media (min-width: 721px) {
  .pl-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: url('/assets/promotion-hero-wave.webp') center / cover no-repeat;
    transform: translateY(14%) rotate(-15deg) scale(1.3) scaleY(-1); opacity: .45;
    /* a onda fica a meio: suave junto ao topo e desvanece antes da zona do texto
       (o ::before está virado, por isso o gradiente "to top" começa no topo visível) */
    --wave-mask: linear-gradient(to top, transparent 12%, rgba(0,0,0,.55) 24%, #000 34%, #000 42%, transparent 60%);
    -webkit-mask-image: var(--wave-mask); mask-image: var(--wave-mask);
  }
  [dir="rtl"] .pl-hero::before { transform: translateY(14%) rotate(-15deg) scale(1.3) scale(-1, -1); }
  /* versão animada da onda (vídeo sobre fundo preto: "screen" deixa só a água); entra suave por cima da imagem */
  .pl-hero__wave {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
    transform: translateY(14%) rotate(-15deg) scale(1.3) scaleY(-1); opacity: 0; transition: opacity 1.2s ease;
    mix-blend-mode: screen;
    --wave-mask: linear-gradient(to top, transparent 12%, rgba(0,0,0,.55) 24%, #000 34%, #000 42%, transparent 60%);
    -webkit-mask-image: var(--wave-mask); mask-image: var(--wave-mask);
  }
  [dir="rtl"] .pl-hero__wave { transform: translateY(14%) rotate(-15deg) scale(1.3) scale(-1, -1); }
  .pl-hero.has-wave-video .pl-hero__wave { opacity: .45; }
  .pl-hero.has-wave-video::before { opacity: 0; transition: opacity 1.2s ease; }
  .hero__meta { text-shadow: 0 1px 14px rgba(10, 30, 120, .65), 0 0 2px rgba(10, 30, 120, .35); }
}

/* ── Hero (desktop): frase de impacto numa linha, projetos em leque, texto e botão, tudo ao centro ── */
@media (min-width: 721px) {
  .pl-hero__title { font-size: clamp(22px, 3.9vw - 6px, 54px); line-height: 1.1; letter-spacing: -0.035em; color: #fff; white-space: nowrap; }
  /* título em cima, leque no meio do hero, texto e botão em baixo */
  .pl-hero__inner { align-items: stretch; }
  .hero__main { justify-content: space-between; padding: clamp(16px, 4vh, 44px) 0; }
  .hero__fan { flex: 1; min-height: calc(var(--cw) * 1.25); }
  .pl-hero__lead { margin: 0 auto; max-width: 36ch; font-size: clamp(18px, 1.5vw, 22px); text-align: center; }
  .hero__main > .pl-btn { margin-top: 30px; }
}

/* palavras em destaque no título e no subtítulo */
.pl-hero__title em, .pl-hero__lead em {
  font-style: normal;
  background: linear-gradient(90deg, #CFE7FF, #8FCBFF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
[dir="rtl"] .pl-hero__title em, [dir="rtl"] .pl-hero__lead em { background-image: linear-gradient(270deg, #CFE7FF, #8FCBFF); }
.pl-hero__lead em { font-weight: 600; }

/* projetos em leque: cartões sobrepostos, um pouco rodados, com o nome do primeiro e do último */
.hero__fan { --h: 0; --cw: clamp(190px, 21vw, 310px); --dx: calc(var(--cw) * .555); position: relative; width: 100%; height: calc(var(--cw) * 1.11); perspective: 1400px; }
.hero__fan figure {
  position: absolute; left: 50%; top: 50%; margin: 0; width: var(--cw); aspect-ratio: 5 / 4;
  border-radius: 18px; border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 30px 50px -24px rgba(8,20,90,.7), 0 2px 8px rgba(8,20,90,.25);
  /* --h (0 a 1) = quão perto está o rato: o cartão sobe, cresce e endireita-se, como na Dock do Mac */
  /* --e (0 em repouso) = quantos lugares falta andar na entrada em roleta, vinda da direita */
  --kk: calc(var(--k) + var(--e, 0));
  transform: translate(-50%, -50%) translateX(calc(var(--kk) * var(--dx))) translateY(calc(var(--kk) * var(--kk) * 3px - var(--h) * 24px))
    rotateY(calc(-14deg * (1 - var(--h)))) rotateZ(calc(var(--kk) * 3deg * (1 - var(--h)))) scale(calc(1 + var(--h) * .16));
  will-change: transform;
}
.hero__fan img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 12% 0; }
/* balão com o nome do cartão em destaque, nas cores do site; um sim, um não fica por cima */
.hero__fan figcaption {
  position: absolute; z-index: 9; top: calc(100% + 14px); left: 50%; padding: 8px 16px; border-radius: 14px;
  font-size: clamp(13px, 1.15vw, 17px); font-weight: 500; line-height: 1.1; white-space: nowrap;
  color: var(--fg); background: var(--bg); box-shadow: 0 10px 24px -10px rgba(0,0,40,.6); pointer-events: none;
  opacity: calc((var(--h) - .55) * 3); transform: translate(-50%, calc((var(--h) - 1) * 12px));
}
.hero__fan figcaption::after { content: ""; position: absolute; top: -6px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--bg); }
/* por cima fica encostado à borda do cartão, para não tocar no título */
.hero__fan figcaption.is-up { top: auto; bottom: calc(100% - 14px); transform: translate(-50%, calc((1 - var(--h)) * 12px)); }
.hero__fan figcaption.is-up::after { top: auto; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--bg); }
@media (prefers-reduced-motion: reduce) { .hero__meta, .hero__dot { transition: none; } }
/* entrada: cartões escondidos até a roleta começar */
.fan-in .hero__fan figure { opacity: 0; }
/* depois da entrada, o bloco inteiro balança devagar para os lados; para quando o rato está em cima */
.hero__fan.is-sway { --sw: 16px; animation: fan-sway-in 3.5s ease-in-out, fan-sway 7s ease-in-out 3.5s infinite alternate; }
.hero__fan.is-sway:hover { animation-play-state: paused; }
@keyframes fan-sway-in { from { transform: none; } to { transform: translateX(calc(var(--sw) * -1)); } }
@keyframes fan-sway { from { transform: translateX(calc(var(--sw) * -1)); } to { transform: translateX(var(--sw)); } }
@media (prefers-reduced-motion: reduce) { .hero__fan.is-sway { animation: none; } }
@media (max-width: 720px) {
  .hero__fan { --cw: 124px; --dx: 47px; height: 156px; }
  .hero__fan.is-sway { --sw: 8px; }
  .hero__fan figure { border-radius: 12px; }
}

/* ── BINO a flutuar: depois da secção do BINO fica numa bolha à direita, por cima do WhatsApp;
   clicar volta ao chat. O vídeo já vem recortado: o corpo pelo círculo, o braço e a mão por fora. ── */
.bino-dock {
  --d: 74px;
  position: fixed; z-index: 39; right: 20px; bottom: calc(86px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 26px; flex-direction: row-reverse; direction: ltr;
  padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit;
  opacity: 0; pointer-events: none; transform: translateY(30px) scale(.6); transform-origin: right bottom;
  transition: transform .7s cubic-bezier(.2, 1.3, .4, 1), opacity .4s ease;
  -webkit-tap-highlight-color: transparent;
}
.bino-dock[hidden] { display: none; }
.bino-dock.is-on { opacity: 1; pointer-events: auto; transform: none; }
.bino-dock__bot {
  position: relative; display: block; flex-shrink: 0; width: var(--d); height: var(--d); border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff, #E5ECFD 75%);
  box-shadow: 0 0 0 3px #fff, 0 14px 28px -8px rgba(29, 78, 216, .55);
}
.bino-dock__bot::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(37, 99, 235, .5); animation: binoRing 2.4s ease-out infinite; pointer-events: none; }
@keyframes binoRing { from { transform: scale(1); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.bino-dock__vid {
  position: absolute; left: calc(var(--d) * -.3126); top: calc(var(--d) * -.1806); width: calc(var(--d) * 1.32); height: auto; aspect-ratio: 320 / 288;
  filter: drop-shadow(0 4px 6px rgba(29, 78, 216, .25)); pointer-events: none;
}
.bino-dock__tip {
  position: relative; white-space: nowrap; padding: 10px 14px; border-radius: 16px 16px 4px 16px;
  background: #fff; color: #1E3A8A; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, .25), 0 0 0 1px rgba(37, 99, 235, .12);
  opacity: 0; transform: translateX(8px) scale(.96); transform-origin: right center; transition: opacity .3s ease, transform .3s ease;
}
.bino-dock.is-tip .bino-dock__tip, .bino-dock:hover .bino-dock__tip, .bino-dock:focus-visible .bino-dock__tip { opacity: 1; transform: none; }
.bino-dock:hover .bino-dock__bot { animation: binoHop .6s ease; }
@keyframes binoHop { 40% { transform: translateY(-6px); } }
@media (max-width: 720px) {
  .bino-dock { --d: 62px; right: 16px; bottom: calc(78px + env(safe-area-inset-bottom)); gap: 22px; }
  .bino-dock__tip { font-size: 13px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bino-dock, .bino-dock__tip { transition: none; }
  .bino-dock__bot, .bino-dock__bot::before { animation: none !important; }
}

/* ── Janela flutuante do BINO: depois da 1.ª pergunta a conversa passa para aqui, à direita ── */
/* com a janela, a secção fica como antes da 1.ª pergunta (campo, sugestões, robô grande) */
.bino.is-win .bino__chips { display: flex; }
.bino.is-win .bino__logo { width: 150px; margin-bottom: 30px; }
.bino.is-win .bino__head { margin-bottom: 36px; }
.bino__reopen[hidden] { display: none; }
.bino__reopen { flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: 999px; cursor: pointer; background: var(--primary); color: #fff; font: inherit; font-size: 14px; font-weight: 600; }
.bino__reopen:hover { background: var(--primary-hover); }
.bino-win {
  position: fixed; z-index: 60; right: 20px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 384px; height: min(600px, calc(100svh - 190px));
  display: flex; flex-direction: column; background: #fff; border-radius: 26px;
  box-shadow: 0 30px 70px -20px rgba(15, 23, 42, .35), 0 0 0 1px rgba(37, 99, 235, .1);
  opacity: 0; pointer-events: none; transform: translateY(24px) scale(.94); transform-origin: right bottom;
  transition: opacity .3s ease, transform .5s cubic-bezier(.2, 1.2, .4, 1);
}
.bino-win[hidden] { display: none; }
.bino-win.is-open { opacity: 1; pointer-events: auto; transform: none; }
.bino-win__head {
  position: relative; display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  padding: 14px; padding-inline-start: 18px; border-radius: 26px 26px 0 0; color: #fff;
  background: linear-gradient(135deg, #4F86F0, var(--primary) 55%, #1D4ED8);
}
.bino-win__name { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.bino-win__name b { font-size: 17px; letter-spacing: .04em; }
.bino-win__name small { font-size: 12.5px; opacity: .85; }
.bino-win__name small::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 6px; border-radius: 50%; background: #4ADE80; vertical-align: 1px; }
.bino-win__min { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .16); }
.bino-win__min:hover { background: rgba(255, 255, 255, .28); }
/* avatar: a mesma bolha da doca, com o braço a sair do círculo */
.bino-win__ava { --d: 46px; position: relative; flex-shrink: 0; width: var(--d); height: var(--d); border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff, #E5ECFD 75%); box-shadow: 0 0 0 2px #fff; }
.bino-win__ava-vid { position: absolute; left: calc(var(--d) * -.3126); top: calc(var(--d) * -.1806); width: calc(var(--d) * 1.32); height: auto; aspect-ratio: 320 / 288; pointer-events: none; }
.bino-win__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bino-win__form { flex-shrink: 0; border-top: 1px solid var(--line); }
.bino-win .bino__log { flex: 1; min-height: 0; max-height: none; padding: 20px 18px 14px; }
.bino-win .bino__msg { font-size: 14.5px; max-width: 88%; }
.bino-win .bino__form { padding: 8px; padding-inline-start: 18px; }
.bino-win .bino__input { height: 46px; font-size: 16px; }
.bino-win .bino__send { width: 46px; height: 46px; }
.bino-win .bino__quick .bino__chip { max-width: 100%; white-space: normal; text-align: start; }

@media (max-width: 720px) {
  .bino-win { left: 8px; right: 8px; bottom: calc(76px + env(safe-area-inset-bottom)); width: auto; height: calc(100svh - 160px); border-radius: 24px; transform: translateY(30px) scale(.96); transform-origin: center bottom; }
  .bino-win.is-open { transform: none; }
  .bino-win__head { border-radius: 24px 24px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .bino-win { transition: none; } }

/* ── Hero: o tom do fundo muda com o plano (v.1.1.11: mais suave) ──
   Luna azul claro · Nova royal · Astra azul profundo · Cosmos azul-noite (cores da arte BINOVAR em vidro).
   Três camadas leves por cima do fundo e da onda: cor (blend "color"), escurecer (vinheta) e brilho claro. */
.pl-hero__tint, .pl-hero__shade, .pl-hero__glow { position: absolute; inset: 0; pointer-events: none; transition: opacity 1s ease, background-color 1s ease; }
.pl-hero__tint  { mix-blend-mode: color; opacity: .7; background-color: var(--tone); }
.pl-hero__shade { opacity: var(--shade);
  background: radial-gradient(ellipse max(70vw, 420px) max(80vh, 560px) at 50% 42%, #0f1528 0%, rgba(16,22,42,.92) 55%, rgba(20,32,80,.75) 100%); }
.pl-hero__glow  { mix-blend-mode: screen; opacity: var(--glow); background: #7fb8f0; }
.pl-hero { --tone: #3F7FD6; --shade: 0; --glow: .22; }
.pl-hero[data-tone="1"] { --tone: #2B4DBE; --shade: .14; --glow: 0; }
.pl-hero[data-tone="2"] { --tone: #1E3A9E; --shade: .3; --glow: 0; }
.pl-hero[data-tone="3"] { --tone: #1B2A78; --shade: .46; --glow: 0; }
@media (prefers-reduced-motion: reduce) { .pl-hero__tint, .pl-hero__shade, .pl-hero__glow { transition: none; } }

/* Header transparente enquanto está por cima do hero: fica com a mesma cor do fundo (v.1.1.11).
   Ao sair do hero (ou no botão redondo / menu do telemóvel) volta a barra azul de sempre. */
@media (min-width: 721px) {
  .pl-header__bar { transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease); }
}
.pl-header.is-over-hero:not(.is-compact):not(.is-menu) .pl-header__bar {
  background: transparent; border-color: rgba(255,255,255,.22);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}

/* ── Header (desktop): mesmo formato, altura e borda do menu do site principal (v.1.1.12) ──
   Pílula de 81px, raio 80px, borda em degradê branco (feita com máscara) e vidro desfocado.
   Por cima do hero fica transparente; depois do hero usa o azul do menu "scrolled" do site.
   O telemóvel fica como estava. */
@media (min-width: 721px) {
  .pl-header { inset: 16px 0 auto; padding-inline: 40px; }
  .pl-header__bar {
    position: relative;
    max-width: 1360px; height: 81px; padding-inline: 27px 37px;
    border: 0; border-radius: 80px;
    background: rgba(45, 94, 254, .703);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 32px rgba(45, 95, 254, .15);
    transition: background .35s ease, box-shadow .35s ease;
  }
  [dir="rtl"] .pl-header__bar { padding-inline: 27px 37px; }
  .pl-header__bar:hover { background: #2D5FFE; }
  .pl-header__bar::before {
    content: ""; position: absolute; inset: 0; border-radius: 80px; padding: 1px; pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.326) 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,.107) 30%, rgba(255,255,255,.187) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
  }
  .pl-header__logo { height: 28px; width: auto; }
  .pl-header.is-over-hero:not(.is-compact):not(.is-menu) .pl-header__bar {
    background: transparent; box-shadow: none;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  }
  .pl-header.is-over-hero:not(.is-compact):not(.is-menu) .pl-header__bar:hover { background: #2D5FFE; }
}
