/* Shared design system for the Sales 3S pages (/ and /ia/...): section themes, type scale, controls,
   product screens and scroll-animation hooks. Linked by src/ia/layout.html and index.html.
   Brand accents come from CSS variables (--link, --mark, --cta); the Sales 3S page overrides them with orange. */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: #fff;
  color: #1d1d1f;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #BFDBFE; color: #1E3A8A; }
h1, h2, h3 { text-wrap: balance; }
/* fieldsets default to min-width: min-content, which pushed the AI form 7px past the edge on 320px phones */
fieldset { min-width: 0; }
strong, b { font-weight: 600; }

/* ---- section themes: light / gray / dark (colors via variables so components work on any of them) ---- */
.theme-light { --bg: #ffffff; --fg: #1d1d1f; --muted: #6e6e73; --tile: #f5f5f7; --line: rgba(0,0,0,.09); --link: #2563EB; --mark: #2563EB; }
.theme-gray  { --bg: #f5f5f7; --fg: #1d1d1f; --muted: #6e6e73; --tile: #ffffff; --line: rgba(0,0,0,.09); --link: #2563EB; --mark: #2563EB; }
.theme-dark  { --bg: #000000; --fg: #f5f5f7; --muted: #a1a1a6; --tile: #161617; --line: rgba(255,255,255,.14); --link: #3B82F6; --mark: #3B82F6; }
.theme-light, .theme-gray, .theme-dark { background: var(--bg); color: var(--fg); }
.fg { color: var(--fg); }
.muted { color: var(--muted); }
.tile { background: var(--tile); border-radius: 28px; }
.hair { border-color: var(--line); }
.link { color: var(--link); }

/* ---- type scale: same sizes as the main 3S Academy page (h1 38→58px, h2 30→42px, weight 500) ---- */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.display-hero { font-size: 38px; line-height: 1.06; font-weight: 500; letter-spacing: -.03em; }
.display { font-size: 30px; line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
.headline { font-size: 26px; line-height: 1.15; font-weight: 500; letter-spacing: -.022em; }
.title { font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.lead { font-size: 18px; line-height: 1.6; font-weight: 400; }
@media (min-width: 640px) { .display-hero { font-size: 48px; } }
@media (min-width: 768px) {
  .display { font-size: 42px; }
  .headline { font-size: 34px; }
  .title { font-size: 24px; }
  .lead { font-size: 20px; }
}
@media (min-width: 1280px) { .display-hero { font-size: 58px; } }
.body { font-size: 17px; line-height: 1.55; letter-spacing: -.01em; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
/* highlight color (same blue as the primary button, #2563EB), lightened on dark sections so it stays readable */
.mark { color: var(--mark); }

/* ---- controls ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 46px; padding: 12px 24px; border-radius: 980px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; transition: background-color .25s, transform .25s; }
.btn-primary { background: var(--cta, #2563EB); color: #fff; }
.btn-primary:hover { background: var(--cta-hover, #1D4ED8); }
.btn-ghost { color: var(--link); border: 1px solid currentColor; }
.btn-ghost:hover { background: color-mix(in srgb, var(--link) 10%, transparent); }
.btn-whatsapp { --link: #25D366; }
.theme-light .btn-whatsapp, .theme-gray .btn-whatsapp { --link: #15803D; }
.more { display: inline-flex; align-items: center; gap: .25em; color: var(--link); font-size: 17px; font-weight: 500; }
.more:hover { text-decoration: underline; }
.more.muted { color: var(--muted); }   /* secondary link in the section's gray (e.g. hero "Conhecer os treinamentos") */
.more.muted:hover { color: var(--fg); }
.pill { display: inline-flex; align-items: center; gap: .45em; border-radius: 980px; padding: 6px 14px; font-size: 14px; font-weight: 500; }

/* ---- icons (sprite at the top of <body>) ---- */
/* default size has zero specificity (:where) so Tailwind w-/h- classes on the icon always win */
:where(.ic) { width: 24px; height: 24px; }
.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---- product "screens" ---- */
.screen { border-radius: 22px; background: #0B1530; color: #fff; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 60px 120px -40px rgba(2,11,26,.55), 0 0 0 10px #1d1d1f, 0 0 0 11px #3a3a3c; }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.phone { width: min(330px, 100%); border-radius: 48px; padding: 12px; background: #1d1d1f; box-shadow: 0 60px 120px -40px rgba(0,0,0,.45), inset 0 0 0 1px #3a3a3c; }
.phone-screen { position: relative; overflow: hidden; border-radius: 38px; background: #ECE5DD; }
.grid-texture-dark { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }

/* ---- header ---- */
.nav-link.is-active { color: #2563EB; }

/* mobile menu */
#mobile-panel { transition: max-height .3s ease-out, opacity .22s ease-out; overflow: hidden; }
#mobile-panel.closed { max-height: 0; opacity: 0; }
#mobile-panel.open { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; opacity: 1; }

/* ---- motion hooks (GSAP, see ia/animations.js). Hidden only when animations will run. ---- */
html.js-anim [data-fade], html.js-anim [data-stagger] > *, html.js-anim [data-hero], html.js-anim [data-hero-title], html.js-anim [data-gi-card] { opacity: 0; }
.word { display: inline-block; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.word-inner { display: inline-block; }

/* ---- scroll story (statement) ---- */
/* static: sentences stacked and centered */
.story-stage { padding: 128px 20px; }
.story-content { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.story-text { margin: 0; text-align: center; }
.story-text strong { font-weight: 600; }
.story-word { display: inline-block; white-space: nowrap; }
.story-char { display: inline-block; }
@media (min-width: 768px) { .story-stage { padding: 192px 40px; } }
/* animated: one full-height pinned stage; the sentences stay stacked and centered and are typed in one after another by GSAP */
html.js-anim .story-stage { height: 100vh; height: 100svh; padding: 0 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
html.js-anim .story-content { width: 100%; }
html.js-anim .story-char { opacity: 0; transform: translate3d(0, 10px, 0); will-change: opacity, transform; }
@media (min-width: 768px) { html.js-anim .story-stage { padding: 0 40px; } }

#back-to-top { transition: opacity .22s ease-out, transform .22s ease-out; }
#back-to-top.hide { opacity: 0; transform: translateY(10px); pointer-events: none; }
#back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* reduced motion: no smooth-scroll jumps or CSS loops; GSAP still runs a calmer version of the reveals */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-ping { animation: none; }
}

/* ---- Sales 3S brand (orange) — set class="brand-sales" on <body> ---- */
.brand-sales { --cta: #F94317; --cta-hover: #EA280C; }
/* solid orange block (home: "O que são vendas complexas?" card and the closing CTA): white text, white primary button */
.theme-orange { --bg: #F94317; --fg: #ffffff; --muted: rgba(255,255,255,.88); --tile: #F94317; --line: rgba(255,255,255,.3); --link: #ffffff; --mark: #ffffff; background: var(--bg); color: var(--fg); }
.theme-orange .btn-primary { background: #fff; color: #F94317; }
.theme-orange .btn-primary:hover { background: #FFF3ED; }
.theme-orange .btn-whatsapp { --link: #ffffff; }
.theme-orange ::selection { background: #fff; color: #F94317; }
/* darker orange on light backgrounds keeps small text readable (AA); the brighter orange is used on dark */
.brand-sales .theme-light, .brand-sales .theme-gray { --link: #EA280C; --mark: #EA280C; }
.brand-sales .theme-dark { --link: #FB693C; --mark: #FB693C; }
/* home: every highlight uses the main Sales 3S orange, no lighter or darker tones */
.page-home .theme-light, .page-home .theme-gray, .page-home .theme-dark { --link: #F94317; --mark: #F94317; }
.brand-sales ::selection { background: #FFE4D5; color: #7C1612; }
.brand-sales .screen { background: #15171C; }

/* ---- home "Metodologia": premium pillar cards (white, hairline border, an orange light on the top edge that brightens on hover) ---- */
.pillar { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: linear-gradient(180deg, #fff 0%, #FCFCFD 100%); border: 1px solid rgba(0,0,0,.07); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 30px 60px -36px rgba(124,22,18,.28); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s, border-color .5s; }
.pillar::before { content: ""; position: absolute; inset: 0 28px auto 28px; height: 2px; background: linear-gradient(90deg, transparent, #F94317, transparent); opacity: .35; transition: opacity .5s, inset .7s cubic-bezier(.2,.8,.2,1); }
.pillar::after { content: ""; position: absolute; z-index: -1; top: -120px; right: -120px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(249,67,23,.16), transparent); opacity: .6; transition: opacity .5s, transform .7s; }
.pillar:hover { transform: translateY(-6px); border-color: rgba(249,67,23,.25); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 40px 80px -36px rgba(124,22,18,.4); }
.pillar:hover::before { opacity: 1; inset: 0 0 auto 0; }
.pillar:hover::after { opacity: 1; transform: scale(1.15); }
.pillar-logo { display: flex; align-items: center; height: 40px; }
.pillar-tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; color: #fff; background: linear-gradient(140deg, #FB693C, #EA280C); box-shadow: 0 6px 14px -4px rgba(234,40,12,.55); }
.pillar-cta { display: flex; align-items: center; justify-content: space-between; gap: .35em; align-self: end; min-height: 46px; padding: 0 18px 0 22px; white-space: nowrap; border-radius: 980px; font-size: 15px; font-weight: 500; color: #EA280C; background: #FFF3ED; border: 1px solid rgba(249,67,23,.18); transition: background-color .3s, color .3s, box-shadow .3s; }
.pillar-cta svg { transition: transform .3s; }
.pillar-cta:hover { color: #fff; background: linear-gradient(140deg, #FB693C, #EA280C); box-shadow: 0 12px 24px -10px rgba(234,40,12,.6); }
.pillar-cta:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .pillar, .pillar:hover { transform: none; } }

/* ---- Plataforma 3S brand (slate #30343F, orange only as the accent of highlighted words) — class="brand-sales brand-platform" on <body> ---- */
.brand-platform { --cta: #30343F; --cta-hover: #1F2229; }
.brand-platform .theme-dark { --bg: #30343F; --tile: #3A3F4B; --muted: #B4B8C2; }
.brand-platform .theme-dark .btn-primary { background: #fff; color: #30343F; }
.brand-platform .theme-dark .btn-primary:hover { background: #E6E8EC; }
.brand-platform ::selection { background: #E3E5EA; color: #30343F; }

/* ---- blog article body (HTML imported from WordPress, see scripts/import-wordpress.js) ---- */
.post-body { font-size: 18px; line-height: 1.7; color: #333336; letter-spacing: -.005em; overflow-wrap: break-word; }
.post-body > * + * { margin-top: 1.15em; }
.post-body h2 { margin-top: 2em; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--fg); }
.post-body h3 { margin-top: 1.7em; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--fg); }
.post-body h4, .post-body h5, .post-body h6 { margin-top: 1.5em; font-size: 19px; font-weight: 600; color: var(--fg); }
.post-body h2 strong, .post-body h3 strong { font-weight: inherit; }
.post-body strong, .post-body b { font-weight: 600; color: var(--fg); }
.post-body a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:hover { text-decoration-thickness: 2px; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .45em; }
.post-body li::marker { color: var(--mark); }
.post-body img { max-width: 100%; height: auto; border-radius: 18px; }
.post-body figure { margin-left: 0; margin-right: 0; }
.post-body figcaption { margin-top: .6em; font-size: 14px; color: var(--muted); text-align: center; }
.post-body blockquote { padding: 4px 0 4px 20px; border-left: 3px solid var(--mark); font-size: 20px; color: var(--fg); }
.post-body hr, .post-body .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.post-body pre, .post-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; }
.post-body pre { padding: 16px 18px; border-radius: 14px; background: #f5f5f7; overflow-x: auto; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.post-body th, .post-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.post-body .post-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.post-body .post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.post-body .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 980px; background: var(--cta, #F94317); color: #fff !important; text-decoration: none; font-weight: 500; font-size: 16px; }
.post-body .wp-block-button__link:hover { background: var(--cta-hover, #EA280C); }
.post-body .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.post-body .wp-block-gallery figure { margin: 0; }
.post-body .wp-block-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.post-body .wp-block-cover { position: relative; padding: 32px; border-radius: 18px; overflow: hidden; color: #fff; }
.post-body .wp-block-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.post-body .wp-block-cover .wp-block-cover__inner-container { position: relative; }
.post-body .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 640px) { .post-body { font-size: 17px; } .post-body h2 { font-size: 24px; } .post-body .wp-block-media-text { grid-template-columns: 1fr; } }

/* ---- blog index + article chrome ---- */
.blog-topics { scrollbar-width: none; }
.blog-topics::-webkit-scrollbar { display: none; }
.blog-topic { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 980px; font-size: 14px; font-weight: 500; color: var(--fg); white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.blog-topic .n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.blog-topic:hover { border-color: #1d1d1f; }
.blog-topic.is-on { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.blog-topic.is-on .n { color: rgba(255,255,255,.6); }
.post-toc { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.post-toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s; }
.post-toc a:hover { color: var(--fg); }
.post-toc a.is-on { color: var(--fg); border-left-color: #F94317; font-weight: 500; }
.post-share-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--fg); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.post-share-ic:hover { background: #f5f5f7; }
.post-share-ic.is-done, .pill.is-done { background: #2EAD4B; border-color: #2EAD4B; color: #fff; }
#read-progress { transition: transform .1s linear; }
.post-body > p:first-of-type { font-size: 21px; line-height: 1.6; color: var(--fg); }
.post-body h2, .post-body h3 { scroll-margin-top: 110px; }
@media (max-width: 640px) { .post-body > p:first-of-type { font-size: 19px; } }

/* ---- Partner program brand (money green) — class="brand-sales brand-partners" on <body> (/parceiros/) ---- */
.brand-partners { --cta: #16A34A; --cta-hover: #15803D; }
.brand-partners .theme-light, .brand-partners .theme-gray { --link: #15803D; --mark: #15803D; }
.brand-partners .theme-dark { --bg: #0B5D33; --tile: #0E6B3B; --muted: #C3E6D0; --line: rgba(255,255,255,.18); --link: #A3E635; --mark: #A3E635; }
.brand-partners .theme-dark .btn-primary { background: #fff; color: #0B5D33; }
.brand-partners .theme-dark .btn-primary:hover { background: #ECFDF3; }
.brand-partners ::selection { background: #DCFCE7; color: #14532D; }

/* ---- AI training pages, premium dark canvas (/ia/imersao/, /ia/profissional-do-futuro/, /ia/lideranca/) ----
   class="theme-dark ia-premium accent-<blue|orange|indigo>" on the section; the accent is the training's own pill color. */
.ia-premium { --bg: #030509; --tile: rgba(255,255,255,.04); --accent: #3B82F6; --glow: 59,130,246; --mark: #60A5FA; --link: #60A5FA; }
.ia-premium.accent-orange { --accent: #F94317; --glow: 249,67,23; --mark: #FB693C; --link: #FB693C; --cta: #F94317; --cta-hover: #EA280C; }
.ia-premium.accent-indigo { --accent: #6366F1; --glow: 99,102,241; --mark: #A5B4FC; --link: #A5B4FC; --cta: #4F46E5; --cta-hover: #4338CA; }
.ia-premium ::selection { background: rgba(var(--glow),.35); color: #fff; }

/* eyebrow chip with a fading line on each side */
.chip-line { display: inline-flex; align-items: center; gap: 14px; }
.chip-line::before, .chip-line::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--glow),.8)); }
.chip-line::after { transform: scaleX(-1); }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: 7px 14px; border-radius: 980px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(var(--glow),.14); border: 1px solid rgba(var(--glow),.45); box-shadow: 0 0 24px -6px rgba(var(--glow),.6), inset 0 1px 0 rgba(255,255,255,.12); }
@media (max-width: 480px) { .chip-line::before, .chip-line::after { width: 24px; } }

/* glass card: translucent fill, hairline border, a light top edge */
.glass { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); border-radius: 28px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px -40px rgba(0,0,0,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.glass-accent { border-color: rgba(var(--glow),.4); background: linear-gradient(180deg, rgba(var(--glow),.16), rgba(var(--glow),.03)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 60px -20px rgba(var(--glow),.55), 0 30px 80px -40px rgba(0,0,0,.8); }

/* small glass pills: the facts row under the hero and the labels around the Profissional do Futuro ring */
.pill-glass { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 980px; font-size: 15px; font-weight: 500; color: #fff; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill-glass .ic-wrap { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: var(--mark); background: rgba(var(--glow),.16); }

/* light that follows the pointer inside a card (--mx/--my set by animations.js) */
.spot { overflow: hidden; isolation: isolate; transition: border-color .3s, transform .5s cubic-bezier(.2,.8,.2,1); }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--glow),.22), transparent 60%); }
.spot:hover { border-color: rgba(var(--glow),.45); transform: translateY(-4px); }
.spot:hover::before { opacity: 1; }

/* icon in a glowing gradient square */
.ic-badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; color: #fff; background: linear-gradient(140deg, rgba(var(--glow),1), rgba(var(--glow),.45)); box-shadow: 0 10px 30px -8px rgba(var(--glow),.75), inset 0 1px 0 rgba(255,255,255,.35); }
.ic-badge.soft { color: var(--mark); background: rgba(var(--glow),.12); border: 1px solid rgba(var(--glow),.3); box-shadow: none; }
.ic-badge.dim { color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); box-shadow: none; }

/* two soft lights drifting behind the hero (screen blend), in two shades of the page's accent */
.ia-premium { --light-1: #3B82F6; --light-2: #1D4ED8; }
.ia-premium.accent-orange { --light-1: #F94317; --light-2: #FB693C; }
.ia-premium.accent-indigo { --light-1: #6366F1; --light-2: #4F46E5; }
.drift-lights { position: absolute; inset: 0 0 auto 0; height: 1200px; overflow: hidden; pointer-events: none; }
.drift-lights::before, .drift-lights::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 9999px; filter: blur(160px); mix-blend-mode: screen; will-change: transform, opacity; }
.drift-lights::before { top: 80px; right: 8%; background: var(--light-1); animation: luz-1 14s ease-in-out infinite alternate; }
.drift-lights::after { top: 260px; left: 6%; background: var(--light-2); animation: luz-2 18s ease-in-out infinite alternate; }
@keyframes luz-1 { 0% { transform: translate3d(0,0,0); opacity: .75; } 25% { transform: translate3d(-80px,60px,0); opacity: .9; } 50% { transform: translate3d(-140px,180px,0); opacity: .65; } 75% { transform: translate3d(-60px,260px,0); opacity: .85; } 100% { transform: translate3d(40px,120px,0); opacity: .7; } }
@keyframes luz-2 { 0% { transform: translate3d(0,0,0); opacity: .65; } 25% { transform: translate3d(90px,-40px,0); opacity: .8; } 50% { transform: translate3d(160px,120px,0); opacity: .55; } 75% { transform: translate3d(80px,240px,0); opacity: .75; } 100% { transform: translate3d(-20px,140px,0); opacity: .6; } }
@media (max-width: 600px) {
  .drift-lights::before, .drift-lights::after { width: 180px; height: 180px; filter: blur(70px); }
  .drift-lights::before { top: 40px; right: 0; animation-name: luz-1-mobile; animation-duration: 10s; }
  .drift-lights::after { top: 160px; left: 0; animation-name: luz-2-mobile; animation-duration: 12s; }
}
@keyframes luz-1-mobile { 0% { transform: translate3d(0,0,0); opacity: .75; } 50% { transform: translate3d(-50px,90px,0); opacity: .55; } 100% { transform: translate3d(20px,160px,0); opacity: .8; } }
@keyframes luz-2-mobile { 0% { transform: translate3d(0,0,0); opacity: .6; } 50% { transform: translate3d(60px,70px,0); opacity: .8; } 100% { transform: translate3d(10px,140px,0); opacity: .55; } }

/* soft grid that fades out toward the edges, and loose glows */
.grid-fade { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(var(--glow),.22); filter: blur(120px); }

/* "Entra → Sai" connector */
.shift-line { height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(var(--glow),1)); transform-origin: 0 50%; }
.shift-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(var(--glow),.2), 0 0 24px rgba(var(--glow),.9); }

/* list markers inside the glass cards */
.tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; }
.tick.on { background: var(--accent); color: #fff; box-shadow: 0 0 16px -2px rgba(var(--glow),.8); }
.tick.off { background: rgba(255,255,255,.07); color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.12); }
.tick.why { background: rgba(var(--glow),.14); color: var(--mark); border: 1px solid rgba(var(--glow),.35); }

/* big outlined index number on the take-away cards */
.idx { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.3); font-variant-numeric: tabular-nums; }

/* Imersão staircase and Liderança screen, re-skinned for the dark canvas */
.step { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.step::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 40%); pointer-events: none; }
.ia-premium .screen { background: #0A0F1F; box-shadow: 0 60px 140px -40px rgba(var(--glow),.45), 0 0 0 10px #12141a, 0 0 0 11px rgba(255,255,255,.12); }

@media (prefers-reduced-motion: reduce) {
  .drift-lights::before, .drift-lights::after { animation: none; }
  .spot, .spot:hover { transform: none; }
}

/* ---- 3S Consulting brand (the logo's purple #4E43C8, orange stays for the logo dot only) — class="brand-sales brand-consulting" on <body> (/consulting/) ---- */
.brand-consulting { --cta: #4E43C8; --cta-hover: #3F35AE; }
.brand-consulting .theme-light, .brand-consulting .theme-gray { --link: #4E43C8; --mark: #4E43C8; }
.brand-consulting .theme-dark { --bg: #0D0B26; --tile: #17143A; --link: #A9A3FF; --mark: #A9A3FF; }
.brand-consulting ::selection { background: #E4E2FA; color: #2A2470; }

/* ---- Sales 3S contact form (home, /consulting/, /martech/, see assets/contact-form.js): a white card on any section ---- */
.contact-card { border-radius: 28px; padding: 24px; background: #fff; color: #1d1d1f; box-shadow: 0 40px 90px -40px rgba(0,0,0,.5); }
@media (min-width: 640px) { .contact-card { padding: 40px; } }
.contact-card .btn-primary, .theme-dark .contact-card .btn-primary { background: var(--cta, #F94317); color: #fff; }
.contact-card .btn-primary:hover, .theme-dark .contact-card .btn-primary:hover { background: var(--cta-hover, #EA280C); }
.field-label { display: block; font-size: 14px; font-weight: 500; color: #1d1d1f; }
.field { display: block; width: 100%; height: 48px; margin-top: 8px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,.15); background: #fff; font-size: 17px; color: #1d1d1f; transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: #86868b; }
.field:focus { outline: none; border-color: var(--cta, #F94317); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cta, #F94317) 15%, transparent); }
textarea.field { height: auto; min-height: 112px; padding: 12px 16px; resize: vertical; }
select.field { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

/* ---- phone fields with a country picker (assets/phone-field.js, intl-tel-input): full width like the other fields ---- */
.iti { display: block; width: 100%; }
.iti > input { width: 100%; }
.iti__search-input { font-size: 16px; }

/* ---- FAQ accordion of the main pages (<details class="faq">): one card per question, opens without JavaScript ---- */
.faq { border-radius: 22px; background: var(--tile); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.theme-gray .faq { background: #fff; }
.faq[open] { border-color: color-mix(in srgb, var(--mark) 35%, transparent); box-shadow: 0 24px 48px -32px rgba(15,23,42,.25); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--mark); outline-offset: 2px; border-radius: 22px; }
.faq-icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: color-mix(in srgb, var(--mark) 12%, transparent); transition: background-color .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--mark); transform: translate(-50%, -50%); transition: transform .4s cubic-bezier(.2,.8,.2,1), background-color .3s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon { background: var(--mark); transform: rotate(180deg); }
.faq[open] .faq-icon::before, .faq[open] .faq-icon::after { background: #fff; }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 24px 24px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.faq-a p + p { margin-top: .8em; }
@media (min-width: 768px) { .faq summary { padding: 26px 32px; font-size: 19px; } .faq-a { padding: 0 32px 28px; } }
@media (prefers-reduced-motion: reduce) { .faq-icon, .faq-icon::before, .faq-icon::after { transition: none; } }
