/* GERADO POR scripts/build.ts A PARTIR DE src/shared/theme.ts — NAO EDITAR */
:root{
  --brand-cobalt: #1E2BC0;
  --brand-cobalt-deep: #161FA0;
  --brand-blue: #5B79C2;
  --brand-blue-deep: #44619F;
  --brand-blue-dark: #33487F;
  --brand-blue-night: #101A38;
  --brand-violet: #6F5BFF;
  --brand-violet-soft: #9B7FE8;
  --brand-magenta: #C04BD0;
  --brand-lime: #ADD84C;
  --brand-lime-soft: #C6E579;
  --brand-lime-glow: #E4F3BC;
  --brand-lime-shade: #9FCB40;
  --brand-cream: #F3F1E9;
  --brand-cream2: #EAE7DB;
  --brand-cream3: #EDEBE1;
  --brand-cream-yellow: #F0E4A6;
  --brand-ink: #242736;
  --brand-ink-soft: #3A3F55;
  --brand-muted: #5F6478;
  --brand-scrim: #172044;
  --brand-night: #0A0B18;
  --brand-night-deep: #06070E;
  --brand-burst-paper: #F7F7F5;
  --brand-burst-card: #FFFFFF;
  --brand-burst-bubble: #FFF0E3;
  --brand-burst-chip: #F1F2F4;
  --brand-burst-orange: #FF7A1A;
  --brand-burst-orange-soft: #FF9245;
  --brand-burst-lime: #B6F03C;
  --brand-burst-orange-ink: #A34300;
  --brand-burst-green-ink: #4C8B00;
  --brand-burst-text: #1A1C22;
  --brand-burst-text-muted: #5A6070;
  --brand-white: #FFFFFF;
  --surface-base: #F3F1E9;
  --surface-raised: #EAE7DB;
  --surface-brand: #44619F;
  --surface-hero-scrim: #2A3B6A;
  --surface-brand-strong: #33487F;
  --surface-night: #0A0B18;
  --surface-lime: #ADD84C;
  --surface-cobalt: #1E2BC0;
  --surface-white: #FFFFFF;
  --surface-burst-base: #F7F7F5;
  --surface-burst-card: #FFFFFF;
  --surface-burst-bubble: #FFF0E3;
  --surface-burst-chip: #F1F2F4;
  --surface-burst-orange: #FF7A1A;
  --surface-burst-lime: #B6F03C;
  --text-strong: #242736;
  --text: #3A3F55;
  --text-muted: #5F6478;
  --text-accent: #1E2BC0;
  --text-success: #276B45;
  --text-alert: #B3261E;
  --on-brand: #FFFFFF;
  --on-brand-muted: #DCE3F6;
  --on-brand-accent: #E4F3BC;
  --on-brand-warn: #F0E4A6;
  --on-night: #FFFFFF;
  --on-night-muted: #B9BEDA;
  --on-night-accent: #C6E579;
  --on-lime: #FFFFFF;
  --on-cobalt: #FFFFFF;
  --on-white: #242736;
  --on-burst: #1A1C22;
  --on-burst-muted: #5A6070;
  --on-burst-accent: #A34300;
  --on-burst-fill: #1A1C22;
  --border: #EAE7DB;
  --border-strong: #D9D5C6;
  --border-on-brand: rgba(243,241,233,.22);
  --border-on-night: rgba(255,255,255,.16);
  --border-on-burst: rgba(26,28,34,.12);
  --hero-gradient: linear-gradient(168deg, #5B79C2 0%, #44619F 46%, #33487F 100%);
  --lime-gradient: linear-gradient(135deg, #C6E579 0%, #ADD84C 55%, #9FCB40 100%);
  --shadow-brand: 0 24px 50px rgba(51,72,127,0.16);
  --shadow-brand-lg: 0 34px 70px rgba(51,72,127,0.3);
  --shadow-lime: 0 10px 26px rgba(173,216,76,0.38);
  --shadow-lime-hover: 0 16px 34px rgba(173,216,76,0.5);
  --radius: 22px;
  --radius-lg: 26px;
  --maxw: 1180px;
}

/* elevesse — folha principal.
   Regra: nenhuma cor de texto em hex aqui. Texto usa sempre um papel de src/shared/theme.ts
   (--text, --text-muted, --text-accent, --on-brand, --on-brand-muted, --on-brand-accent, ...). */

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Fredoka", -apple-system, "Segoe UI", sans-serif;
  background: var(--surface-base);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand { font-family: "Fredoka", sans-serif; letter-spacing: -.01em; line-height: 1.05; color: var(--text-strong); }
a { color: inherit; text-decoration: none; }
img, canvas { max-width: 100%; }
:focus-visible { outline: 3px solid var(--brand-cobalt); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface-lime); color: var(--on-lime); padding: 12px 20px; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------------- navbar ---------------- */
nav.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 30px;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
nav.site-nav.solid {
  background: color-mix(in srgb, var(--surface-brand-strong) 94%, transparent);
  backdrop-filter: blur(12px);
  padding: 12px 30px;
  box-shadow: var(--shadow-brand);
}
nav.site-nav .brand { color: var(--on-brand); font-weight: 600; font-size: 1.55rem; letter-spacing: -.02em; }
.brand .dot { color: var(--on-brand-accent); }
nav.site-nav .links { display: flex; gap: 30px; align-items: center; }
nav.site-nav .links a { color: var(--on-brand-muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
nav.site-nav .links a:hover { color: var(--on-brand); }
/* precisa de `a.navcta`: `nav.site-nav .links a` tem mais especificidade que `.navcta` sozinho */
nav.site-nav .links a.navcta {
  background: var(--surface-lime); color: var(--on-lime);
  padding: 10px 20px; border-radius: 100px; font-weight: 600; font-size: .9rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
nav.site-nav .links a.navcta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lime); color: var(--on-lime); }
.burger { display: none; }

/* seletor de língua das landing pages por setor: PT-BR | PT-PT */
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 100px; border: 1px solid var(--border-on-brand);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}
.lang .lang-on, nav.site-nav .links a.lang-off {
  padding: 5px 10px; border-radius: 100px; font-size: .78rem; font-weight: 600;
}
.lang .lang-on { background: rgba(255, 255, 255, .16); color: var(--on-brand); }
nav.site-nav .links a.lang-off { color: var(--on-brand-muted); }
nav.site-nav .links a.lang-off:hover { color: var(--on-brand); background: rgba(255, 255, 255, .08); }

.lang svg, .sec-chip svg, .sec-pill svg, .sec-card-links svg { display: inline-block; vertical-align: -1px; border-radius: 2px; }

/* ponte da home para os setores — variante A: linha de atalhos por baixo do título */
.sec-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 30px; position: relative; z-index: 2; }
.sec-chips-label { color: var(--on-brand-muted); font-size: .9rem; font-weight: 500; margin-right: 4px; }
.sec-chip, .sec-pill {
  display: inline-flex; align-items: center; border-radius: 100px;
  border: 1px solid var(--border-on-brand); background: rgba(255, 255, 255, .08);
  transition: background .2s ease, border-color .2s ease;
}
.sec-chip:hover, .sec-pill:hover { background: rgba(255, 255, 255, .14); border-color: var(--on-brand-accent); }
.sec-chip a, .sec-pill a { color: var(--on-brand); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.sec-chip-main, .sec-pill-main { padding: 9px 12px 9px 14px; }
.sec-chip-flag, .sec-pill-flag { padding: 9px 7px; border-left: 1px solid var(--border-on-brand); opacity: .85; }
.sec-chip-flag:last-child, .sec-pill-flag:last-child { padding-right: 12px; }
.sec-chip-flag:hover, .sec-pill-flag:hover { opacity: 1; background: rgba(255, 255, 255, .1); }

/* variante B: três cartões de setor depois dos serviços */
.band-blue .sec-cards-head.center { margin-top: 72px; }
.sec-cards-title { color: var(--on-brand); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; }
.sec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; position: relative; z-index: 2; }
.sec-card {
  padding: 28px 26px; border-radius: var(--radius);
  background: var(--surface-base); border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-brand); }
