/* UpCiga — direção visual editorial, mobile-first e acessível */
:root {
  color-scheme: light dark;
  --brand: #35156d;
  --brand-deep: #241044;
  --brand-strong: #4c2790;
  --lime: #d7e83a;
  --lime-deep: #b8cc15;
  --ink: #211b2d;
  --muted: #6d6878;
  --paper: #f5f3ee;
  --surface: #fffefa;
  --surface-raised: #ffffff;
  --soft-purple: #eeebf5;
  --soft-lime: #f4f6d9;
  --line: #dfdbe6;
  --line-strong: #c9c2d5;
  --header-bg: rgba(250, 249, 246, .88);
  --footer-bg: #1d1030;
  --shadow-soft: 0 12px 35px rgba(32, 19, 55, .07);
  --shadow-card: 0 22px 55px rgba(32, 19, 55, .12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --ease-out: cubic-bezier(.2, .75, .25, 1);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --brand: #bca4ff;
  --brand-deep: #e6ddff;
  --brand-strong: #a48af0;
  --lime: #d7ec48;
  --lime-deep: #bfd52b;
  --ink: #f3effa;
  --muted: #b2aabd;
  --paper: #111018;
  --surface: #191621;
  --surface-raised: #211c2b;
  --soft-purple: #262033;
  --soft-lime: #30351e;
  --line: #393345;
  --line-strong: #51475f;
  --header-bg: rgba(20, 17, 27, .88);
  --footer-bg: #0d0b13;
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, .2);
  --shadow-card: 0 22px 55px rgba(0, 0, 0, .34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
  transition: background-color .25s ease, color .25s ease;
}
body.font-large { font-size: 18px; }
body.high-contrast { --ink: #08060d; --muted: #292331; --line: #6c6575; --paper: #fff; --surface: #fff; }
html[data-theme="dark"] body.high-contrast { --ink: #fff; --muted: #e7e0ef; --line: #b5a9c7; --paper: #050408; --surface: #09070d; }
::selection { background: var(--lime); color: #21113d; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 4px; }
img, svg { max-width: 100%; height: auto; }
.wrap { width: min(100% - 48px, 1180px); margin-inline: auto; }
.wrap-wide { width: min(100% - 48px, 1320px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; background: var(--brand); color: #fff; border-radius: 8px; box-shadow: var(--shadow-card); transition: top .2s ease; }
.skip-link:focus { top: 16px; }

/* Cabeçalho e navegação */
.topline { color: #eee8f8; background: var(--brand-deep); font-size: .74rem; letter-spacing: .035em; }
.topline-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topline-inner > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.topline a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.topline-dot, .dash-status i, .eyebrow-pulse { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--lime); box-shadow: 0 0 0 4px rgba(215,232,58,.14); }
.header { position: sticky; top: 0; z-index: 80; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-symbol { width: 38px; height: 34px; display: inline-block; position: relative; border-radius: 11px 11px 11px 3px; background: var(--lime); transform: skew(-8deg); box-shadow: 4px 4px 0 var(--brand); }
.brand-symbol::before, .brand-symbol::after { content: ""; position: absolute; border: 2px solid var(--brand-deep); border-radius: 4px; transform: skew(8deg); }
.brand-symbol::before { width: 12px; height: 18px; left: 8px; top: 7px; border-right: 0; }
.brand-symbol::after { width: 8px; height: 18px; right: 7px; top: 7px; border-left: 0; }
.brand-name { font-size: 1.2rem; line-height: .95; font-weight: 900; letter-spacing: -.075em; color: var(--brand); }
.brand-name small { display: block; margin-top: 6px; text-align: right; font-size: .49rem; font-weight: 800; letter-spacing: .27em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
.nav a { position: relative; color: var(--muted); font-size: .88rem; font-weight: 680; padding: 12px 0; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: 5px; background: var(--lime-deep); transition: right .25s var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 8px; color: #fff; background: var(--brand); font-size: .83rem; font-weight: 760; transition: transform .22s var(--ease-out), background .22s ease, box-shadow .22s ease; box-shadow: 0 5px 0 rgba(37,16,79,.12); }
.nav-cta:hover { transform: translateY(-2px); background: var(--brand-strong); box-shadow: 0 9px 18px rgba(37,16,79,.2); }
.nav-cta span, .button-arrow, .text-link span, .module-more span { display: inline-block; transition: transform .22s var(--ease-out); }
.nav-cta:hover span, .button-primary:hover .button-arrow, .button-secondary:hover .button-arrow, .text-link:hover span, .module-more:hover span { transform: translate(3px, -2px); }
.theme-control { display: inline-flex; align-items: center; gap: 7px; }
.theme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.theme-select { min-height: 40px; min-width: 112px; border: 1px solid var(--line); border-radius: 8px; padding: 0 28px 0 10px; color: var(--ink); background: var(--surface); font-size: .75rem; font-weight: 650; cursor: pointer; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); align-items: center; justify-content: center; }
.mobile-nav { display: none; padding: 0 0 20px; }
.mobile-nav.open { display: grid; gap: 4px; animation: navDrop .24s var(--ease-out) both; }
.mobile-nav > a:not(.nav-cta) { min-height: 45px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-weight: 650; color: var(--ink); }
.mobile-nav .nav-cta { margin-top: 12px; }
.theme-control-mobile { margin-top: 14px; justify-content: space-between; }
.theme-control-mobile .theme-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; color: var(--muted); font-size: .8rem; }

/* Botões, tipografia e elementos compartilhados */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: .72rem; line-height: 1.35; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime-deep); }
.eyebrow-pulse { width: 7px; height: 7px; }
.eyebrow--lime { color: var(--lime); }
.eyebrow--lime::before { background: var(--lime); }
.display, .section-heading h2, .quote-inner h2, .page-hero h1, .article-header h1 { font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-weight: 650; letter-spacing: -.055em; }
.display { max-width: 780px; margin: 24px 0 23px; color: var(--brand-deep); font-size: clamp(3.2rem, 6.2vw, 6.1rem); line-height: .99; }
.display em { color: var(--brand); font-style: italic; font-weight: 500; }
.lead { max-width: 650px; color: var(--muted); font-size: clamp(1.04rem, 1.4vw, 1.22rem); line-height: 1.72; }
.button-primary, .button-secondary, .text-link { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 8px; font-size: .88rem; font-weight: 760; transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s var(--ease-out), box-shadow .22s ease; }
.button-primary { padding: 0 21px; background: var(--brand); color: #fff; border: 1px solid var(--brand); box-shadow: 0 7px 0 rgba(53,21,109,.12); }
.button-primary:hover { transform: translateY(-3px); background: var(--brand-strong); box-shadow: 0 12px 22px rgba(53,21,109,.2); }
.button-secondary { padding: 0 20px; background: transparent; color: var(--brand); border: 1px solid var(--line-strong); }
.button-secondary:hover { background: var(--soft-purple); border-color: var(--brand); transform: translateY(-2px); }
.text-link { min-height: 34px; padding: 0; color: var(--brand); border-radius: 0; border-bottom: 1px solid var(--line-strong); font-size: .84rem; }
.text-link:hover { border-color: var(--lime-deep); color: var(--brand-strong); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: .8rem; }

/* Hero principal */
.hero { min-height: 675px; padding: 68px 0 78px; position: relative; overflow: hidden; background: var(--paper); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; width: 620px; height: 620px; right: -180px; top: -220px; border-radius: 50%; background: var(--soft-lime); opacity: .9; }
.hero::after { content: ""; position: absolute; z-index: -2; width: 420px; height: 420px; left: -240px; bottom: -280px; border-radius: 50%; border: 1px solid var(--line-strong); box-shadow: 0 0 0 36px transparent, 0 0 0 37px var(--line), 0 0 0 82px transparent, 0 0 0 83px var(--line); }
.hero-grid-lines { position: absolute; z-index: -1; inset: 0; opacity: .2; pointer-events: none; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent, #000 55%, transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); align-items: center; gap: clamp(36px, 5vw, 76px); position: relative; }
.hero-copy { position: relative; z-index: 2; padding: 20px 0 25px; }
.hero-copy > .eyebrow, .hero-copy > .display, .hero-copy > .lead, .hero-copy > .hero-actions, .hero-copy > .hero-proof { animation: heroRise .85s var(--ease-out) both; }
.hero-copy > .display { animation-delay: .08s; }
.hero-copy > .lead { animation-delay: .16s; }
.hero-copy > .hero-actions { animation-delay: .23s; }
.hero-copy > .hero-proof { animation-delay: .3s; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 37px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; font-weight: 650; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { color: var(--brand); font-size: .64rem; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.hero-scroll { position: absolute; left: max(24px, calc((100vw - 1320px) / 2)); bottom: 21px; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .69rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-scroll span { width: 24px; height: 34px; border: 1px solid var(--line-strong); border-radius: 20px; position: relative; }
.hero-scroll span::after { content: ""; position: absolute; left: 10px; top: 7px; width: 2px; height: 7px; background: var(--brand); border-radius: 3px; animation: scrollNudge 1.6s ease-in-out infinite; }
.hero-visual { min-height: 525px; display: grid; place-items: center; position: relative; isolation: isolate; animation: heroVisualIn 1s .12s var(--ease-out) both; }
.visual-orbit { position: absolute; border: 1px solid var(--line-strong); border-radius: 50%; pointer-events: none; }
.visual-orbit--outer { width: 560px; height: 560px; border-style: dashed; opacity: .55; animation: orbitTurn 55s linear infinite; }
.visual-orbit--inner { width: 445px; height: 445px; opacity: .65; }
.dashboard { width: min(100%, 550px); min-height: 420px; position: relative; z-index: 2; overflow: hidden; padding: 19px; border: 1px solid rgba(255,255,255,.15); border-radius: 25px; color: #f9f6ff; background: linear-gradient(145deg, #32165d, #1e1134 72%); box-shadow: 0 38px 85px rgba(38,17,69,.28), 0 3px 0 rgba(255,255,255,.1) inset; transform: perspective(1200px) rotateY(calc(-7deg + var(--tilt-x, 0deg))) rotateX(calc(2deg + var(--tilt-y, 0deg))); transition: transform .5s var(--ease-out), box-shadow .5s ease; }
.dashboard:hover { transform: perspective(1200px) rotateY(calc(-2deg + var(--tilt-x, 0deg))) rotateX(var(--tilt-y, 0deg)) translateY(-5px); box-shadow: 0 46px 100px rgba(38,17,69,.34), 0 3px 0 rgba(255,255,255,.1) inset; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 3px 2px 17px; border-bottom: 1px solid rgba(255,255,255,.13); }
.dash-brand { display: inline-flex; align-items: center; gap: 9px; font-size: .74rem; font-weight: 900; letter-spacing: .05em; }
.dash-brand small { display: block; color: #bdb2cf; font-size: .46rem; letter-spacing: .2em; }
.dash-brand-mark { width: 27px; height: 27px; display: grid; place-items: center; background: var(--lime); color: #281342; border-radius: 7px 7px 7px 2px; font-size: .72rem; font-weight: 950; }
.dash-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; color: #d8ef80; background: rgba(215,232,58,.1); border: 1px solid rgba(215,232,58,.18); border-radius: 100px; font-size: .57rem; font-weight: 700; }
.dash-status i { width: 5px; height: 5px; box-shadow: none; }
.dash-layout { display: grid; grid-template-columns: 45px 1fr; gap: 16px; padding-top: 17px; }
.dash-rail { display: flex; flex-direction: column; align-items: center; gap: 9px; padding-top: 4px; }
.dash-rail span { width: 34px; height: 34px; display: grid; place-items: center; color: #b6a9ca; border-radius: 8px; font-size: .9rem; }
.dash-rail span.is-active { color: #26133d; background: var(--lime); }
.dash-main { min-width: 0; }
.dash-intro { display: flex; justify-content: space-between; gap: 8px; align-items: flex-end; margin-bottom: 15px; }
.dash-kicker { color: #a99bbd; font-size: .53rem; font-weight: 800; letter-spacing: .16em; }
.dash-head { margin: 3px 0 0; color: #fff; font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.65rem; line-height: 1.1; font-weight: 400; letter-spacing: -.04em; }
.dash-period { color: #c4b8d2; font-size: .59rem; }
.dash-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.dash-stat { min-height: 74px; display: grid; grid-template-columns: 29px 1fr; grid-template-rows: auto auto; align-items: center; gap: 0 9px; padding: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.055); border-radius: 10px; }
.dash-stat-icon { grid-row: span 2; width: 27px; height: 27px; display: grid; place-items: center; color: #25153d; background: var(--lime); border-radius: 7px; font-size: .69rem; font-weight: 900; }
.dash-stat-icon--violet { color: #fff; background: #8e72d0; }
.dash-stat-icon--orange { color: #321d13; background: #ffbf7a; }
.dash-stat-icon--blue { color: #182d4b; background: #9bc8f5; }
.dash-stat b { align-self: end; color: #fff; font-size: .7rem; }
.dash-stat small { align-self: start; color: #bdb1cd; font-size: .53rem; }
.dash-workflow { margin-top: 12px; padding: 11px 12px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.035); }
.dash-workflow-head { display: flex; justify-content: space-between; color: #e9e3f2; font-size: .58rem; font-weight: 700; }
.dash-workflow-head span:last-child { color: #a99bbd; font-weight: 500; }
.dash-flow { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 12px; color: #fff; font-size: .52rem; font-weight: 700; }
.dash-flow i { height: 1px; flex: 1; position: relative; background: rgba(215,232,58,.45); }
.dash-flow i::after { content: ""; position: absolute; right: 0; top: -2px; width: 4px; height: 4px; border-top: 1px solid var(--lime); border-right: 1px solid var(--lime); transform: rotate(45deg); }
.dash-flow-lines { display: flex; gap: 4px; margin-top: 9px; }
.dash-flow-lines span { height: 3px; flex: 1; background: rgba(255,255,255,.13); border-radius: 10px; }
.dash-flow-lines span:nth-child(2), .dash-flow-lines span:nth-child(5) { background: var(--lime); animation: linePulse 2.5s ease-in-out infinite; }
.dash-list { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; color: #bdb1cd; font-size: .52rem; }
.dash-list b { color: #e9e3f2; font-weight: 650; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; min-width: 205px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.65); border-radius: 12px; color: var(--ink); background: var(--surface-raised); box-shadow: var(--shadow-card); animation: noteFloat 5.4s ease-in-out infinite; }
.floating-note b, .floating-note small { display: block; }
.floating-note b { font-size: .7rem; }
.floating-note small { color: var(--muted); font-size: .59rem; }
.floating-note--top { top: 8%; right: -3%; }
.floating-note--bottom { bottom: 8%; left: -5%; animation-delay: -2.5s; }
.floating-note-icon, .floating-note-check { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: #2a1548; background: var(--lime); font-weight: 900; }
.visual-caption { position: absolute; right: 0; bottom: -22px; color: var(--muted); font-size: .62rem; }

/* Faixa de confiança e seções */
.trust-strip { position: relative; z-index: 2; color: #f7f3ff; background: #241044; }
.trust-grid { min-height: 116px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; gap: 28px; }
.trust-item { display: flex; align-items: center; justify-content: flex-start; gap: 14px; }
.trust-mark { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(215,232,58,.42); border-radius: 50%; color: var(--lime); font-size: .69rem; font-weight: 850; }
.trust-item strong, .trust-item small { display: block; }
.trust-item strong { font-size: .85rem; font-weight: 780; }
.trust-item small { max-width: 270px; margin-top: 2px; color: #c5b9d4; font-size: .7rem; line-height: 1.45; }
.section { padding: clamp(70px, 8vw, 112px) 0; }
.section.compact { padding: 48px 0 32px; }
.surface-section { background: var(--surface); }
.tint-section { background: var(--soft-purple); }
.section-intro { background: var(--surface); }
.intro-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.intro-layout .section-heading { margin: 0; }
.intro-copy { max-width: 480px; padding-bottom: 6px; }
.intro-copy p { margin: 0 0 16px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2 { margin: 15px 0 14px; color: var(--brand-deep); font-size: clamp(2.35rem, 4.1vw, 4.2rem); line-height: 1.04; }
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.8; }
.section-topline { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 42px; }
.section-topline .section-heading { margin: 0; }
.section-side-note { min-width: 130px; padding-bottom: 7px; color: var(--brand); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 3rem; line-height: .9; text-align: right; }
.section-side-note small { display: block; margin-top: 8px; color: var(--muted); font-family: inherit; font-size: .64rem; line-height: 1.4; }
.section-end-link { display: flex; justify-content: flex-end; margin-top: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.feature { min-height: 220px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 25px 25px 28px; border-top: 2px solid var(--lime-deep); background: var(--surface-raised); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease-out), box-shadow .3s ease, background .25s ease; }
.feature:hover { transform: translateY(-7px); box-shadow: var(--shadow-card); }
.feature-index { color: var(--brand); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.feature-index i { color: var(--muted); font-style: normal; font-weight: 700; }
.feature h3 { margin: 24px 0 9px; color: var(--brand-deep); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.55rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.feature p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.feature-rule { width: 30px; height: 3px; margin-top: auto; padding-top: 22px; background: linear-gradient(var(--lime-deep),var(--lime-deep)) left bottom/100% 3px no-repeat; transition: width .35s var(--ease-out); }
.feature:hover .feature-rule { width: 78px; }

/* Segmentos: grade visual com leitura editorial */
.section-segments { background: var(--paper); }
.segment-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.segment-card { min-height: 260px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 25px 22px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: var(--surface); transition: background .25s ease, transform .32s var(--ease-out), box-shadow .32s ease; }
.segment-card::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 3px; background: var(--lime-deep); transition: width .32s var(--ease-out); }
.segment-card:hover { z-index: 2; transform: translateY(-5px); background: var(--surface-raised); box-shadow: var(--shadow-card); }
.segment-card:hover::before { width: 100%; }
.segment-card-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.segment-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px 12px 12px 3px; color: var(--brand); background: var(--soft-purple); font-size: .72rem; font-weight: 900; letter-spacing: -.03em; transition: transform .25s var(--ease-out), background .25s ease; }
.segment-card:hover .segment-icon { transform: rotate(-7deg) scale(1.06); background: var(--soft-lime); }
.segment-card-index { color: var(--muted); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.2rem; }
.segment-card h3 { max-width: 285px; margin: 26px 0 8px; color: var(--brand-deep); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.45rem; line-height: 1.13; font-weight: 500; letter-spacing: -.035em; }
.segment-card p { margin: 0 0 17px; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.segment-card .text-link { margin-top: auto; }

/* Módulos em fundo escuro */
.section-modules { position: relative; overflow: hidden; color: #f8f5ff; background: #201136; isolation: isolate; }
.section-modules::before { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; right: -250px; top: -230px; border: 1px solid rgba(215,232,58,.2); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.018); }
.section-modules .eyebrow { color: var(--lime); }
.section-modules .section-heading h2 { color: #fff; }
.section-modules .section-heading p { color: #c1b5d0; }
.section-side-note--light { color: var(--lime); }
.section-side-note--light small { color: #c1b5d0; }
.module-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.module-card { min-height: 246px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.045); transition: transform .32s var(--ease-out), background .3s ease, border-color .3s ease; }
.module-card:hover { transform: translateY(-7px); background: rgba(255,255,255,.09); border-color: rgba(215,232,58,.55); }
.module-no { color: var(--lime); font-size: .65rem; font-weight: 900; letter-spacing: .1em; }
.module-no i { color: #a99ab9; font-style: normal; }
.module-mark { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(215,232,58,.36); border-radius: 50%; color: var(--lime); font-size: 1.1rem; transition: transform .3s var(--ease-out), background .3s ease; }
.module-card:hover .module-mark { transform: rotate(45deg); background: rgba(215,232,58,.12); }
.module-card h3 { max-width: 230px; margin: 33px 0 9px; color: #fff; font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.55rem; line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.module-card p { margin: 0 0 18px; color: #c3b8d0; font-size: .83rem; line-height: 1.65; }
.module-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--lime); font-size: .78rem; font-weight: 750; }
.section-modules .button-secondary { color: #fff; border-color: rgba(255,255,255,.3); }
.section-modules .button-secondary:hover { color: #fff; background: rgba(255,255,255,.1); border-color: var(--lime); }

/* Implantação / conteúdo / CTA */
.section-implementation { background: var(--soft-purple); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(40px,7vw,95px); }
.split-visual { min-height: 420px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 32px; border-radius: var(--radius-lg); color: #fff; background: #241044; box-shadow: var(--shadow-card); isolation: isolate; }
.split-visual::before, .split-visual::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(215,232,58,.25); border-radius: 50%; }
.split-visual::before { width: 420px; height: 420px; right: -180px; bottom: -240px; }
.split-visual::after { width: 280px; height: 280px; left: -140px; top: -150px; }
.implementation-art, .empty-illustration { width: 100%; max-width: 470px; }
.implementation-kicker { color: var(--lime); font-size: .68rem; font-weight: 850; letter-spacing: .16em; }
.implementation-art h3, .empty-illustration h3 { max-width: 390px; margin: 13px 0 25px; color: #fff; font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: clamp(2rem,3.1vw,2.8rem); line-height: 1.06; font-weight: 500; letter-spacing: -.04em; }
.implementation-track { position: relative; }
.implementation-track::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 1px; background: rgba(215,232,58,.42); }
.ill-row { min-height: 54px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.13); color: #f5f0fc; font-size: .84rem; }
.ill-row:last-child { border-bottom: 0; }
.ill-row span { display: inline-flex; align-items: center; gap: 14px; }
.ill-row i { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(215,232,58,.5); border-radius: 50%; color: var(--lime); background: #291644; font-size: .65rem; font-style: normal; font-weight: 800; }
.ill-row b, .ill-pill { padding: 5px 9px; border-radius: 100px; color: #d8ed73; background: rgba(215,232,58,.1); font-size: .62rem; font-weight: 750; }
.ill-caption { margin: 15px 0 0; color: #ae9fc1; font-size: .62rem; }
.implementation-copy .section-heading { margin: 18px 0 20px; }
.implementation-copy .section-heading h2 { font-size: clamp(2.3rem,3.9vw,3.6rem); }
.section-journal { background: var(--surface); }
.section-heading-link { flex: 0 0 auto; margin-bottom: 42px; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.article-card { min-height: 310px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .25s ease; }
.article-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.article-card-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.article-category { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 100px; color: var(--brand); background: var(--soft-purple); font-size: .65rem; font-weight: 800; }
.article-card-index { color: var(--muted); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.1rem; }
.article-card h3 { margin: 24px 0 10px; color: var(--brand-deep); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.42rem; line-height: 1.17; font-weight: 500; letter-spacing: -.03em; }
.article-card h3 a:hover { color: var(--brand); }
.article-card p { margin: 0 0 18px; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.article-meta { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: auto; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .64rem; }
.article-card .text-link { margin-top: 6px; }
.quote-band { position: relative; overflow: hidden; color: #fff; background: #35156d; isolation: isolate; }
.quote-band::after { content: ""; position: absolute; z-index: -1; width: 500px; height: 500px; right: -170px; top: -270px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); }
.quote-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.quote-inner > div { max-width: 740px; }
.quote-inner .eyebrow { color: var(--lime); }
.quote-inner h2 { margin: 15px 0 10px; color: #fff; font-size: clamp(2.5rem,4.4vw,4.3rem); line-height: 1.02; }
.quote-inner p { margin: 0; color: #dfd5ed; font-size: .98rem; line-height: 1.7; }
.quote-band .button-primary { flex: 0 0 auto; color: #211136; background: var(--lime); border-color: var(--lime); box-shadow: 0 7px 0 rgba(13,7,22,.15); }
.quote-band .button-primary:hover { color: #211136; background: #e6f66a; }

/* Capas internas */
.page-hero { position: relative; overflow: hidden; padding: 28px 0 78px; background: var(--soft-purple); isolation: isolate; }
.page-hero-pattern { position: absolute; z-index: -1; inset: 0; opacity: .35; background-image: linear-gradient(135deg, transparent 49.7%, var(--line-strong) 50%, transparent 50.3%); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 85%); }
.page-hero-wrap { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 47px; color: var(--muted); font-size: .7rem; }
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 50px; align-items: center; }
.page-hero-copy { max-width: 790px; position: relative; z-index: 2; }
.page-hero h1 { margin: 19px 0 17px; color: var(--brand-deep); font-size: clamp(2.8rem,5.3vw,5.4rem); line-height: 1; }
.page-hero-copy > p { max-width: 690px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.page-hero-art { min-height: 270px; position: relative; display: grid; place-items: center; }
.page-art-ring { position: absolute; display: block; border: 1px solid var(--line-strong); border-radius: 50%; }
.page-art-ring--one { width: 250px; height: 250px; animation: orbitTurn 32s linear infinite; }
.page-art-ring--two { width: 185px; height: 185px; border-style: dashed; animation: orbitTurn 38s linear infinite reverse; }
.page-art-label { position: absolute; top: 12px; right: 0; color: var(--muted); font-size: .61rem; font-weight: 850; letter-spacing: .18em; }
.page-art-label b { color: var(--lime-deep); }
.page-art-mark { width: 124px; height: 124px; display: grid; place-items: center; position: relative; border-radius: 33px 33px 33px 8px; color: #281542; background: var(--lime); font-size: 4.2rem; line-height: 1; font-weight: 950; letter-spacing: -.1em; box-shadow: 12px 14px 0 var(--brand); transform: rotate(-8deg); animation: markHover 5s ease-in-out infinite; }
.page-art-mark span { color: var(--brand); }
.page-art-caption { position: absolute; right: 0; bottom: 0; color: var(--muted); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: .9rem; line-height: 1.25; text-align: right; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 270px; align-items: start; gap: 70px; }
.module-detail { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 32px 0 38px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.module-detail:first-child { padding-top: 0; }
.module-number { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--brand); background: var(--soft-lime); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.2rem; }
.module-detail h2 { margin: 3px 0 12px; color: var(--brand-deep); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 2rem; line-height: 1.1; font-weight: 500; }
.module-detail h3 { margin: 22px 0 9px; color: var(--brand); font-size: .92rem; }
.module-detail p, .module-detail li { color: var(--muted); font-size: .9rem; line-height: 1.75; }
.module-detail ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 24px; margin: 0; padding-left: 19px; }
.sidebar { position: sticky; top: 120px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-soft); }
.sidebar h3 { margin: 0 0 12px; color: var(--brand-deep); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.28rem; font-weight: 500; }
.sidebar > a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.sidebar > a:hover { color: var(--brand); }
.sidebar .button-primary { width: 100%; margin-top: 18px; padding-inline: 12px; font-size: .78rem; }
.check-list { display: grid; gap: 11px; margin: 24px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink); font-size: .91rem; }
.check-list li::before { content: "✓"; width: 21px; height: 21px; position: absolute; left: 0; top: 1px; display: grid; place-items: center; border-radius: 50%; color: var(--brand-deep); background: var(--lime); font-size: .72rem; font-weight: 900; }
.legal-note, .form-hint { color: var(--muted); font-size: .8rem; line-height: 1.7; }
.form-hint--light { color: #d7d0e1; }

/* Artigos e leitura longa */
.article-header { max-width: 900px; margin: 0 auto; }
.article-header h1 { margin: 18px 0; color: var(--brand-deep); font-size: clamp(2.7rem,5vw,5.1rem); line-height: 1.02; }
.article-header .lead { max-width: 780px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.article-body { max-width: 780px; margin-inline: auto; padding: 45px 55px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-soft); }
.article-body > p:first-child { color: var(--brand); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.28rem; line-height: 1.5; }
.article-body h2 { margin: 36px 0 12px; color: var(--brand-deep); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.9rem; line-height: 1.12; font-weight: 500; }
.article-body p, .article-body li { color: var(--muted); font-size: .96rem; line-height: 1.85; }
.article-body ul { padding-left: 22px; }
.article-body li { margin: 7px 0; }
.article-caution { margin-top: 32px; padding: 18px 20px; border-left: 3px solid var(--lime-deep); background: var(--soft-lime); color: var(--ink) !important; font-size: .82rem !important; }
.article-sources { margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); }
.article-sources h2 { margin-top: 0; font-size: 1.35rem; }
.article-sources a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose { min-width: 0; }
.prose section { margin-bottom: 31px; scroll-margin-top: 120px; }
.prose h2 { margin: 0 0 12px; color: var(--brand-deep); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.65rem; font-weight: 500; line-height: 1.15; }
.prose p, .prose li { color: var(--muted); font-size: .9rem; line-height: 1.82; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Contato e formulário */
.contact-grid { display: grid; grid-template-columns: minmax(280px,.82fr) minmax(0,1.18fr); align-items: stretch; gap: 22px; }
.contact-panel { position: relative; overflow: hidden; padding: clamp(26px,4vw,42px); border-radius: 16px; color: #fff; background: #241044; isolation: isolate; }
.contact-panel::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -140px; bottom: -160px; border: 1px solid rgba(215,232,58,.35); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.03), 0 0 0 75px rgba(255,255,255,.02); }
.contact-panel h2, .form-panel h2 { margin: 14px 0 10px; font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: clamp(2rem,3vw,2.8rem); line-height: 1.04; font-weight: 500; letter-spacing: -.04em; }
.contact-panel p { color: #c6bad3; font-size: .88rem; line-height: 1.7; }
.contact-line { display: flex; align-items: flex-start; gap: 14px; margin-top: 25px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-line > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #211136; background: var(--lime); }
.contact-line small, .contact-line strong { display: block; }
.contact-line small { color: #b9abc9; font-size: .68rem; }
.contact-line strong { margin-top: 4px; color: #fff; font-size: .87rem; line-height: 1.5; }
.contact-panel .button-secondary { margin-top: 10px; color: #fff; border-color: rgba(255,255,255,.42); }
.contact-panel .button-secondary:hover { background: rgba(255,255,255,.09); }
.form-panel { padding: clamp(26px,4vw,42px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.form-panel h2 { color: var(--brand-deep); }
.form-panel > p { color: var(--muted); font-size: .87rem; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 25px 0 18px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { color: var(--ink); font-size: .77rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: var(--paper); font-size: .85rem; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea { min-height: 125px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #958e9e; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); background: var(--surface); }
.form-note { color: var(--muted); font-size: .72rem; line-height: 1.65; }
.inline-policy-link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--lime-deep); color: var(--ink); background: var(--soft-lime); font-size: .8rem; }
.form-status.show { display: block; animation: formStatusIn .25s var(--ease-out) both; }
.faq-list { max-width: 850px; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-question { width: 100%; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 2px; border: 0; color: var(--ink); background: transparent; text-align: left; font-size: .94rem; font-weight: 730; }
.faq-plus { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--brand); font-size: 1.1rem; transition: transform .25s ease, background .25s ease; }
.faq-item.open .faq-plus { transform: rotate(45deg); color: #211136; background: var(--lime); border-color: var(--lime); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease-out); }
.faq-answer > * { overflow: hidden; }
.faq-item.open .faq-answer { display: block; padding: 0 42px 20px 2px; color: var(--muted); font-size: .86rem; line-height: 1.75; }

/* Rodapé e acessibilidade */
.site-footer { padding: 64px 0 20px; color: #f1eafa; background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.1fr; gap: 38px; padding-bottom: 48px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #b8a9ca; }
.footer-brand p { max-width: 290px; margin: 22px 0; color: #bcb0c9; font-size: .8rem; line-height: 1.75; }
.footer-column h3 { margin: 0 0 18px; color: var(--lime); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a, .footer-column p { display: block; margin: 0 0 11px; color: #c9bfd4; font-size: .78rem; line-height: 1.75; }
.footer-column a:hover, .footer-legal a:hover { color: var(--lime); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: #a99db8; font-size: .68rem; }
.footer-legal { display: flex; align-items: center; gap: 20px; }
.footer-legal a, .privacy-settings-link { color: #d3c8df; font-size: .68rem; }
.privacy-settings-link { padding: 0; border: 0; background: transparent; cursor: pointer; }
.access-button { min-height: 43px; display: inline-flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: #fff; background: transparent; font-size: .75rem; font-weight: 700; }
.access-button:hover { border-color: var(--lime); }
.access-panel { display: none; max-width: 265px; margin-top: 13px; padding: 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: rgba(255,255,255,.06); }
.access-panel.open { display: grid; gap: 8px; animation: navDrop .2s ease both; }
.access-panel strong { margin-bottom: 4px; font-size: .76rem; }
.access-panel button { min-height: 37px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: #fff; background: transparent; text-align: left; font-size: .71rem; }
.access-panel p { margin: 4px 0 0; font-size: .64rem; }

/* Painel de consentimento das ferramentas de análise */
.analytics-consent { width: min(100% - 32px, 680px); position: fixed; z-index: 120; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 22px; border: 1px solid var(--line-strong); border-radius: 16px; color: var(--ink); background: var(--surface-raised); box-shadow: 0 25px 80px rgba(0,0,0,.28); }
.analytics-consent[hidden] { display: none; }
.analytics-consent__main, .analytics-consent__preferences { display: grid; gap: 18px; }
.analytics-consent__copy strong, .analytics-consent__preferences-heading strong { display: block; margin-bottom: 6px; font-size: .95rem; }
.analytics-consent__copy p, .analytics-consent__preferences-heading p { margin: 0 0 8px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.analytics-consent__copy a { color: var(--brand); text-decoration: underline; font-size: .75rem; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.analytics-consent__actions button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink); background: transparent; font-size: .76rem; font-weight: 720; }
.analytics-consent__actions .analytics-consent__accept { color: #fff; background: var(--brand); border-color: var(--brand); }
.analytics-consent__options { display: grid; gap: 10px; }
.analytics-consent__option { display: flex; align-items: flex-start; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.analytics-consent__option input { margin-top: 4px; accent-color: var(--brand); }
.analytics-consent__option strong, .analytics-consent__option small { display: block; }
.analytics-consent__option strong { font-size: .8rem; }
.analytics-consent__option small { margin-top: 3px; color: var(--muted); font-size: .7rem; line-height: 1.5; }

/* Estados de página / not found */
.not-found { min-height: 58vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 85px; }
.not-found h1 { margin: 10px 0; color: var(--brand); font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: clamp(5rem,15vw,10rem); line-height: .9; }
.not-found p { color: var(--muted); }

/* Animações funcionais e respeitosas */
[data-reveal].will-reveal { opacity: 0; transform: translate3d(0,28px,0); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); transition-delay: calc(var(--reveal-order, 0) * 80ms); }
[data-reveal].will-reveal.is-visible { opacity: 1; transform: translate3d(0,0,0); }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroVisualIn { from { opacity: 0; transform: translate3d(30px,15px,0) scale(.97); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes orbitTurn { to { transform: rotate(360deg); } }
@keyframes noteFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(-1deg); } }
@keyframes markHover { 0%,100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-8px); } }
@keyframes scrollNudge { 0%,100% { transform: translateY(0); opacity: 1; } 65% { transform: translateY(8px); opacity: .25; } }
@keyframes linePulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes formStatusIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

/* Tema escuro: superfícies, texto e componentes específicos */
html[data-theme="dark"] .hero { background: var(--paper); }
html[data-theme="dark"] .hero::before { opacity: .18; }
html[data-theme="dark"] .hero-grid-lines { opacity: .1; }
html[data-theme="dark"] .display, html[data-theme="dark"] .section-heading h2, html[data-theme="dark"] .page-hero h1, html[data-theme="dark"] .article-header h1, html[data-theme="dark"] .article-card h3, html[data-theme="dark"] .feature h3, html[data-theme="dark"] .segment-card h3, html[data-theme="dark"] .module-detail h2, html[data-theme="dark"] .prose h2 { color: var(--brand-deep); }
html[data-theme="dark"] .page-hero { background: #211a2d; }
html[data-theme="dark"] .page-hero-pattern { opacity: .14; }
html[data-theme="dark"] .segment-card { background: var(--surface); }
html[data-theme="dark"] .segment-card:hover { background: var(--surface-raised); }
html[data-theme="dark"] .article-category { color: #d5c6ff; background: #302541; }
html[data-theme="dark"] .article-caution { color: var(--ink) !important; }
html[data-theme="dark"] .contact-panel { background: #211437; }
html[data-theme="dark"] .contact-panel .eyebrow { color: var(--lime); }
html[data-theme="dark"] .quote-band { background: #342052; }
html[data-theme="dark"] .button-secondary:hover { background: #302741; }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea { background: #14111b; }
html[data-theme="dark"] .field input:focus, html[data-theme="dark"] .field select:focus, html[data-theme="dark"] .field textarea:focus { background: #1d1927; }
html[data-theme="dark"] .theme-select { color: var(--ink); background: var(--surface-raised); }

/* Responsividade */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(360px,.9fr); gap: 34px; }
  .display { font-size: clamp(3.2rem,6vw,5.4rem); }
  .floating-note--top { right: -1%; }
  .floating-note--bottom { left: -2%; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2/-1; }
}
@media (max-width: 980px) {
  .nav, .header-actions > .nav-cta { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: inline-flex; }
  .mobile-nav { display: none; }
  .mobile-nav.open { display: grid; }
  .mobile-nav .theme-control { display: flex; }
}
@media (max-width: 900px) {
  .nav { gap: 16px; }
  .nav a { font-size: .8rem; }
  .header-inner { gap: 16px; }
  .theme-select { min-width: 98px; }
  .hero { padding-top: 54px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%,650px); min-height: 485px; margin: 0 auto 24px; }
  .hero-scroll { display: none; }
  .intro-layout { gap: 40px; }
  .segment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { position: static; }
  .sidebar > a { display: inline-block; margin-right: 15px; }
  .page-hero-grid { grid-template-columns: minmax(0,1fr) 210px; gap: 18px; }
  .page-art-ring--one { width: 205px; height: 205px; }
  .page-art-ring--two { width: 150px; height: 150px; }
  .page-art-mark { width: 98px; height: 98px; font-size: 3.5rem; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 760px) {
  .wrap, .wrap-wide { width: min(100% - 36px, 620px); }
  .topline-inner { min-height: 34px; font-size: .64rem; }
  .header-inner { min-height: 72px; }
  .nav, .header-actions > .nav-cta { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: inline-flex; }
  .mobile-nav { display: none; }
  .mobile-nav.open { display: grid; }
  .mobile-nav .theme-control { display: flex; }
  .hero { padding: 48px 0 58px; }
  .hero::before { width: 420px; height: 420px; right: -250px; top: -120px; }
  .hero-grid { gap: 28px; }
  .display { font-size: clamp(2.8rem,11vw,4.5rem); }
  .hero-proof { gap: 10px 15px; margin-top: 25px; }
  .hero-proof span { font-size: .69rem; }
  .hero-visual { min-height: 400px; width: calc(100% + 6px); margin-bottom: 6px; }
  .dashboard { width: min(100%,520px); padding: 14px; transform: none; border-radius: 18px; }
  .dashboard:hover { transform: none; }
  .visual-orbit--outer { width: 440px; height: 440px; }
  .visual-orbit--inner { width: 350px; height: 350px; }
  .floating-note--top { right: 0; top: 0; }
  .floating-note--bottom { left: 0; bottom: 0; }
  .floating-note { min-width: 180px; padding: 9px 11px; }
  .floating-note b { font-size: .64rem; }
  .floating-note small { font-size: .55rem; }
  .visual-caption { right: 8px; bottom: -16px; font-size: .56rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 0; padding-block: 10px; }
  .trust-item { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .intro-layout { grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: clamp(2.15rem,8vw,3.2rem); }
  .section-topline { align-items: flex-start; gap: 10px; }
  .section-side-note { min-width: 78px; font-size: 2.4rem; }
  .section-side-note small { font-size: .55rem; }
  .feature-grid, .article-grid { grid-template-columns: 1fr; gap: 13px; }
  .feature { min-height: 185px; padding: 22px; }
  .segment-grid { grid-template-columns: 1fr; }
  .segment-card { min-height: 228px; padding: 22px; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 205px; }
  .section-end-link { justify-content: flex-start; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-visual { min-height: 390px; padding: 25px; }
  .implementation-copy .section-heading h2 { font-size: 2.55rem; }
  .section-heading-link { margin: -10px 0 28px; }
  .quote-inner { display: grid; gap: 24px; }
  .quote-inner h2 { font-size: clamp(2.4rem,9vw,3.5rem); }
  .quote-band .button-primary { justify-self: start; }
  .page-hero { padding: 22px 0 56px; }
  .breadcrumb { margin-bottom: 32px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(2.7rem,10vw,4rem); }
  .page-hero-copy > p { font-size: .98rem; }
  .page-hero-art { min-height: 175px; margin-top: 16px; }
  .page-art-ring--one { width: 165px; height: 165px; }
  .page-art-ring--two { width: 125px; height: 125px; }
  .page-art-mark { width: 78px; height: 78px; border-radius: 22px 22px 22px 6px; font-size: 2.9rem; }
  .page-art-label { right: 15%; top: 0; }
  .page-art-caption { right: 10%; bottom: -3px; }
  .module-detail { grid-template-columns: 45px 1fr; gap: 14px; padding-block: 26px; }
  .module-number { width: 40px; height: 40px; font-size: .95rem; }
  .module-detail h2 { font-size: 1.7rem; }
  .module-detail ul { grid-template-columns: 1fr; gap: 3px; }
  .article-body { padding: 27px 22px; }
  .article-body h2 { font-size: 1.65rem; }
  .article-byline { gap: 8px 14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel, .form-panel { padding: 26px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 20px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-column:last-child { grid-column: auto; }
  .footer-base { align-items: flex-start; flex-direction: column; }
  .analytics-consent { bottom: 10px; padding: 17px; }
}
@media (max-width: 480px) {
  .wrap, .wrap-wide { width: min(100% - 30px, 430px); }
  .topline-inner { justify-content: center; }
  .topline-inner > span:last-child { display: none; }
  .brand-symbol { width: 33px; height: 30px; }
  .brand-name { font-size: 1.08rem; }
  .hero { padding-top: 40px; }
  .display { font-size: clamp(2.55rem,12vw,3.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions > a { width: 100%; }
  .hero-visual { min-height: 340px; }
  .dashboard { padding: 10px; }
  .dash-layout { grid-template-columns: 30px 1fr; gap: 8px; padding-top: 11px; }
  .dash-rail { gap: 5px; }
  .dash-rail span { width: 27px; height: 27px; font-size: .7rem; }
  .dash-brand { font-size: .63rem; }
  .dash-brand-mark { width: 23px; height: 23px; }
  .dash-status { padding: 5px 7px; font-size: .48rem; }
  .dash-head { font-size: 1.35rem; }
  .dash-stat { min-height: 64px; grid-template-columns: 24px 1fr; gap: 0 6px; padding: 7px; }
  .dash-stat-icon { width: 23px; height: 23px; font-size: .59rem; }
  .dash-stat b { font-size: .62rem; }
  .dash-stat small { font-size: .47rem; }
  .dash-flow { font-size: .43rem; gap: 3px; }
  .dash-list { font-size: .44rem; }
  .floating-note { min-width: 157px; gap: 7px; padding: 8px; }
  .floating-note-icon, .floating-note-check { width: 24px; height: 24px; }
  .floating-note b { font-size: .57rem; }
  .floating-note small { font-size: .49rem; }
  .visual-orbit--outer { width: 340px; height: 340px; }
  .visual-orbit--inner { width: 280px; height: 280px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .field.full { grid-column: auto; }
  .section-topline { display: block; }
  .section-side-note { margin-top: -10px; text-align: left; }
  .article-card { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-column:last-child { grid-column: auto; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal].will-reveal { opacity: 1; transform: none; }
}

/* Ajustes dos componentes de páginas internas */
.section-heading--tight { margin-bottom: 16px !important; }
.feature-grid--single { grid-template-columns: 1fr; margin-top: 18px; }
.sidebar-action { margin-top: 20px; }
.sidebar-action .button-primary { width: 100%; }
.legal-note--spaced { margin-top: 30px; }
.article-cta { margin-top: 30px; }
.scroll-progress { height: 3px; position: fixed; z-index: 120; inset: 0 0 auto; pointer-events: none; background: transparent; }
.scroll-progress span { height: 100%; display: block; transform: scaleX(0); transform-origin: left center; background: var(--lime-deep); will-change: transform; }
.header.is-scrolled { box-shadow: 0 8px 28px rgba(30,16,50,.08); }
html[data-theme="dark"] .header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.22); }

@media (max-width: 760px) {
  .feature-grid--single { grid-template-columns: 1fr; }
  .module-detail { scroll-margin-top: 92px; }
}
.button-secondary--on-dark { color: #fff; border-color: rgba(255,255,255,.42); }
.button-secondary--on-dark:hover { color: #fff; background: rgba(255,255,255,.09); border-color: var(--lime); }


/* Contraste sólido dos elementos de marca no tema escuro */
html[data-theme="dark"] .topline,
html[data-theme="dark"] .trust-strip { background: #1b1029; color: #f4effa; }
html[data-theme="dark"] .topline a { color: #fff; }
html[data-theme="dark"] .split-visual,
html[data-theme="dark"] .contact-panel { background: #211437; }
html[data-theme="dark"] .quote-band { background: #342052; }
html[data-theme="dark"] .nav-cta,
html[data-theme="dark"] .button-primary:not(.quote-band .button-primary),
html[data-theme="dark"] .analytics-consent__actions .analytics-consent__accept {
  color: #fff;
  background: #5c3a91;
  border-color: #7958ae;
  box-shadow: 0 6px 0 rgba(0,0,0,.2);
}
html[data-theme="dark"] .nav-cta:hover,
html[data-theme="dark"] .button-primary:not(.quote-band .button-primary):hover,
html[data-theme="dark"] .analytics-consent__actions .analytics-consent__accept:hover {
  color: #fff;
  background: #704eaa;
}
html[data-theme="dark"] .quote-band .button-primary { color: #211136; background: var(--lime); border-color: var(--lime); }
html[data-theme="dark"] .quote-band .button-primary:hover { color: #211136; background: #e6f66a; }
html[data-theme="dark"] .contact-line > span,
html[data-theme="dark"] .faq-item.open .faq-plus { color: #211136; }

/* Movimento com propósito: fluxo visual, profundidade e feedback */
.dashboard { transform-style: preserve-3d; }
.dashboard::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -38%;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.075), transparent);
  transform: rotate(24deg) translateX(-240%);
  animation: dashboardSheen 12s var(--ease-out) infinite;
}
.dash-flow-lines span { transform-origin: left center; animation: flowSignal 2.6s ease-in-out infinite; }
.dash-flow-lines span:nth-child(2) { animation-delay: .18s; }
.dash-flow-lines span:nth-child(3) { animation-delay: .36s; }
.dash-flow-lines span:nth-child(4) { animation-delay: .54s; }
.dash-flow-lines span:nth-child(5) { animation-delay: .72s; }
.dash-flow-lines span:nth-child(6) { animation-delay: .9s; }
.dash-flow-lines span:nth-child(7) { animation-delay: 1.08s; }
.hero .eyebrow-pulse { animation: pulseRing 2.2s ease-out infinite; }
.hero-visual .visual-orbit--outer { animation-duration: 48s; }
.segment-card:focus-within, .feature:focus-within, .module-card:focus-within, .article-card:focus-within {
  outline: 2px solid var(--lime-deep);
  outline-offset: 3px;
}
[data-reveal].will-reveal { transform: translate3d(0,34px,0) scale(.985); transition: opacity .72s var(--ease-out), transform .72s var(--ease-out); }
[data-reveal].will-reveal.is-visible { transform: translate3d(0,0,0) scale(1); }
.page-hero-copy.will-reveal { transition-delay: .05s; }
.page-hero-art.will-reveal { transition-delay: .16s; }
@keyframes dashboardSheen {
  0%, 62% { transform: rotate(24deg) translateX(-240%); opacity: 0; }
  68% { opacity: 1; }
  82%, 100% { transform: rotate(24deg) translateX(650%); opacity: 0; }
}
@keyframes flowSignal {
  0%, 100% { opacity: .34; transform: scaleX(.72); }
  50% { opacity: 1; transform: scaleX(1); }
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(215,232,58,.28); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(215,232,58,0); }
}
@media (hover: hover) and (pointer: fine) {
  .button-primary, .button-secondary, .nav-cta { position: relative; overflow: hidden; }
  .button-primary::after, .nav-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.18) 48%, transparent 72%);
    transform: translateX(-120%);
    transition: transform .65s var(--ease-out);
  }
  .button-primary:hover::after, .nav-cta:hover::after { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard::after, .dash-flow-lines span, .hero .eyebrow-pulse { animation: none !important; }
  .dashboard { transform: none !important; }
}


/* Ajustes finais solicitados: marca oficial, fonte da referência original e navegação rápida */
.brand-lockup { min-width: 150px; }
.brand-lockup img { display: block; width: clamp(142px, 13vw, 174px); height: auto; object-fit: contain; }
.footer-brand .brand-lockup { width: fit-content; padding: 8px 11px; border-radius: 7px; background: #fff; }
.footer-brand .brand-lockup img { width: 164px; }

/* O modo automático continua sendo a preferência inicial; a barra mostra somente o ícone do tema atual. */
.theme-control { display: inline-flex; align-items: center; gap: 9px; }
.theme-control-label { display: none; }
.theme-toggle { width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--brand); background: var(--surface); transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease-out); }
.theme-toggle:hover { color: var(--brand-deep); background: var(--soft-purple); border-color: var(--brand); transform: rotate(-8deg); }
.theme-icon { display: none; }
html[data-theme="light"] .theme-icon--sun, html[data-theme="dark"] .theme-icon--moon { display: block; }
.theme-control-mobile { justify-content: space-between; padding: 12px 0 2px; border-top: 1px solid var(--line); }
.theme-control-mobile .theme-control-label { display: inline; color: var(--muted); font-size: .84rem; font-weight: 650; }
html[data-theme="dark"] .theme-toggle { color: #f3d879; background: #251f30; border-color: #50445f; }
html[data-theme="dark"] .theme-toggle:hover { background: #30283d; border-color: #8c78ad; }

/* Menus suspensos com acesso direto às páginas de cada módulo e segmento. */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; gap: 3px; }
.nav-dropdown > a { padding: 12px 0; }
.nav-dropdown-toggle { width: 26px; height: 32px; display: inline-grid; place-items: center; padding: 0; border: 0; color: var(--muted); background: transparent; transition: color .2s ease, transform .2s ease; }
.nav-dropdown-toggle svg { width: 15px; height: 15px; }
.nav-dropdown.open .nav-dropdown-toggle { transform: rotate(180deg); color: var(--brand); }
.nav-dropdown-menu { position: absolute; z-index: 100; top: calc(100% + 10px); left: -18px; width: 282px; display: grid; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-raised); box-shadow: 0 18px 48px rgba(27, 13, 48, .16); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.nav-dropdown-menu--wide { width: 318px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { min-height: 40px; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 7px; color: var(--ink); font-size: .79rem; font-weight: 600; transition: color .18s ease, background .18s ease, padding .18s ease; }
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a > span:first-child { width: 25px; height: 25px; display: grid; place-items: center; color: var(--brand); background: var(--soft-purple); border-radius: 7px; }
.nav-dropdown-menu a svg { width: 16px; height: 16px; }
.nav-dropdown-menu a:hover { padding-left: 14px; color: var(--brand); background: var(--soft-purple); }
.nav-dropdown-menu .nav-dropdown-overview { justify-content: space-between; margin-bottom: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--brand); font-size: .74rem; font-weight: 800; }
.nav-dropdown-menu .nav-dropdown-overview span { font-size: 1.1rem; }
.mobile-nav-group { display: grid; border-bottom: 1px solid var(--line); }
.mobile-nav-group summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; }
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary svg { width: 17px; height: 17px; transition: transform .2s ease; }
.mobile-nav-group[open] summary svg { transform: rotate(180deg); }
.mobile-nav-group > a { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 7px 10px; color: var(--muted); font-size: .86rem; }
.mobile-nav-group > a svg { width: 18px; height: 18px; color: var(--brand); }
.mobile-nav-group > .mobile-nav-overview { color: var(--brand); font-weight: 750; }

/* Segmentos voltam a utilizar as fotografias originais do site UpCiga. */
.segment-card { min-height: 0; padding: 0; overflow: hidden; border-radius: 13px; border: 1px solid var(--line); }
.segment-card::before { z-index: 2; }
.segment-card-media { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft-purple); }
.segment-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s var(--ease-out), filter .45s ease; }
.segment-card:hover .segment-card-media img { transform: scale(1.055); }
.segment-card-content { min-height: 225px; display: flex; flex-direction: column; align-items: flex-start; padding: 21px 23px 20px; }
.segment-card-top { margin-bottom: 1px; }
.segment-icon { width: 43px; height: 43px; border-radius: 10px; }
.segment-icon svg { width: 22px; height: 22px; }
.segment-card h3 { margin: 17px 0 8px; font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.16rem; font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
.segment-card p { font-size: .82rem; }
.link-arrow { display: inline-block; margin-left: 2px; font-size: 1.05em; line-height: 1; transition: transform .22s var(--ease-out); }
.text-link:hover .link-arrow, .module-more:hover .link-arrow { transform: translateX(4px); }

/* Páginas de segmento preservam a fotografia específica ao lado do texto principal. */
.page-hero-art--photo { min-height: 0; margin: 7px 0 0; overflow: hidden; display: block; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); }
.page-hero-art--photo img { width: 100%; height: clamp(270px, 30vw, 390px); display: block; object-fit: cover; }
.page-hero-art--photo figcaption { padding: 9px 13px; color: var(--muted); background: var(--surface); font-size: .68rem; line-height: 1.45; }
html[data-theme="dark"] .page-hero-art--photo { border-color: var(--line-strong); }

/* Ícones dos módulos representam a função, sem glifos aleatórios ou setas decorativas. */
.module-mark { border-radius: 11px; }
.module-mark svg { width: 21px; height: 21px; }
.module-card:hover .module-mark { transform: translateY(-2px); }
.module-card h3 { font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; font-size: 1.24rem; font-weight: 650; letter-spacing: -.035em; }
.module-more .link-arrow { margin-left: 3px; }

/* Checkmarks ficam mais discretos no tema escuro sem perder contraste. */
html[data-theme="dark"] .check-list li::before { color: var(--lime); background: rgba(215,236,72,.11); border: 1px solid rgba(215,236,72,.48); }

/* Atalho fixo para contato: sempre visível, sem competir com o conteúdo. */
.floating-whatsapp { position: fixed; z-index: 110; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); min-width: 62px; height: 62px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 19px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; background: #168f53; box-shadow: 0 12px 30px rgba(8,65,37,.26), 0 0 0 0 rgba(37,211,102,.35); transition: transform .25s var(--ease-out), background .2s ease, box-shadow .25s ease; animation: whatsappPulse 3s ease-out 1.2s infinite; }
.floating-whatsapp svg { width: 27px; height: 27px; flex: 0 0 auto; }
.floating-whatsapp span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-size: .8rem; font-weight: 750; transition: max-width .3s var(--ease-out), opacity .2s ease; }
.floating-whatsapp:hover, .floating-whatsapp:focus-visible { transform: translateY(-4px); background: #117844; box-shadow: 0 16px 34px rgba(8,65,37,.3); }
.floating-whatsapp:hover span, .floating-whatsapp:focus-visible span { max-width: 170px; opacity: 1; }
@keyframes whatsappPulse { 0%, 72%, 100% { box-shadow: 0 12px 30px rgba(8,65,37,.26), 0 0 0 0 rgba(37,211,102,.3); } 12% { box-shadow: 0 12px 30px rgba(8,65,37,.26), 0 0 0 11px rgba(37,211,102,0); } }
.photo-credits { margin: 17px 0 0; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.12); color: #a99bb8; font-size: .63rem; line-height: 1.6; }

/* Tipografia geométrica próxima à do site antigo. */
body, button, input, select, textarea { font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; }
.display, .section-heading h2, .quote-inner h2, .page-hero h1, .article-header h1, .article-body h2, .prose h2, .module-detail h2, .sidebar h3, .article-body > p:first-child { font-family: "Montserrat", "Avenir Next", Avenir, Arial, sans-serif; }
.display, .page-hero h1, .article-header h1 { font-weight: 650; }
.section-heading h2, .quote-inner h2 { font-weight: 650; }

@media (max-width: 980px) {
  .nav { display: none; }
  .theme-control-desktop { display: none; }
  .mobile-nav .theme-control { display: flex; }
  .mobile-nav-group { width: 100%; }
}
@media (max-width: 760px) {
  .segment-card-content { min-height: 210px; padding: 18px 19px 18px; }
  .segment-card-media { aspect-ratio: 16 / 8.5; }
  .page-hero-art--photo img { height: 240px; }
  .floating-whatsapp { right: max(15px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 58px; min-width: 58px; height: 58px; padding: 0; }
  .floating-whatsapp span { display: none; }
  .brand-lockup img { width: 146px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp { animation: none !important; }
  .segment-card-media img { transition: none !important; }
}

/* Preserva as cores oficiais do logotipo também quando o cabeçalho está escuro. */
html[data-theme="dark"] .header .brand-lockup { padding: 5px 8px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
html[data-theme="dark"] .header .brand-lockup img { width: clamp(142px, 13vw, 174px); }


/* Ajustes de acabamento solicitados após revisão visual. */
.brand-lockup { position: relative; overflow: hidden; isolation: isolate; }
.brand-lockup img {
  display: block;
  width: clamp(142px, 13vw, 174px);
  height: auto;
  object-fit: contain;
  transform-origin: left center;
  animation: brandMarkEnter .72s cubic-bezier(.2,.75,.25,1) both;
  transition: transform .24s var(--ease-out), filter .24s ease;
}
.brand-lockup:hover img { transform: translateY(-1px); filter: drop-shadow(0 3px 3px rgba(53,21,109,.13)); }
@keyframes brandMarkEnter {
  from { opacity: 0; transform: translate3d(-8px, 3px, 0) scale(.975); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
.page-art-logo-wrap {
  width: min(100%, 350px);
  position: relative;
  z-index: 1;
  padding: 16px 18px;
  border: 1px solid rgba(53,21,109,.09);
  border-radius: 13px;
  background: #fff;
  box-shadow: 10px 12px 0 rgba(53,21,109,.12), var(--shadow-soft);
  transform: rotate(-3deg);
  animation: markHover 5s ease-in-out infinite;
}
.page-art-logo { display: block; width: 100%; height: auto; }

/* Segmentos: cards independentes, com respiro e sem moldura externa da grade. */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}
.segment-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-raised);
}
.segment-card-content { min-width: 0; background: inherit; }
.segment-card-top { min-width: 0; gap: 12px; }
.segment-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  box-sizing: border-box;
}
.segment-icon svg { width: 20px; height: 20px; max-width: 100%; }
.segment-card-index { flex: 0 0 auto; }
.segment-card h3 { color: var(--brand-deep); }
.segment-card p { color: var(--muted); }

/* Módulos em seções claras precisam de texto escuro; no tema dark as variáveis invertem sozinhas. */
.surface-section .module-grid { gap: 16px; }
.module-card { min-width: 0; overflow: hidden; }
.module-mark {
  top: 17px;
  right: 17px;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
}
.module-mark svg { width: 19px; height: 19px; max-width: 100%; }
.surface-section .module-card {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface-raised);
}
.surface-section .module-card:hover {
  background: var(--soft-purple);
  border-color: var(--line-strong);
}
.surface-section .module-card .module-no,
.surface-section .module-card .module-no i { color: var(--muted); }
.surface-section .module-card .module-mark {
  color: var(--brand);
  border-color: var(--line-strong);
  background: var(--soft-purple);
}
.surface-section .module-card h3 { color: var(--brand-deep); }
.surface-section .module-card p { color: var(--muted); }
.surface-section .module-card .module-more { color: var(--brand); }
.surface-section .module-card .module-more:hover { color: var(--brand-strong); }

/* Fotografias de segmento sem legenda redundante abaixo da imagem. */
.page-hero-art--photo { background: transparent; }
.page-hero-art--photo img { border-radius: inherit; }
.page-hero-art--photo figcaption { display: none !important; }

/* Ícone oficial reconhecível, mantendo o botão flutuante compacto. */
.floating-whatsapp { width: 62px; min-width: 62px; padding: 0; }
.floating-whatsapp svg { width: 29px; height: 29px; }
.floating-whatsapp:hover span, .floating-whatsapp:focus-visible span { max-width: 0; opacity: 0; }
@media (max-width: 760px) {
  .segment-grid { grid-template-columns: 1fr; gap: 13px; }
  .segment-card-content { min-height: 0; }
  .surface-section .module-grid { gap: 13px; }
  .page-art-logo-wrap { width: min(76vw, 290px); padding: 13px; }
  .floating-whatsapp { width: 58px; min-width: 58px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .segment-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-lockup img, .page-art-logo-wrap { animation: none !important; }
  .brand-lockup:hover img { transform: none; }
}


/* Final polish requested after screenshot review (Nov/2026). */
.segment-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--surface-raised);
}
.segment-card-content {
  flex: 1 1 auto;
  min-height: 225px;
  background: inherit;
}
.segment-card:hover .segment-card-content { background: var(--surface-raised); }
.segment-card .segment-icon,
.nav-dropdown-menu > a > span,
.mobile-nav-group > a > svg {
  display: grid;
  place-items: center;
  align-content: center;
}
.segment-icon svg,
.nav-dropdown-menu > a > span svg,
.mobile-nav-group > a > svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  flex: 0 0 20px;
  transform: none;
}
.nav-dropdown-menu > a > span { flex: 0 0 34px; }
.mobile-nav-group > a { display: flex; align-items: center; gap: 11px; }
.mobile-nav-group > a > svg { margin: 0; }

/* O WhatsApp usa caixa quadrada e alinhamento óptico fixo, inclusive com safe-area. */
.floating-whatsapp {
  width: 64px;
  min-width: 64px;
  height: 64px;
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 0;
  display: grid;
  place-items: center;
  line-height: 0;
}
.floating-whatsapp-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  line-height: 0;
}
.floating-whatsapp-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0;
  transform: none;
}
.floating-whatsapp-label { display: none !important; }

.contact-line--whatsapp > span {
  display: grid;
  place-items: center;
}
.contact-line--whatsapp > span svg {
  width: 25px;
  height: 25px;
  display: block;
  margin: 0;
}

/* Imagens do card e da página de segmento usam o mesmo responsive source set. */
.segment-card-media img,
.page-hero-art--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}
.page-hero-art--photo { align-self: center; width: 100%; }
.page-hero-art--photo img { height: clamp(290px, 34vw, 430px); }
@media (max-width: 760px) {
  .segment-card-content { min-height: 0; }
  .page-hero-art--photo img { height: 260px; }
  .floating-whatsapp { width: 60px; min-width: 60px; height: 60px; }
  .floating-whatsapp-icon svg { width: 27px; height: 27px; }
}

.floating-whatsapp-icon { max-width: none !important; min-width: 0; overflow: visible !important; opacity: 1 !important; white-space: normal; }
.floating-whatsapp-label { display: none !important; max-width: 0 !important; }

/* Um único seletor de tema fica no cabeçalho em desktop e mobile. */
@media (max-width: 980px) {
  .header-actions { gap: 9px; }
  .theme-control-desktop { display: inline-flex; }
  .theme-toggle { width: 39px; height: 39px; }
}
@media (max-width: 380px) {
  .brand-lockup img { width: 132px; }
  .header-actions { gap: 7px; }
  .theme-toggle { width: 36px; height: 36px; }
  .menu-button { width: 38px; min-width: 38px; }
}
