/* Atende.IA — landing page. Azulejo (cobalto) + amarelo do elétrico de Lisboa. Sem dependências externas. */
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #f6f7fc;          /* azulejo branco */
  --surface: #ffffff;
  --ink: #0e1b3d;         /* azul-marinho */
  --ink-2: #4a5575;
  --line: #d8def0;
  --mist: #e6ebf8;
  --primary: #1b3fa0;     /* cobalto */
  --on-primary: #ffffff;
  --accent: #f6c21c;      /* amarelo do elétrico */
  --on-accent: #1d1600;
  --deep: #0e1b3d;        /* secções escuras */
  --on-deep: #eef1fb;
  --on-deep-2: #aab4d8;
  --ok: #17794a;
  --shadow: 0 1px 2px rgba(14, 27, 61, .06), 0 12px 32px -12px rgba(14, 27, 61, .18);
  --radius: 20px;
  --font-display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1130; --surface: #121b40; --ink: #eef1fb; --ink-2: #aab4d8; --line: #25305f; --mist: #172151;
    --primary: #8aa5ff; --on-primary: #08102b; --deep: #060b22; --on-deep: #eef1fb; --on-deep-2: #9aa5cf; --ok: #52d68f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1130; --surface: #121b40; --ink: #eef1fb; --ink-2: #aab4d8; --line: #25305f; --mist: #172151;
  --primary: #8aa5ff; --on-primary: #08102b; --deep: #060b22; --on-deep: #eef1fb; --on-deep-2: #9aa5cf; --ok: #52d68f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ───── botões ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn.yellow { background: var(--accent); color: var(--on-accent); }
.btn.yellow:hover { background: #ffd23d; }
.btn.blue { background: var(--primary); color: var(--on-primary); }
.btn.blue:hover { filter: brightness(1.1); }
.btn.line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.line:hover { background: var(--mist); }
.btn.line-deep { border-color: var(--on-deep-2); color: var(--on-deep); background: transparent; }
.btn.line-deep:hover { background: rgba(255, 255, 255, .08); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ───── navegação ───── */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem/1 var(--font-display); letter-spacing: -.03em; }
.brand-mark { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 18px; }

/* ───── hero ───── */
.hero { position: relative; overflow: hidden; padding-block: 56px 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--primary); opacity: .09; z-index: 0; -webkit-mask: url("tile.svg") 0 0 / 56px 56px, linear-gradient(#000, transparent 85%); -webkit-mask-composite: source-in; mask: url("tile.svg") 0 0 / 56px 56px, linear-gradient(#000, transparent 85%); mask-composite: intersect; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); font-weight: 800; max-width: 11ch; }
.hero .lead { margin-top: 24px; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-2); max-width: 34em; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 20px; font-size: .95rem; color: var(--ink-2); max-width: 34em; }

.stage { position: relative; display: grid; justify-items: center; gap: 18px; }
.tabs { display: inline-flex; padding: 5px; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); flex-wrap: wrap; justify-content: center; }
.tabs button { appearance: none; border: 0; background: transparent; color: var(--ink-2); font: 700 .95rem/1 var(--font-body); min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--primary); color: var(--on-primary); }
.tabs button:not([aria-selected="true"]):hover { background: var(--mist); color: var(--ink); }

