/* Landing pages: base do layout (tokens, tipografia, botões, barra do topo, rodapé, botão de mensagem e CTA fixo no celular).
   Design próprio das LPs: índigo JP + lima, azul SXS e seções brancas. Carregado só nas LPs (inc/landing.php). */
:root {
  color-scheme: dark;
  --indigo: #1C1542; --indigo-2: #261D57; --navy: #0B1838; --navy-2: #10244F;
  --violet: #8A3CF0; --violet-soft: #C5A0FF; --lime: #C8D43F; --lime-ink: #1C1542; --olive: #5C6600;
  --white: #FFFFFF; --mist: #F5F3FB; --ink-dark: #201848; --muted-dark: #504A78;
  --ink: #F7F5FF; --muted: #BDB5DE; --dim: #948BBE;
  --line: rgb(255 255 255 / .11); --line-2: rgb(255 255 255 / .2); --glass: rgb(255 255 255 / .05);
  --display: "Outfit", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 22px; --r-in: 14px; --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px); --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--indigo); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, ul, ol { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.light { background: var(--white); color: var(--ink-dark); --muted: var(--muted-dark); --line: rgb(32 24 72 / .1); --line-2: rgb(32 24 72 / .18); --glass: var(--mist); }
.mistbg { background: var(--mist); }
.navybg { background: var(--navy); --muted: #AFBCDA; }
.i { width: 1.1em; height: 1.1em; flex: none; }
svg.i { fill: currentColor; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 95; background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .top { top: 0; } }

.h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.022em; line-height: 1.02; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.lede { color: var(--muted); font-size: clamp(1.04rem, .98rem + .3vw, 1.2rem); max-width: 56ch; }
.head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(36px, 5vw, 60px); }
.hl { color: var(--lime); }
.light .hl { color: var(--violet); }
.kicker { font: 500 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.light .kicker { color: var(--olive); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; padding-inline: 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--lime); color: var(--lime-ink); font: 700 1.02rem/1 var(--font); letter-spacing: -0.01em;
  box-shadow: 0 12px 30px -12px rgb(200 212 63 / .65); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); background: #D6E152; box-shadow: 0 18px 40px -14px rgb(200 212 63 / .8); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 12px 30px -12px rgb(138 60 240 / .7); }
.btn-violet:hover { background: #9B55FF; box-shadow: 0 18px 40px -14px rgb(138 60 240 / .85); }
.btn-sm { min-height: 44px; padding-inline: 20px; font-size: .95rem; }

/* Barra do topo */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgb(28 21 66 / .82); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
/* JP&SXS iDea logo (vector): white letters, bulb accent */
.lg-main { fill: var(--logo-fill, currentColor); }
.lg-acc { fill: var(--logo-accent, #E39C24); }
.logo { display: block; height: 34px; width: auto; aspect-ratio: 2374 / 499; color: #FFFFFF; --logo-fill: url(#logo-silver); --logo-accent: #A87F3F; }
.logo-full { height: 44px; }
@media (max-width: 640px) { .top .logo { height: 30px; } }
@media (max-width: 380px) { .top .logo { height: 26px; } }
.top-right { display: flex; align-items: center; gap: 14px; }
.where { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); }
.where .i { color: var(--lime); }
/* Seletor de cidade (no lugar do rótulo quando há mais de uma cidade) */
.where-switch { position: relative; }
.where-switch summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; cursor: pointer; list-style: none; box-shadow: 0 0 0 1px var(--line) inset; transition: color .2s, box-shadow .2s; }
.where-switch summary::-webkit-details-marker { display: none; }
.where-switch summary::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.where-switch[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.where-switch summary:hover, .where-switch[open] summary { color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.where-switch ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 45; min-width: 100%; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: #1E1650; box-shadow: 0 0 0 1px rgb(255 255 255 / .12) inset, 0 24px 60px -20px rgb(0 0 0 / .75); }
.where-switch a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.where-switch a:hover { background: rgb(255 255 255 / .08); color: var(--ink); }
.where-switch a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.where-switch a[aria-current="page"] .i { color: var(--lime); }
.where-switch a:not([aria-current]) .i { color: var(--dim); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--glass); box-shadow: 0 0 0 1px var(--line) inset; }
.lang a { display: grid; place-items: center; min-width: 38px; min-height: 36px; padding: 0 8px; border-radius: 999px; color: var(--muted); font: 500 .78rem/1 var(--mono); letter-spacing: .08em; text-decoration: none; transition: background-color .2s, color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--lime); color: var(--lime-ink); }
.ribbons { position: absolute; z-index: -1; pointer-events: none; color: var(--lime); }
.ribbons svg { display: block; width: 100%; height: auto; overflow: visible; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.cta-row small { color: var(--muted); }

/* Rodapé */
footer { border-top: 1px solid var(--line); padding-block: 36px calc(36px + 76px); color: var(--dim); font-size: .88rem; }
footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 40px; align-items: center; }
footer .fcontact { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); }
footer .fcontact a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
footer .fcontact a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer .fcontact .i { color: var(--lime); }
footer .ftext { grid-column: 2; }
@media (max-width: 680px) { footer .wrap { grid-template-columns: minmax(0, 1fr); } footer .ftext { grid-column: auto; } }

/* Botão de mensagem (WhatsApp / SMS) */
.msg-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: grid; justify-items: end; gap: 12px; transition: bottom .3s var(--ease); }
body.mbar-on .msg-float { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
.msg-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--violet); color: #fff; font: 700 .96rem/1 var(--font); cursor: pointer; box-shadow: 0 0 0 1px rgb(255 255 255 / .22) inset, 0 16px 36px -12px rgb(0 0 0 / .6); }
.msg-btn .i { width: 22px; height: 22px; }
.msg-btn[aria-expanded="true"] { background: #2A1F66; }
.msg-pop { width: min(330px, calc(100vw - 32px)); padding: 16px; border-radius: 20px; background: #1E1650; color: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .12) inset, 0 24px 60px -20px rgb(0 0 0 / .75); }
.msg-title { font-weight: 700; font-size: .96rem; margin: 2px 4px 12px; }
.msg-opts { display: grid; gap: 8px; }
.msg-opts.sms-first .opt-sms { order: -1; }
.msg-opt { display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; align-items: center; gap: 12px; padding: 11px; border-radius: 14px; background: rgb(255 255 255 / .06); color: #fff; text-decoration: none; }
.msg-opt:hover { background: rgb(255 255 255 / .12); }
.msg-opt > .i { width: 16px; height: 16px; color: rgb(255 255 255 / .55); }
.mo-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.mo-ic .i { width: 21px; height: 21px; }
.opt-wa .mo-ic { background: #25D366; color: #06301A; } .opt-sms .mo-ic { background: #4F8BFF; color: #fff; }
.mo-txt b { display: block; font-weight: 700; } .mo-txt small { display: block; margin-top: 3px; color: rgb(255 255 255 / .72); font-size: .8rem; line-height: 1.35; }
.nw { white-space: nowrap; }
@media (max-width: 680px) { .msg-btn { width: 54px; height: 54px; min-height: 0; padding: 0; justify-content: center; } .msg-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* CTA fixo no celular */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgb(28 21 66 / .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; display: none; }
.mbar.show { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.mbar .btn { width: 100%; }

@media (max-width: 1000px) { .where { display: none; } .lp-hub .where { display: inline-flex; } }
@media (max-width: 680px) { .top .btn { display: none; } .mbar { display: block; } }