.sec-card-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-brand); color: var(--on-brand); font-size: 1.4rem; margin-bottom: 16px; }
.sec-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; color: var(--text-strong); }
.sec-card p { color: var(--text-muted); font-size: .94rem; margin-bottom: 18px; }
.sec-card-links { display: flex; gap: 8px; flex-wrap: wrap; }
.sec-card-links a {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 100px;
  background: var(--surface-cobalt); color: var(--on-cobalt); font-weight: 600; font-size: .86rem;
  transition: transform .2s ease;
}
.sec-card-links a:hover { transform: translateY(-2px); }

/* variante C: faixa compacta no fim da secção */
.sec-strip {
  margin-top: 40px; padding: 22px 26px; border-radius: var(--radius);
  border: 1px solid var(--border-on-brand); background: rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.sec-strip-text { display: flex; flex-direction: column; gap: 3px; }
.sec-strip-text strong { color: var(--on-brand); font-size: 1.05rem; font-weight: 600; }
.sec-strip-text span { color: var(--on-brand-muted); font-size: .9rem; }
.sec-strip-pills { display: flex; gap: 10px; flex-wrap: wrap; }

/* etiqueta acima do título do hero das landing pages por setor */
.hero-badge {
  display: inline-block; margin-bottom: 20px;
  padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--border-on-brand); background: rgba(255, 255, 255, .1);
  color: var(--on-brand-accent); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------------- botoes ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px;
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn-lime { background: var(--lime-gradient); color: var(--on-lime); box-shadow: var(--shadow-lime); }
.btn-lime:hover { transform: translateY(-3px); box-shadow: var(--shadow-lime-hover); }
.btn-ghost { background: transparent; color: var(--on-brand); border: 1.5px solid var(--border-on-brand); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--on-brand); }
.btn-cobalt { background: var(--surface-cobalt); color: var(--on-cobalt); }
.btn-cobalt:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 43, 192, .4); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------------- hero ---------------- */
header.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  background: var(--hero-gradient);
}
#aurora { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(52px) saturate(122%); opacity: .82; z-index: 0; }
#auroraCore { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(18px) saturate(135%); opacity: .45; mix-blend-mode: screen; z-index: 0; }
.hero-grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* scrim: fica por cima da aurora e por baixo do texto, para o contraste do hero
   nao depender do frame da animacao (ver surfaces.heroScrim em theme.ts) */
.hero-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg,
      color-mix(in srgb, var(--brand-scrim) 58%, transparent) 0%,
      color-mix(in srgb, var(--brand-scrim) 28%, transparent) 46%,
      transparent 72%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--brand-scrim) 34%, transparent) 0%,
      transparent 32%, transparent 64%,
      color-mix(in srgb, var(--brand-scrim) 50%, transparent) 100%);
}
.hero-inner { position: relative; z-index: 3; padding: 130px 0 80px; }
.hero h1 {
  color: var(--on-brand); font-weight: 600; font-size: clamp(2.6rem, 6vw, 5rem);
  max-width: 14ch; margin-bottom: 22px; text-shadow: 0 6px 40px rgba(23, 32, 68, .35);
}
/* lime como texto so em tamanho display (>=24px) */
.hero h1 em { font-style: normal; color: var(--brand-lime); }
.hero p.lead { color: var(--on-brand-muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 52ch; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-note { color: var(--on-brand-muted); font-size: .85rem; margin-top: 22px; display: flex; align-items: center; gap: 8px; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: var(--on-brand-muted); font-size: .8rem; text-align: center; animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------------- estrutura de seccao ---------------- */
section { position: relative; }
.pad { padding: 100px 0; }
.eyebrow { font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 600; color: var(--text-strong); max-width: 20ch; margin-bottom: 18px; }
.section-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 56ch; }
.center { text-align: center; margin: 0 auto; }
.center .section-title, .center .section-sub { margin-left: auto; margin-right: auto; }
.squiggle { display: block; width: 120px; height: 26px; margin: 0 auto 22px; }
.squiggle path { fill: none; stroke: var(--brand-cobalt); stroke-width: 9; stroke-linecap: round; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.pillar {
  padding: 34px 30px; border-radius: var(--radius);
  background: var(--surface-base); border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-brand); }
.pillar .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface-brand); color: var(--on-brand); margin-bottom: 18px; font-size: 1.5rem;
}
.pillar h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.pillar p { color: var(--text-muted); font-size: .98rem; }

/* ---------------- banda azul ---------------- */
.band-blue { background: var(--surface-brand); position: relative; overflow: hidden; }
.band-blue .eyebrow { color: var(--on-brand-accent); }
.band-blue .section-title { color: var(--on-brand); }
.band-blue .section-sub { color: var(--on-brand-muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; position: relative; z-index: 2; }
.svc {
  background: rgba(255, 255, 255, .08); border: 1px solid var(--border-on-brand); border-radius: var(--radius);
  padding: 30px 26px; transition: background .25s ease, transform .25s ease, border-color .25s;
}
.svc:hover { background: rgba(255, 255, 255, .14); transform: translateY(-5px); border-color: var(--on-brand-accent); }
.svc .tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-brand-accent); background: rgba(173, 216, 76, .16); padding: 4px 11px; border-radius: 100px; margin-bottom: 16px;
}
.svc h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; color: var(--on-brand); }
.svc p { color: var(--on-brand-muted); font-size: .94rem; }

/* ---------------- numeros ---------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 12px; }
.stat { text-align: center; padding: 26px; }
.stat .num { font-weight: 700; font-size: clamp(2.8rem, 6vw, 4rem); color: var(--text-accent); line-height: 1; }
.stat .lbl { color: var(--text-muted); font-size: .98rem; margin: 8px auto 0; max-width: 22ch; }
.stats-note { text-align: center; color: var(--text-muted); font-size: .78rem; margin-top: 24px; }

/* ---------------- como funciona ---------------- */
.band-cream2 { background: linear-gradient(180deg, var(--surface-base) 0%, var(--brand-cream3) 100%); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--surface-base); border: 1px solid var(--border); }
/* numeral display: lime permitido acima de 24px */
.step .n { font-weight: 700; font-size: 2.6rem; color: var(--brand-lime); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .92rem; }