.phone { width: min(340px, 100%); border-radius: 38px; padding: 10px; background: #0b1226; box-shadow: 0 30px 60px -24px rgba(14, 27, 61, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone-screen { border-radius: 30px; overflow: hidden; background: #efeae2; height: 520px; display: grid; grid-template-rows: auto 1fr auto; color: #111b21; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0f2a63; color: #fff; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 800 1rem/1 var(--font-display); flex: none; }
.phone-top strong { display: block; font-size: .98rem; line-height: 1.2; }
.phone-top small { font-size: .78rem; opacity: .75; }
.chat { padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; justify-content: flex-end; background-image: radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px); background-size: 14px 14px; }
.bubble { max-width: 82%; padding: 8px 11px 6px; border-radius: 12px; font-size: .93rem; line-height: 1.38; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); animation: pop .22s ease-out both; }
.bubble time { display: block; text-align: right; font-size: .68rem; color: rgba(17, 27, 33, .55); margin-top: 2px; }
.bubble.me { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.bubble.biz { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.typing { align-self: flex-start; background: #fff; border-radius: 12px; border-top-left-radius: 3px; padding: 11px 14px; display: inline-flex; gap: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: blink 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.phone-bottom { padding: 9px 12px 12px; background: #f0f2f5; display: flex; gap: 8px; align-items: center; }
.phone-bottom span { flex: 1; background: #fff; border-radius: 999px; padding: 9px 14px; color: #8696a0; font-size: .88rem; }
.phone-bottom b { width: 36px; height: 36px; border-radius: 50%; background: #0f2a63; flex: none; }
.toast { position: relative; z-index: 2; margin-top: -46px; width: min(300px, 92%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.toast.on { opacity: 1; transform: none; }
.toast b { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--ink-2); font-weight: 700; }
.toast b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.toast p { margin-top: 4px; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.toast small { display: block; margin-top: 4px; color: var(--ink-2); font-size: .85rem; }
.replay { appearance: none; background: none; border: 0; color: var(--primary); font: 700 .92rem/1 var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; padding: 6px; }
.stage .caption { font-size: .86rem; color: var(--ink-2); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

/* ───── secções ───── */
section { padding-block: 88px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.15rem; max-width: 36em; }

/* momento: o dia de mensagens */
.moment { background: var(--deep); color: var(--on-deep); }
.moment .section-head p { color: var(--on-deep-2); }
.day { margin-top: 8px; }
.day-bar { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; height: 54px; align-items: end; }
.day-bar i { display: block; border-radius: 4px; background: rgba(255, 255, 255, .13); height: 36%; }
.day-bar i.open { background: var(--primary); height: 100%; filter: brightness(1.5); }
.day-dots { position: relative; height: 92px; margin-top: 10px; }
.dot { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .86rem; color: var(--on-deep-2); width: 120px; }
.dot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(246, 194, 28, .22); }
.dot b { color: var(--on-deep); font-weight: 700; }
.dot.r { transform: translateX(-100%); justify-items: end; text-align: right; }
.day-scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--on-deep-2); margin-top: 6px; }
.day-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: .9rem; color: var(--on-deep-2); }
.day-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; background: rgba(255, 255, 255, .25); }
.day-legend span.d::before { background: var(--accent); border-radius: 50%; }
.day-legend span.o::before { background: var(--primary); filter: brightness(1.5); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.cell h3 { font-size: 1.5rem; font-weight: 700; }
.cell p { color: var(--ink-2); }
.cell.c-a { grid-column: span 3; background: var(--primary); color: var(--on-primary); border-color: transparent; }
.cell.c-a p { color: color-mix(in srgb, var(--on-primary) 82%, transparent); }
.cell.c-b { grid-column: span 3; }
.cell.c-c { grid-column: span 2; background: var(--accent); color: var(--on-accent); border-color: transparent; }
.cell.c-c p { color: rgba(29, 22, 0, .78); }
.cell.c-d { grid-column: span 2; }
.cell.c-e { grid-column: span 2; background: var(--mist); border-color: transparent; }
.big-clock { font: 800 clamp(3rem, 7vw, 5rem)/1 var(--font-display); letter-spacing: -.04em; }
.agenda { display: grid; grid-template-columns: 52px 1fr; gap: 6px 10px; font-size: .86rem; color: var(--ink-2); margin-top: 4px; }
.agenda .slot { border-radius: 8px; background: var(--mist); padding: 6px 10px; min-height: 30px; color: var(--ink-2); }
.agenda .slot.taken { background: var(--primary); color: var(--on-primary); font-weight: 700; }
.agenda .slot.new { background: var(--accent); color: var(--on-accent); font-weight: 700; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.cell.c-c .pill { background: rgba(255, 255, 255, .5); border-color: transparent; }

/* aplicação de gestão (ilustração em HTML/CSS, dados fictícios) */
.bo-fig { margin: 0; display: grid; gap: 14px; }
.bo { border-radius: 16px; border: 1px solid var(--line); background: #f3f6f4; box-shadow: var(--shadow); overflow: hidden; color: #17302a; font-size: .8rem; line-height: 1.3; }
.bo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e4e9ee; }
.bo-bar i { width: 10px; height: 10px; border-radius: 50%; background: #b8c0cc; }
.bo-bar span { margin-left: 10px; padding: 3px 14px; border-radius: 999px; background: #fff; color: #5a6675; font-size: .72rem; }
.bo-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 380px; }
.bo-side { background: #123d2e; color: #cfe5da; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.bo-logo { display: flex; align-items: center; gap: 8px; color: #fff; font: 800 1rem/1 var(--font-display); }
.bo-logo em { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #2f9e6f; font-style: normal; font-size: .85rem; }
.bo-biz { padding: 7px 10px; border-radius: 8px; background: #1e5a44; color: #fff; font-weight: 600; }
.bo-side ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.bo-side li { padding: 7px 10px; border-radius: 8px; }
.bo-side li.on { background: #1e5a44; color: #fff; font-weight: 700; }
.bo-main { padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.bo-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bo-kpis div { background: #fff; border: 1px solid #dbe4df; border-radius: 10px; padding: 8px 12px; display: grid; }
.bo-kpis small { color: #6b7c75; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.bo-kpis b { font: 800 1.6rem/1.1 var(--font-display); }
.bo-kpis span { color: #5a6b64; }
.bo-kpis .hi { background: #fff7d6; border-color: #f0dc8a; }
.bo-cal { display: grid; grid-template-columns: 46px repeat(3, minmax(0, 1fr)); grid-template-rows: 26px repeat(6, 38px); gap: 4px; background: #fff; border: 1px solid #dbe4df; border-radius: 10px; padding: 8px; }
.bo-cal .h { font-weight: 700; text-align: center; color: #123d2e; }
.bo-cal .t { color: #7a8a83; font-size: .7rem; grid-column: 1; }
.bo-cal .ev { border-radius: 7px; padding: 4px 7px; font-weight: 700; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-width: 0; white-space: nowrap; text-overflow: ellipsis; }
.bo-cal .ev small { font-weight: 500; opacity: .85; font-size: .68rem; overflow: hidden; text-overflow: ellipsis; }
.bo-cal .a { background: #d6ebe0; color: #123d2e; border-left: 3px solid #2f9e6f; }
.bo-cal .n { background: #f6c21c; color: #1d1600; box-shadow: 0 0 0 2px rgba(246, 194, 28, .35); }
.bo-cal .x { background: #fbe0dd; color: #8a2a20; border-left: 3px solid #d0493a; }
.bo-cal .r { background: #dfe6fb; color: #1b3fa0; border-left: 3px solid #1b3fa0; }
.bo-alert { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 9px 12px; border-radius: 10px; background: #fff7d6; border: 1px solid #f0dc8a; }
@media (max-width: 720px) {
  .bo-body { grid-template-columns: minmax(0, 1fr); }
  .bo-side { display: none; }
  .bo-kpis b { font-size: 1.3rem; }
  .bo-cal { grid-template-columns: 38px repeat(3, minmax(0, 1fr)); font-size: .72rem; }
  .bo-cal .ev { padding: 3px 5px; }
  .bo-cal .ev small { display: none; }
}

/* passos */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 28px 0 0; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font: 800 1.2rem/1 var(--font-display); margin-bottom: 20px; position: relative; z-index: 1; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 54px; right: 8px; border-top: 2px dashed var(--line); }
.step h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-2); max-width: 26em; }

/* setores */
.sectors { background: var(--surface); border-block: 1px solid var(--line); }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sector { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.sector h3 { font-size: 1.7rem; font-weight: 800; }
.sector p { color: inherit; opacity: .84; }
.sector ul { margin: auto 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 600; }
.sector li::before { content: "✓"; margin-right: 10px; font-weight: 800; }
.sector.s1 { background: var(--primary); color: var(--on-primary); }
.sector.s2 { background: var(--accent); color: var(--on-accent); }
.sector.s3 { background: var(--deep); color: var(--on-deep); }
.soon { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: center; }
.soon h3 { font-size: 1.4rem; font-weight: 700; }
.soon p { color: var(--ink-2); margin-top: 6px; }
.soon .pill-list .pill { background: var(--bg); border-style: dashed; }

/* pacotes */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.feat { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -14px; left: 28px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .84rem; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.6rem; font-weight: 800; }
.plan .for { color: var(--ink-2); margin-top: -10px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font: 800 clamp(1.5rem, 2.4vw, 1.9rem)/1.15 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price span { color: var(--ink-2); font-weight: 600; }
.vol { padding: 14px 16px; border-radius: 14px; background: var(--mist); display: grid; gap: 2px; }
.vol b { font-size: 1.05rem; }
.vol span { color: var(--ink-2); font-size: .93rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan-notes { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; color: var(--ink-2); font-size: .98rem; }
.plan-notes b { color: var(--ink); display: block; margin-bottom: 4px; }
.pilot { margin-top: 28px; padding: 20px 24px; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pilot strong { font: 800 1.35rem/1.2 var(--font-display); }
.pilot .btn { background: var(--on-accent); color: var(--accent); }

/* comparação */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .98rem; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 700 1rem/1.2 var(--font-body); color: var(--ink-2); }
.cmp tbody th { font-weight: 600; width: 22%; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .us { background: color-mix(in srgb, var(--primary) 9%, var(--surface)); font-weight: 700; }
.cmp thead .us { color: var(--primary); font-family: var(--font-display); font-size: 1.15rem; }
.y { color: var(--ok); font-weight: 800; }
.n { color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 1.12rem/1.35 var(--font-body); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.6rem/1 var(--font-body); color: var(--primary); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* contacto */
.contact { background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: var(--primary); opacity: .22; -webkit-mask: url("tile.svg") 0 0 / 56px 56px; mask: url("tile.svg") 0 0 / 56px 56px; }
.contact .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.contact h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
.contact .wrap > div > p { margin-top: 16px; color: var(--on-deep-2); font-size: 1.15rem; max-width: 30em; }
.form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input, .form select { font: 400 1rem/1.2 var(--font-body); min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.form input:focus, .form select:focus { border-color: var(--primary); outline: 3px solid color-mix(in srgb, var(--primary) 25%, transparent); outline-offset: 0; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form small { color: var(--ink-2); }
.form .status { font-weight: 600; color: var(--ink-2); min-height: 1.4em; }

footer { background: var(--deep); color: var(--on-deep-2); padding-block: 32px 40px; border-top: 1px solid rgba(255, 255, 255, .1); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: .95rem; }
footer .brand { color: var(--on-deep); }

/* ───── responsivo ───── */
@media (max-width: 980px) {
  .hero .wrap, .contact .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-block: 40px 56px; }
  .nav-links { display: none; }
  .plans, .sector-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .plans { gap: 28px; }
  .step { padding: 0 0 32px; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .step::before { grid-row: 1 / span 2; margin-bottom: 0; }
  .step:not(:last-child)::after { top: 54px; left: 22px; right: auto; bottom: 8px; border-top: 0; border-left: 2px dashed var(--line); }
  .step h3 { grid-column: 2; margin-top: 8px; }
  .step p { grid-column: 2; }
  .plan-notes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell.c-a, .cell.c-b, .cell.c-c, .cell.c-d, .cell.c-e { grid-column: auto; }
  .soon { grid-template-columns: minmax(0, 1fr); }
  section { padding-block: 64px; }
}
@media (max-width: 520px) {
  .phone-screen { height: 480px; }
  .dot { width: auto; font-size: .78rem; }
  .dot:nth-child(3) { transform: translateX(-120%); }
  .dot span { display: none; }
  .form .row2 { grid-template-columns: minmax(0, 1fr); }
  .hero .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