.how-flex { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; margin-top: 64px; }
.chat {
  background: var(--surface-base); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-brand); max-width: 400px; margin-left: auto;
}
.chat .head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.chat .av { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-cobalt); color: var(--on-cobalt); display: grid; place-items: center; font-weight: 700; }
.chat .who { font-weight: 600; font-size: .95rem; color: var(--text-strong); }
.chat .stat-on { font-size: .75rem; color: var(--text-success); }
.bub { max-width: 80%; padding: 11px 15px; border-radius: 16px; margin-bottom: 10px; font-size: .9rem; line-height: 1.45; }
.bub.them { background: var(--surface-raised); color: var(--text); border-bottom-left-radius: 4px; }
.bub.us { background: var(--surface-cobalt); color: var(--on-cobalt); margin-left: auto; border-bottom-right-radius: 4px; }
.bub .t { display: block; font-size: .68rem; opacity: .75; margin-top: 4px; }
.chat .done { text-align: center; font-size: .82rem; color: var(--text-success); font-weight: 600; margin-top: 6px; }

/* ---------------- calculadora ---------------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; align-items: stretch; }
.calc-inputs { background: var(--surface-base); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-brand); }
.field { margin-bottom: 24px; }
.field:last-child { margin-bottom: 0; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; font-size: .96rem; margin-bottom: 12px; gap: 12px; color: var(--text); }
.field label b { font-weight: 600; font-size: 1.2rem; color: var(--text-accent); white-space: nowrap; }
.field .hint { font-size: .8rem; color: var(--text-muted); margin-top: 9px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 100px;
  background: var(--border); outline-offset: 6px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-lime); border: 4px solid var(--brand-white);
  box-shadow: 0 4px 14px rgba(51, 72, 127, .3); cursor: pointer; transition: transform .15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.14); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--brand-lime);
  border: 4px solid var(--brand-white); box-shadow: 0 4px 14px rgba(51, 72, 127, .3); cursor: pointer;
}
.calc-result {
  position: relative; overflow: hidden; background: var(--surface-brand); color: var(--on-brand);
  border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow-brand-lg); display: flex; flex-direction: column;
}
.calc-result > * { position: relative; z-index: 2; }
.result-label { color: var(--on-brand-muted); font-size: .98rem; font-weight: 500; }
.result-big { font-weight: 700; font-size: clamp(2.9rem, 6vw, 4.3rem); line-height: 1; margin: 6px 0 4px; color: var(--on-brand); }
.result-big span { font-size: 1.35rem; color: var(--on-brand-accent); margin-left: 6px; font-weight: 600; }
.result-sub { color: var(--on-brand-muted); font-size: .92rem; margin-bottom: 24px; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 24px; }
.result-grid > div { background: rgba(255, 255, 255, .1); border: 1px solid var(--border-on-brand); border-radius: 14px; padding: 15px 10px; text-align: center; }
.result-grid b { display: block; font-weight: 600; font-size: 1.4rem; color: var(--on-brand-accent); line-height: 1; }
.result-grid span { font-size: .74rem; color: var(--on-brand-muted); line-height: 1.3; display: block; margin-top: 6px; }
#r-cta { margin-top: auto; }
.result-note { color: var(--on-brand-muted); font-size: .75rem; margin-top: 14px; text-align: center; }

/* ---------------- glows decorativos ---------------- */
.glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5; pointer-events: none; z-index: 0; }
.glow-lime { width: 420px; height: 420px; background: radial-gradient(circle, rgba(173, 216, 76, .5), transparent 70%); }
.glow-cobalt { width: 460px; height: 460px; background: radial-gradient(circle, rgba(30, 43, 192, .26), transparent 70%); }

/* ---------------- marquee de setores ---------------- */
.sectors { background: var(--surface-brand); padding: 22px 0; overflow: hidden; position: relative; border-block: 1px solid var(--border-on-brand); }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mtrack { display: flex; align-items: center; gap: 40px; white-space: nowrap; animation: scroll 32s linear infinite; }
.mtrack:hover { animation-play-state: paused; }
.mtrack span { font-weight: 500; font-size: 1.2rem; color: var(--on-brand-muted); }
.mtrack .d { color: var(--on-brand-accent); font-size: .9rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- diagnostico + formulario ---------------- */
.cta-final { background: var(--surface-brand); color: var(--on-brand); position: relative; overflow: hidden; }
#constellation { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.cta-final .inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.cta-final h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 600; margin-bottom: 18px; color: var(--on-brand); }
.cta-final p { color: var(--on-brand-muted); font-size: 1.12rem; margin-bottom: 26px; }
.cta-final .mini { margin-top: 20px; color: var(--on-brand-muted); font-size: .88rem; }

.lead-form { background: rgba(255, 255, 255, .09); border: 1px solid var(--border-on-brand); border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(8px); }
.lead-form h3 { color: var(--on-brand); font-size: 1.35rem; margin-bottom: 6px; }
.lead-form .form-sub { color: var(--on-brand-muted); font-size: .92rem; margin-bottom: 22px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: block; font-size: .85rem; font-weight: 500; color: var(--on-brand-muted); margin-bottom: 6px; }
.lead-form .fld { margin-bottom: 14px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border-on-brand); background: rgba(255, 255, 255, .95);
  color: var(--text); font-family: inherit; font-size: .95rem;
}
.lead-form textarea { resize: vertical; min-height: 84px; }
.lead-form .btn { width: 100%; margin-top: 6px; }
.lead-form .form-msg { font-size: .88rem; margin-top: 14px; min-height: 1.2em; }
.lead-form .form-msg.ok { color: var(--on-brand-accent); font-weight: 600; }
.lead-form .form-msg.err { color: var(--on-brand-warn); font-weight: 600; }
.lead-form .field-err { color: var(--on-brand-warn); font-size: .78rem; margin-top: 5px; display: block; }
.lead-form .hp { position: absolute; left: -9999px; }

/* ---------------- rodape ---------------- */
footer { background: var(--surface-brand-strong); color: var(--on-brand); padding: 70px 0 34px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; position: relative; z-index: 2; }
footer .brand { color: var(--on-brand); font-size: 2rem; margin-bottom: 14px; font-weight: 600; display: inline-block; }
footer .tag { color: var(--on-brand-muted); max-width: 34ch; font-size: .98rem; }
footer h4 { font-weight: 600; font-size: 1rem; margin-bottom: 16px; color: var(--on-brand-accent); }
footer a.fl { display: block; color: var(--on-brand-muted); margin-bottom: 10px; font-size: .95rem; transition: color .2s; }
footer a.fl:hover { color: var(--on-brand); }
.foot-bot {
  border-top: 1px solid var(--border-on-brand); margin-top: 50px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--on-brand-muted); font-size: .85rem; position: relative; z-index: 2;
}

/* ---------------- animacao de entrada ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mtrack, .scroll-cue { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- responsivo ---------------- */
@media (max-width: 900px) {
  .pillars, .svc-grid, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .sec-cards { grid-template-columns: 1fr; }
  .how-flex, .calc, .cta-final .inner { grid-template-columns: 1fr; }
  .chat { margin: 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
/* ---------------------------------------------------------------------------
   Otimizações de telemóvel. Tudo daqui para baixo vive dentro de media queries:
   o desktop não é tocado. Corrige o que foi medido no dispositivo — zoom do iOS
   ao focar campos, alvos de toque abaixo de 44px, texto miúdo e a altura do hero
   com a barra do browser a aparecer e desaparecer.
   --------------------------------------------------------------------------- */
@media (max-width: 640px) {
  /* iOS dá zoom automático em qualquer campo com fonte < 16px. Isto desalinha a
     página e obriga o visitante a fazer zoom out à mão. 16px trava o comportamento.
     Os seletores repetem `.lead-form` porque a regra de base é mais específica que `input`. */
  input, select, textarea,
  .lead-form input, .lead-form select, .lead-form textarea { font-size: 16px; }

  /* hero: 100vh conta com a barra do browser que aparece e some, e corta o conteúdo.
     dvh acompanha a altura real visível. */
  header.hero { min-height: 100dvh; }
  .hero-inner { padding: 104px 0 72px; }

  /* alvos de toque: mínimo recomendado de 44px */
  .burger { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; }
  nav.site-nav .brand { padding: 6px 0; }
  nav.site-nav .links.open a { padding: 8px 0; }
  nav.site-nav .links.open a.lang-off { padding: 8px 12px; }
  footer a.fl { padding: 9px 0; margin-bottom: 2px; }

  /* o slider tinha 8px de altura: quase impossível de agarrar com o dedo.
     O padding alarga a zona de toque para 40px e o background-clip mantém a
     barra visual com os mesmos 8px do desktop. */
  input[type="range"] { height: 40px; padding: 16px 0; background-clip: content-box; }

  /* texto miúdo demais para ler ao sol, num ecrã pequeno */
  .eyebrow { font-size: .82rem; letter-spacing: .12em; }
  .svc .tag { font-size: .78rem; }
  .stats-note { font-size: .82rem; }
  .chat .stat-on { font-size: .8rem; }
  .result-grid span { font-size: .8rem; }
  .field .hint { font-size: .85rem; }
  .result-note, .hero-note { font-size: .85rem; }

  /* respiração: no telemóvel os cartões ficam encostados uns aos outros */
  .pillars, .svc-grid, .steps { gap: 16px; }
  .stats { gap: 8px; }
  .stat { padding: 18px 12px; }
  .how-flex { gap: 32px; margin-top: 40px; }
  .calc { gap: 16px; }
  .cta-final .inner { gap: 32px; }

  /* o marquee ocupa a largura toda e a máscara comia as pontas */
  .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
             mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .mtrack { gap: 26px; }
  .mtrack span { font-size: 1.05rem; }

  /* âncoras: a nav fixa tapava o topo da secção ao saltar */
  html { scroll-padding-top: 76px; }
}

@media (max-width: 400px) {
  /* ecrãs estreitos: os três quadrados do resultado ficavam com 1 palavra por linha */
  .result-grid { grid-template-columns: 1fr; }
  .result-grid > div { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 11px 10px; }
  .result-grid span { margin-top: 0; text-align: left; }
  .wrap { padding: 0 18px; }
}

@media (max-width: 640px) {
  nav.site-nav .links { display: none; }
  nav.site-nav .links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--surface-brand-strong); padding: 20px 30px; gap: 18px;
  }
  .burger { display: block; background: none; border: none; cursor: pointer; padding: 6px; }
  .burger span { display: block; width: 24px; height: 2px; background: var(--on-brand); margin: 5px 0; border-radius: 2px; }
  .pillars, .svc-grid, .steps, .stats, .foot-grid, .lead-form .row { grid-template-columns: 1fr; }
  .pad { padding: 70px 0; }
  .calc-inputs, .calc-result, .lead-form { padding: 26px; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 110px 0 60px; }
}

/* elevesse — página principal "Rececionista de IA" (/ em pt-BR, /pt em pt-PT).
   Entra por cima do app.css: reaproveita nav, botões, hero, rodapé e reveal; o resto vive aqui
   com prefixo `rc-` (secções) e `mk-` (maquetes em HTML das capturas de produto).
   Regra da casa: nenhuma cor de texto em hex — só papéis de src/shared/theme.ts. */

/* ---------------- base da página ---------------- */
.rc-page { background: var(--surface-base); }
.rc-page .wrap { max-width: 1180px; }
.rc-page section + section { border-top: 1px solid var(--border); }
.rc-page .pad { padding: 96px 0; }
.rc-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.rc-head .section-title { margin-bottom: 0; max-width: 18ch; }
.rc-head .section-sub { font-size: 1rem; max-width: 50ch; }
.rc-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.btn-outline { background: var(--brand-white); color: var(--on-white); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { transform: translateY(-3px); box-shadow: var(--shadow-brand); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------- hero dividido: texto + orbe ---------------- */
header.rc-hero { min-height: 0; }
.rc-hero-inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 140px 0 90px; }
.rc-hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); max-width: 16ch; }
.rc-hero-orb { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.rc-orb { display: block; width: 220px; height: 220px; border-radius: 50%; position: relative; }
.rc-orb-ball {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), transparent 38%),
    radial-gradient(circle at 70% 70%, var(--brand-lime) 0%, transparent 45%),
    radial-gradient(circle at 25% 75%, var(--brand-violet) 0%, transparent 50%),
    linear-gradient(160deg, var(--brand-blue) 0%, var(--brand-cobalt) 60%, var(--brand-blue-night) 100%);
  box-shadow: 0 30px 70px rgba(10, 11, 24, .45), inset 0 -18px 40px rgba(6, 7, 14, .35);
  animation: rc-orb 9s ease-in-out infinite;
  transition: transform .4s ease;
}
.rc-orb:hover .rc-orb-ball { transform: scale(1.05); }
@keyframes rc-orb {
  0%, 100% { filter: hue-rotate(0deg) saturate(1); }
  50% { filter: hue-rotate(-18deg) saturate(1.15); }
}
.rc-call {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 100px;
  background: rgba(255, 255, 255, .12); border: 1px solid var(--border-on-brand); color: var(--on-brand); font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.rc-call:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.rc-call-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-white); color: var(--on-white); }
.rc-call-hint { color: var(--on-brand-muted); font-size: .85rem; }

/* ---------------- ferramentas ---------------- */
.rc-tools { padding: 34px 0; text-align: center; }
.rc-tools-label { color: var(--text-muted); font-size: .85rem; letter-spacing: .04em; margin-bottom: 16px; }
.rc-tools-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.rc-tools-list li {
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border-strong); background: var(--brand-white);
  color: var(--text); font-weight: 500; font-size: .92rem;
}

/* animação partilhada pelos painéis de setor (as bolhas entram uma a uma) */
@keyframes rc-pop { to { opacity: 1; transform: none; } }

/* ---------------- carrossel de casos ---------------- */
.rc-carousel { position: relative; }
.rc-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 12px; margin: 0 -4px; scrollbar-width: none;
}
.rc-track::-webkit-scrollbar { display: none; }
.rc-card { flex: 0 0 min(370px, 82vw); scroll-snap-align: start; }
.rc-card-art {
  position: relative; overflow: hidden; height: 380px; border-radius: var(--radius); margin-bottom: 20px;
  display: flex; align-items: flex-end; justify-content: center; padding: 34px 26px 0;
  box-shadow: var(--shadow-brand);
}
.rc-card.chat .rc-card-art { background: linear-gradient(150deg, var(--brand-lime-soft), var(--brand-blue) 60%, var(--brand-cobalt)); padding-top: 16px; }
.rc-card.calendar .rc-card-art { background: linear-gradient(160deg, var(--brand-cream-yellow), var(--brand-lime) 40%, var(--brand-blue-deep)); justify-content: flex-start; padding-right: 0; }
.rc-card.phone .rc-card-art { background: linear-gradient(150deg, var(--brand-lime-glow), var(--brand-lime-soft) 40%, var(--brand-blue)); align-items: center; padding: 26px; }
.rc-card.languages .rc-card-art { background: linear-gradient(160deg, var(--brand-violet-soft), var(--brand-blue) 55%, var(--brand-lime-soft)); }
.rc-card.confirmed .rc-card-art { background: linear-gradient(150deg, var(--brand-lime-soft), var(--brand-cream-yellow) 35%, var(--brand-blue)); }
.rc-card.booking .rc-card-art { background: linear-gradient(160deg, var(--brand-blue), var(--brand-violet-soft) 55%, var(--brand-lime-soft)); padding-right: 0; }
.rc-card.locations .rc-card-art { background: linear-gradient(150deg, var(--brand-cobalt), var(--brand-blue) 50%, var(--brand-lime-soft)); align-items: center; padding: 26px; }
.rc-card h3 { font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--text-muted); }
.rc-card h3 b { font-weight: 600; color: var(--text-strong); }
.rc-card h3:not(:has(b)) { font-weight: 600; color: var(--text-strong); font-size: 1.05rem; margin-bottom: 6px; }
.rc-card p { color: var(--text-muted); font-size: .95rem; }
.rc-arrow {
  position: absolute; top: 170px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--brand-white); color: var(--on-white); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-brand); transition: transform .2s ease, opacity .2s ease;
}
.rc-arrow:hover { transform: scale(1.06); }
.rc-arrow[disabled] { opacity: .35; cursor: default; transform: none; }
.rc-prev { left: -14px; transform: rotate(180deg); }
.rc-prev:hover { transform: rotate(180deg) scale(1.06); }
.rc-next { right: -14px; }

/* ---------------- maquetes (mk-) ---------------- */
.mk {
  width: 100%; background: var(--brand-white); border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 40px rgba(10, 11, 24, .18); color: var(--on-white);
  font-family: "Fredoka", -apple-system, "Segoe UI", sans-serif; overflow: hidden;
}
.mk-orb {
  display: inline-block; width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .6), transparent 40%),
    radial-gradient(circle at 70% 75%, var(--brand-lime) 0%, transparent 45%),
    linear-gradient(160deg, var(--brand-blue) 0%, var(--brand-cobalt) 70%);
}
.mk-orb-lg { width: 96px; height: 96px; margin: 0 auto 18px; box-shadow: 0 14px 30px rgba(30, 43, 192, .3); }

/* chat */
.mk-chat { padding: 16px 16px 14px; height: 100%; display: flex; flex-direction: column; }
.mk-chat-head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 10px; }
.mk-chat-log { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.rc-bub, .rc-typing, .rc-sys { font-size: .84rem; line-height: 1.38; }
.rc-bub { max-width: 84%; padding: 8px 12px; border-radius: 14px; }
.rc-bub.them { background: var(--surface-raised); color: var(--text); align-self: flex-start; }
.rc-bub.us { background: var(--brand-white); color: var(--text); border: 1px solid var(--border-strong); align-self: flex-end; }
.rc-typing { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: var(--surface-raised); color: var(--text-muted); align-self: flex-start; }
.rc-typing-ic { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-white); color: var(--text-muted); display: grid; place-items: center; }
.rc-typing::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-muted); animation: rc-blink 1.2s infinite; }
@keyframes rc-blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.rc-sys { align-self: center; color: var(--text-muted); font-size: .78rem; }
.mk-chat-foot { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.mk-chat-phone { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--on-white); }
.mk-chat-input { flex: 1 1 auto; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--border-strong); color: var(--text-muted); font-size: .88rem; }

/* calendário */
.mk-cal { padding: 18px 0 0 18px; height: 100%; width: 440px; flex: 0 0 auto; }
.mk-cal-title { font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; }
.mk-cal-days { display: grid; grid-template-columns: 34px repeat(4, 1fr); font-size: .72rem; color: var(--text-muted); margin-bottom: 8px; white-space: nowrap; }
.mk-cal-days span b { font-weight: 600; color: var(--text-muted); }
.mk-cal-days span.today { color: var(--text-strong); }
.mk-cal-days span.today b { background: var(--brand-ink); color: var(--on-cobalt); padding: 2px 6px; border-radius: 6px; }
.mk-cal-grid { display: grid; grid-template-columns: 34px 1fr; position: relative; }
.mk-cal-hours { display: grid; grid-auto-rows: 48px; font-size: .68rem; color: var(--text-muted); }
.mk-cal-hours span { transform: translateY(-6px); }
.mk-cal-cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); height: 240px; background: repeating-linear-gradient(180deg, var(--border) 0 1px, transparent 1px 48px); }
.mk-cal-col { border-left: 1px solid var(--border); }
.mk-cal-now { position: absolute; left: -2px; width: 25%; border-top: 2px solid var(--brand-ink); }
.mk-cal-now span { position: absolute; left: -36px; top: -11px; background: var(--brand-ink); color: var(--on-cobalt); font-size: .66rem; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.mk-ev { position: absolute; width: calc(25% - 8px); border-radius: 4px; padding: 4px 6px; font-size: .68rem; line-height: 1.25; overflow: hidden; border-left: 3px solid; color: var(--text); display: flex; flex-direction: column; gap: 3px; }
.mk-ev.green { background: #E3F6E6; border-color: #3FB65B; }
.mk-ev.blue { background: #E3ECFF; border-color: #3A6DF0; }
.mk-ev.orange { background: #FFEBDD; border-color: #F08A3E; }
.mk-ev span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-ev.green span, .mk-ev.orange span { white-space: normal; }
.mk-ev-more { padding: 0 0 0 5px; border-left: 3px solid #3A6DF0; margin-left: -6px; }
.mk-ev-count { color: var(--text-muted); }
.mk-ev:has(.mk-ev-more) { height: auto !important; background: transparent; border: 0; padding: 0 0 0 6px; }
.mk-ev:has(.mk-ev-more) > span:first-child { background: #E3ECFF; border-left: 3px solid #3A6DF0; margin-left: -6px; padding: 3px 5px; border-radius: 4px; }
.mk-ev-more { background: #E3ECFF; padding: 3px 5px; border-radius: 4px; }

/* telefone (24/7) */
.mk-phone { border-radius: 22px; padding: 30px 22px 0; text-align: center; height: 320px; position: relative; overflow: hidden; }
.mk-phone-biz { color: var(--text-muted); font-size: .88rem; }
.mk-phone-num { font-size: 1.35rem; font-weight: 500; margin: 4px 0 20px; }
.mk-phone-btns { display: flex; justify-content: center; gap: 14px; }
.mk-phone-btns span { width: 46px; height: 46px; border-radius: 50%; background: var(--surface-raised); display: grid; place-items: center; color: var(--text); }
.mk-clock { position: absolute; left: 50%; bottom: -170px; width: 300px; height: 300px; margin-left: -150px; border-radius: 50%; border: 2px solid var(--brand-blue); border-color: var(--brand-blue) transparent transparent transparent; }
.mk-clock span { position: absolute; color: var(--text-muted); font-size: .85rem; }
.mk-clock-12 { top: 12px; left: 50%; transform: translateX(-50%); color: var(--text-strong); font-weight: 500; }
.mk-clock-11 { top: 42px; left: 40px; }
.mk-clock-1 { top: 42px; right: 40px; }

/* línguas (globo) */
.mk-langs { position: relative; height: 340px; background: transparent; box-shadow: none; }
.mk-globe {
  position: absolute; left: 50%; bottom: -200px; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--brand-white), var(--brand-cream2) 70%);
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(36, 39, 54, .08) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(36, 39, 54, .08) 34px 35px);
  box-shadow: 0 -10px 40px rgba(10, 11, 24, .18);
}
.mk-langs-list { list-style: none; position: absolute; inset: 0; }
.mk-langs-list li {
  position: absolute; font-size: .78rem; color: var(--on-brand); font-weight: 500;
  padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .7); text-shadow: 0 1px 10px rgba(23, 32, 68, .4);
  white-space: nowrap;
}
.mk-langs-list li:nth-child(1) { left: 6%; top: 118px; }
.mk-langs-list li:nth-child(2) { left: 30%; top: 62px; }
.mk-langs-list li:nth-child(3) { left: 58%; top: 96px; }
.mk-langs-list li:nth-child(4) { left: 74%; top: 54px; }
.mk-langs-list li:nth-child(5) { left: 16%; top: 178px; }
.mk-langs-list li:nth-child(6) { left: 46%; top: 152px; }
.mk-langs-list li:nth-child(7) { left: 72%; top: 190px; }
.mk-langs-list li:nth-child(2), .mk-langs-list li:nth-child(4) { color: var(--brand-white); font-weight: 600; }

/* confirmação */
.mk-ok { padding: 34px 20px 0; text-align: center; }
.mk-ok-title { font-size: 1.5rem; font-weight: 500; color: var(--text-strong); }
.mk-ok-sub { color: var(--text-muted); font-size: .86rem; margin: 6px auto 20px; max-width: 26ch; }
.mk-ok-rows { text-align: left; border: 1px solid var(--border); border-radius: 14px 14px 0 0; border-bottom: 0; }
.mk-ok-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mk-ok-ic { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--on-white); flex: 0 0 auto; }
.mk-ok-row small { display: block; color: var(--text-muted); font-size: .78rem; }
.mk-ok-row b { font-weight: 500; font-size: .98rem; }

/* marcação (data e hora) */
.mk-book { padding: 20px 0 0 22px; height: 100%; min-width: 100%; }
.mk-book-title { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.mk-book-label { font-size: .82rem; color: var(--text); margin: 8px 0 6px; }
.mk-book-row { display: flex; gap: 8px; white-space: nowrap; }
.mk-book-card {
  flex: 0 0 auto; min-width: 104px; padding: 12px; border-radius: 12px; border: 1px solid var(--border-strong);
  display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .82rem; text-align: center;
}
.mk-book-card.on { border-color: var(--brand-ink); border-width: 1.5px; background: var(--surface-base); }
.mk-book-card i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-raised); display: grid; place-items: center; font-size: .72rem; color: var(--text-muted); margin-bottom: 4px; }
.mk-book-card b { font-weight: 500; }
.mk-book-card small { color: var(--text-muted); font-size: .72rem; }
.mk-book-slot { flex: 0 0 auto; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border-strong); font-size: .84rem; }
.mk-book-slot.on { border-color: var(--brand-ink); border-width: 1.5px; background: var(--surface-base); }

/* localizações */
.mk-loc { border-radius: 18px; padding: 18px; }
.mk-loc-title { font-weight: 600; margin-bottom: 12px; }
.mk-loc-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); font-size: .86rem; }
.mk-loc-row b { display: block; font-weight: 500; }
.mk-loc-row small { color: var(--text-muted); font-size: .76rem; }
.mk-loc-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-raised); display: grid; place-items: center; color: var(--text); flex: 0 0 auto; }
.mk-loc-dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-lime); box-shadow: 0 0 0 4px rgba(173, 216, 76, .3); }

/* ---------------- setores: separadores + conversa ---------------- */
.rc-vert { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.rc-tabs { display: flex; flex-direction: column; gap: 4px; }
.rc-tab {
  text-align: left; background: none; border: 0; padding: 12px 14px; border-radius: 14px; cursor: pointer;
  font-family: inherit; color: var(--text-muted); transition: background .2s ease, color .2s ease;
}
.rc-tab:hover { background: var(--surface-raised); }
.rc-tab-label { display: block; font-size: 1.05rem; font-weight: 500; color: inherit; }
.rc-tab-body { display: none; font-size: .9rem; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.rc-tab[aria-selected="true"] { color: var(--text-strong); }
.rc-tab[aria-selected="true"] .rc-tab-label { font-weight: 600; }
.rc-tab[aria-selected="true"] .rc-tab-body { display: block; }
.rc-panels { position: sticky; top: 100px; }
.rc-panel[hidden] { display: none; }
.rc-panel { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.rc-demo { width: min(330px, 100%); min-height: 360px; background: var(--brand-white); border-radius: 18px; box-shadow: var(--shadow-brand); padding: 16px; display: flex; flex-direction: column; }
.rc-demo-head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--text-strong); margin-bottom: 40px; }
.rc-demo-log { display: flex; flex-direction: column; gap: 8px; }
.rc-panel:not([hidden]) .rc-demo-log > * { opacity: 0; transform: translateY(6px); animation: rc-pop .45s ease forwards; }
.rc-panel:not([hidden]) .rc-demo-log > :nth-child(1) { animation-delay: .1s; }
.rc-panel:not([hidden]) .rc-demo-log > :nth-child(2) { animation-delay: .7s; }
.rc-panel:not([hidden]) .rc-demo-log > :nth-child(3) { animation-delay: 1.4s; }
.rc-panel:not([hidden]) .rc-demo-log > :nth-child(4) { animation-delay: 2.1s; }
.rc-panel:not([hidden]) .rc-demo-log > :nth-child(5) { animation-delay: 2.8s; }
.rc-vert-cta { margin-top: 16px; width: 100%; }

/* ---------------- números ---------------- */
.rc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rc-stat { background: var(--brand-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; }
.rc-stat b { display: block; font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--text-accent); line-height: 1; margin-bottom: 10px; }
.rc-stat span { color: var(--text-muted); font-size: .96rem; }
.rc-page .stats-note { margin-top: 18px; }

/* ---------------- planos (patamares sem preço) ---------------- */
.rc-includes { margin-top: 10px; font-size: .92rem; }
.rc-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.rc-plan { position: relative; background: var(--brand-white); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 26px 20px 20px; display: flex; flex-direction: column; }
.rc-plan.featured { border-color: var(--brand-ink); box-shadow: 0 0 0 2px var(--brand-ink), var(--shadow-brand); }
.rc-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand-ink); color: var(--on-cobalt); font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 100px; white-space: nowrap; }
.rc-plan h3 { font-size: 1.05rem; font-weight: 600; }
.rc-plan-for { color: var(--text-muted); font-size: .84rem; margin-bottom: 18px; }
.rc-plan-feats { list-style: none; border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1 1 auto; }
.rc-plan-feats li { display: flex; gap: 8px; font-size: .86rem; color: var(--text); align-items: flex-start; }
.rc-plan-feats i { color: var(--text-success); flex: 0 0 auto; margin-top: 3px; }
.rc-plan .btn { width: 100%; padding: 12px 16px; font-size: .9rem; }

/* ---------------- calculadora de chamadas perdidas ---------------- */
.rc-calc-box { display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--brand-white); overflow: hidden; }
.rc-calc-in { padding: 26px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--border); }
.rc-fld { display: block; }
.rc-fld > span:first-child, .rc-fld > label { display: block; font-size: .8rem; color: var(--text-muted); margin-bottom: 8px; }
.rc-money { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--border-strong); border-radius: 10px; max-width: 240px; color: var(--text-muted); }
.rc-money i { font-style: normal; font-size: .9rem; }
.rc-money input { border: 0; background: none; font: inherit; color: var(--text); width: 100%; outline: none; }
.rc-fld-range { border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center; }
.rc-fld-range > label { margin: 0; font-size: .86rem; color: var(--text); }
.rc-range-val { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-strong); border-radius: 100px; padding: 4px 10px 4px 12px; font-size: .84rem; color: var(--text-muted); }
.rc-range-val input { width: 46px; border: 0; background: none; font: inherit; color: var(--text-strong); font-weight: 500; text-align: right; outline: none; -moz-appearance: textfield; appearance: textfield; }
.rc-range-val input::-webkit-inner-spin-button { -webkit-appearance: none; }
.rc-range-val em { font-style: normal; }
.rc-fld-range input[type="range"] { grid-column: 1 / -1; height: 6px; }
.rc-page .rc-fld-range input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; background: var(--brand-ink); border: 3px solid var(--brand-white); }
.rc-page .rc-fld-range input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--brand-ink); border: 3px solid var(--brand-white); }
.rc-assume { border: 1px solid var(--border); border-radius: 14px; padding: 0; }
.rc-assume summary { list-style: none; cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.rc-assume summary::-webkit-details-marker { display: none; }
.rc-assume summary::after { content: "+"; grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--text-muted); font-size: 1.1rem; }
.rc-assume[open] summary::after { content: "−"; }
.rc-assume summary span { font-size: .9rem; color: var(--text); }
.rc-assume summary small { font-size: .78rem; color: var(--text-muted); grid-column: 1; }
.rc-assume .rc-fld-range { border: 0; border-top: 1px solid var(--border); border-radius: 0; }
.rc-calc-out { padding: 26px; background: var(--surface-base); }
.rc-calc-res { background: var(--brand-white); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; }
.rc-res-label { font-size: .82rem; color: var(--text-muted); }
.rc-res-big { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; color: var(--text-strong); line-height: 1.1; margin-top: 6px; }
.rc-res-per { color: var(--text-muted); font-size: .84rem; margin-bottom: 18px; }
.rc-res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.rc-res-grid small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.rc-res-grid b { font-size: 1.15rem; font-weight: 600; color: var(--text-strong); }
.rc-res-grid em { font-style: normal; font-weight: 400; font-size: .8rem; color: var(--text-muted); }
.rc-res-note { color: var(--text-muted); font-size: .76rem; margin-top: 14px; }

/* ---------------- FAQ ---------------- */
.rc-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.rc-faq-list { display: flex; flex-direction: column; }
.rc-q { border-top: 1px solid var(--border); }
.rc-q:last-child { border-bottom: 1px solid var(--border); }
.rc-q summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-size: 1.02rem; font-weight: 500; color: var(--text-strong); }
.rc-q summary::-webkit-details-marker { display: none; }
.rc-q summary::after { content: "+"; position: absolute; right: 6px; top: 16px; color: var(--text-muted); font-size: 1.2rem; }
.rc-q[open] summary::after { content: "−"; }
.rc-q p { color: var(--text-muted); font-size: .95rem; padding: 0 40px 20px 0; }

/* ---------------- fecho: WhatsApp + formulário de diagnóstico (estilos do .lead-form vêm do app.css) ---------------- */
.rc-final { background: var(--surface-brand); color: var(--on-brand); position: relative; overflow: hidden; }
.rc-final .wrap { position: relative; z-index: 2; }
.rc-final .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.rc-final h2 { color: var(--on-brand); font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 600; margin-bottom: 18px; }
.rc-final p { color: var(--on-brand-muted); font-size: 1.12rem; margin-bottom: 26px; }
.rc-final .mini { margin-top: 20px; margin-bottom: 0; font-size: .88rem; }
.rc-page .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

/* ---------------- responsivo ---------------- */
@media (max-width: 900px) {
  .rc-hero-inner { grid-template-columns: 1fr; padding: 120px 0 70px; }
  .rc-hero-orb { order: -1; }
  .rc-orb { width: 170px; height: 170px; }
  .rc-head, .rc-vert, .rc-calc-box, .rc-faq-grid { grid-template-columns: 1fr; }
  .rc-head { gap: 14px; margin-bottom: 30px; }
  .rc-plans { grid-template-columns: 1fr 1fr; }
  .rc-stats { grid-template-columns: 1fr; }
  .rc-panels { position: static; }
  .rc-calc-in { border-right: 0; border-bottom: 1px solid var(--border); }
  .rc-final .inner { grid-template-columns: 1fr; gap: 32px; }
  .rc-arrow { display: none; }
  .rc-page .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .rc-page .pad { padding: 66px 0; }
  .rc-plans { grid-template-columns: 1fr; }
  .rc-card { flex-basis: 84vw; }
  .rc-card-art { height: 340px; }
  .rc-page .foot-grid { grid-template-columns: 1fr; }
  .rc-res-grid { grid-template-columns: 1fr; }
  /* o app.css alarga a zona de toque do slider no telemóvel; o height de 6px do desktop não pode ganhar aqui */
  .rc-fld-range input[type="range"] { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-orb-ball { animation: none; }
  .rc-panel:not([hidden]) .rc-demo-log > * { animation: none; opacity: 1; transform: none; }
  .rc-track { scroll-behavior: auto; }
}

/* Pop-up de identificacao antes de abrir o WhatsApp.
   Entra nos dois bundles (app e aurora), por isso e autossuficiente:
   nao depende dos .btn de nenhuma das folhas. */

/* O `* { margin: 0 }` das folhas do site anula o `margin: auto` com que o browser
   centra o <dialog> nativo. Por isso a centragem e reposta aqui, explicitamente. */
.wa-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  height: fit-content;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border: none;
  padding: 0;
  background: transparent;
  color: var(--text);
}
/* trava o scroll da pagina enquanto o pop-up esta aberto */
html:has(dialog[open]) { overflow: hidden; }
.wa-modal::backdrop { background: rgba(23, 32, 68, .58); backdrop-filter: blur(3px); }

.wa-form {
  background: var(--surface-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-brand-lg);
  font-family: "Fredoka", -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}
.wa-form h3 { font-size: 1.3rem; font-weight: 600; color: var(--text-strong); margin-bottom: 6px; line-height: 1.2; }
.wa-form .wa-sub { color: var(--text-muted); font-size: .92rem; margin-bottom: 20px; line-height: 1.45; }

.wa-form .fld { margin-bottom: 14px; }
.wa-form label { display: block; font-size: .85rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.wa-form input,
.wa-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--brand-white);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
}
.wa-form input:focus-visible,
.wa-form select:focus-visible { outline: 3px solid var(--brand-cobalt); outline-offset: 2px; }

.wa-error { color: var(--text-alert); font-size: .82rem; margin-top: 10px; min-height: 1.2em; }

.wa-actions { display: flex; gap: 10px; margin-top: 18px; }
.wa-modal .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wa-modal .btn-lime { background: var(--lime-gradient); color: var(--on-lime); box-shadow: var(--shadow-lime); }
.wa-modal .btn-lime:hover { transform: translateY(-2px); box-shadow: var(--shadow-lime-hover); }
.wa-modal .btn-quiet { flex: 0 0 auto; background: var(--surface-raised); color: var(--text); }
.wa-modal .btn-quiet:hover { background: var(--border-strong); }

@media (max-width: 640px) {
  /* 16px trava o zoom automático do iOS ao focar o campo */
  .wa-form input, .wa-form select { font-size: 16px; padding: 13px 14px; }
  .wa-modal .btn { padding: 15px 20px; }
}

@media (max-width: 420px) {
  .wa-form { padding: 24px 20px; }
  .wa-actions { flex-direction: column-reverse; }
}

/* Pop-up de demonstração do atendimento — conversa ao estilo WhatsApp.
   Autossuficiente: não depende dos .btn nem do reset das outras folhas. */

.demo-chat {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(430px, calc(100vw - 24px));
  max-width: none;
  height: min(640px, calc(100dvh - 40px));
  border: none;
  padding: 0;
  background: transparent;
  overflow: visible;
}
.demo-chat::backdrop { background: rgba(23, 32, 68, .62); backdrop-filter: blur(3px); }

.dc-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-base);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-brand-lg);
  overflow: hidden;
  font-family: "Fredoka", -apple-system, "Segoe UI", sans-serif;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* cabeçalho */
.dc-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--surface-brand);
  color: var(--on-brand);
}
.dc-av {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: var(--surface-cobalt); color: var(--on-cobalt);
  display: grid; place-items: center; font-weight: 700;
}
.dc-id { flex: 1 1 auto; min-width: 0; }
.dc-who { font-weight: 600; font-size: .95rem; color: var(--on-brand); line-height: 1.2; }
.dc-status { font-size: .74rem; color: var(--on-brand-accent); line-height: 1.3; }
.dc-sector select {
  font-family: inherit; font-size: .78rem; padding: 5px 8px; border-radius: 100px;
  border: 1px solid var(--border-on-brand); background: rgba(255, 255, 255, .14);
  color: var(--on-brand); cursor: pointer; max-width: 118px;
}
.dc-sector select option { color: var(--text); background: var(--surface-base); }
.dc-fixed {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--border-on-brand); background: rgba(255, 255, 255, .14); color: var(--on-brand);
  white-space: nowrap;
}
.dc-close {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: var(--on-brand); font-size: 1.2rem; line-height: 1;
}
.dc-close:hover { background: rgba(255, 255, 255, .26); }

/* conversa */
.dc-log {
  flex: 1 1 auto; overflow-y: auto; padding: 16px 14px;
  background: var(--surface-raised);
  display: flex; flex-direction: column; gap: 8px;
}
.dc-note {
  font-size: .72rem; color: var(--text-muted); text-align: center;
  background: var(--surface-base); border-radius: 10px; padding: 7px 10px; margin-bottom: 4px;
}
.dc-bub {
  max-width: 82%; padding: 9px 13px; border-radius: 16px;
  font-size: .9rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
}
.dc-bub.them { background: var(--surface-base); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.dc-bub.us { background: var(--surface-cobalt); color: var(--on-cobalt); align-self: flex-end; border-bottom-right-radius: 4px; }
.dc-bub.dc-err { color: var(--text-alert); }

/* campo de escrita */
.dc-form {
  display: flex; gap: 8px; padding: 12px; align-items: center;
  background: var(--surface-base); border-top: 1px solid var(--border);
}
.dc-form input {
  flex: 1 1 auto; min-width: 0; padding: 11px 15px; border-radius: 100px;
  border: 1px solid var(--border-strong); background: var(--brand-white);
  color: var(--text); font-family: inherit; font-size: .92rem;
}
.dc-form input:focus-visible { outline: 3px solid var(--brand-cobalt); outline-offset: 2px; }
.dc-form input:disabled { opacity: .6; }
.dc-send {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--lime-gradient); color: var(--on-lime); font-size: 1.1rem; font-weight: 700;
  transition: transform .2s ease;
}
.dc-send:hover:not(:disabled) { transform: scale(1.06); }
.dc-send:disabled { opacity: .5; cursor: progress; }
.dc-foot {
  padding: 0 14px 12px; font-size: .72rem; color: var(--text-muted);
  text-align: center; background: var(--surface-base); min-height: 0;
}

@media (max-width: 640px) {
  /* teclado do telemóvel: 16px evita o zoom do iOS ao focar o campo de escrita */
  .dc-form input { font-size: 16px; padding: 13px 16px; }
  /* 16px também aqui: o iOS dá zoom ao abrir um <select> com fonte menor */
  .dc-sector select { font-size: 16px; padding: 6px 8px; max-width: 116px; }
  .dc-note { font-size: .78rem; }
  .dc-bub { font-size: .94rem; max-width: 88%; }
  /* alvos de toque */
  .dc-send { width: 46px; height: 46px; }
  .dc-close { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  /* ecrã inteiro: uma conversa de WhatsApp não vive numa caixinha */
  .demo-chat { width: 100vw; height: 100dvh; max-height: none; }
  .dc-shell { border-radius: 0; }
  /* com o teclado aberto sobra pouca altura: o cabeçalho encolhe e a conversa manda */
  .dc-head { padding: 10px 12px; }
  .dc-av { width: 34px; height: 34px; }
  .dc-log { padding: 14px 12px; }
  .dc-form { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
}

/* links nas bolhas (o link de pagamento chega na conversa) */
.dc-bub a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.dc-bub a:hover { opacity: .8; }
