/* ==========================================================
   Disgrupp AI Business Academy — style.css
   Tema «Roadmap Pill»: branco frio, navy, verde-pinheiro
   Títulos: Lexend 700 (subset local) · prefixo: dg-
   ========================================================== */

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/lexend-700-subset.woff2') format('woff2');
}

:root {
  --bg: #f4f6f9;
  --paper: #ffffff;
  --tint: #e8edf5;
  --tint-2: #dfe6f1;
  --line: #d6dde8;
  --line-soft: #e4e9f0;

  --navy: #1b2f52;
  --navy-deep: #13223d;
  --pine: #2d6a5a;
  --pine-tint: #e3f1ec;
  --pine-line: #b5d8cc;

  --ink: #1b2433;
  --muted: #465166;
  --dim: #555f72;

  --r-card: 14px;
  --r-box: 10px;
  --r-pill: 999px;

  --lift: 0 1px 2px rgba(27, 47, 82, .05), 0 8px 24px rgba(27, 47, 82, .07);

  --max: 1200px;
  --font-h: 'Lexend', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --font-b: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-b); font-size: 16px; line-height: 1.68;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-h); font-weight: 700; color: var(--ink); line-height: 1.2; margin: 0 0 .55em; letter-spacing: -.01em; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy); }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
[id] { scroll-margin-top: 92px; }
:focus-visible { outline: 3px solid #4f74b3; outline-offset: 2px; }

.dg-container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.dg-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dg-skip { position: absolute; left: -9999px; top: .5rem; z-index: 999; background: var(--navy); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-pill); }
.dg-skip:focus { left: .5rem; }
.dg-i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* pontos de percurso (decoração clara) */
.dg-dots { background-color: var(--bg); background-image: radial-gradient(#cfd8e6 1.2px, transparent 1.3px); background-size: 22px 22px; }

/* ---------- barra de publicidade ---------- */
.dg-adnote { background: var(--paper); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; line-height: 1.5; text-align: center; padding: .5rem 20px; }
.dg-adnote strong { display: inline-block; margin-right: .55rem; padding: .05rem .6rem; border-radius: var(--r-pill); background: var(--tint); color: var(--navy); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- cabeçalho ---------- */
.dg-top { position: sticky; top: 0; z-index: 200; background: rgba(244, 246, 249, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.dg-top__row { display: flex; align-items: center; gap: 1.2rem; height: 72px; }
.dg-brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-right: auto; }
.dg-brand img { height: 34px; width: auto; }
.dg-links { display: flex; gap: .2rem; padding: .2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill); }
.dg-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill); color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.dg-links a:hover { background: var(--tint); color: var(--navy); }
.dg-top__cta { margin-left: 1rem; }
.dg-top .dg-burger { display: none; }

/* ---------- botões ---------- */
.dg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.5rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--font-h); font-weight: 700; font-size: .95rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.dg-btn--main { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(27, 47, 82, .2); }
.dg-btn--main:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.dg-btn--line { background: var(--paper); border-color: #9aa6b8; color: var(--ink); }
.dg-btn--line:hover { border-color: var(--navy); color: var(--navy); }
.dg-btn--small { min-height: 44px; padding: .55rem 1.15rem; font-size: .86rem; }
.dg-btn--wide { width: 100%; }
.dg-btn .dg-i { width: 1.1em; height: 1.1em; }

/* ---------- etiquetas ---------- */
.dg-kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .9rem; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); color: var(--pine); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.dg-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pine); }

/* ---------- secções ---------- */
.dg-block { padding: clamp(3.4rem, 8vw, 5.6rem) 0; background: var(--paper); }
.dg-block--soft { background: var(--bg); }
.dg-intro { max-width: 740px; margin: 0 0 2.6rem; }
.dg-intro h2 { margin-top: .9rem; }
.dg-intro p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.dg-intro--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- herói ---------- */
.dg-hero { padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2.6rem, 5vw, 3.8rem); border-bottom: 1px solid var(--line); }
.dg-hero__cols { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }
.dg-hero h1 { margin: 1.1rem 0 1rem; }
.dg-mark { color: var(--navy); background: var(--tint-2); padding: 0 .25em; border-radius: 8px; white-space: nowrap; }
.dg-hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 580px; margin-bottom: 1.8rem; }
.dg-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.dg-hero__ticks { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; color: var(--muted); font-size: .88rem; }
.dg-hero__ticks li { display: inline-flex; align-items: center; gap: .45rem; }
.dg-hero__ticks .dg-i { color: var(--pine); width: 1.05em; height: 1.05em; }

/* cartão do percurso */
.dg-route { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--lift); padding: 1.4rem 1.4rem 1.2rem; }
.dg-route__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.dg-route__title { font-family: var(--font-h); font-weight: 700; font-size: 1rem; color: var(--ink); }
.dg-route__badge { font-size: .74rem; font-weight: 700; color: var(--pine); background: var(--pine-tint); border: 1px solid var(--pine-line); padding: .15rem .65rem; border-radius: var(--r-pill); }
.dg-route ol { list-style: none; position: relative; }
.dg-route ol::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--tint-2); }
.dg-route li { position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: .85rem; align-items: center; padding: .55rem 0; }
.dg-route__n { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 700; font-size: .9rem; background: var(--tint); color: var(--navy); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); position: relative; }
.dg-route li.is-done .dg-route__n { background: var(--navy); color: #fff; box-shadow: 0 0 0 1px var(--navy); }
.dg-route__t { display: block; font-weight: 700; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.dg-route__s { display: block; font-size: .8rem; color: var(--dim); }
.dg-route__h { font-size: .78rem; font-weight: 700; color: var(--navy); background: var(--tint); padding: .15rem .6rem; border-radius: var(--r-pill); white-space: nowrap; }
.dg-route__bar { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.dg-route__bar span { display: flex; justify-content: space-between; font-size: .8rem; color: var(--dim); margin-bottom: .45rem; }
.dg-route__bar i { display: block; height: 8px; border-radius: var(--r-pill); background: var(--tint); overflow: hidden; }
.dg-route__bar i::before { content: ""; display: block; width: 50%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--pine)); }

/* números */
.dg-figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 2.6rem 0 0; }
.dg-figure { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.1rem 1.2rem; }
.dg-figure dt { font-family: var(--font-h); font-weight: 700; font-size: 1.75rem; color: var(--navy); line-height: 1.1; }
.dg-figure dd { margin: .3rem 0 0; color: var(--muted); font-size: .86rem; }

/* faixa de vantagens */
.dg-marquee { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; padding: .9rem 0; }
.dg-marquee__track { display: flex; gap: .7rem; width: max-content; animation: dg-slide 40s linear infinite; }
.dg-marquee__track span { white-space: nowrap; padding: .4rem 1rem; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: .86rem; font-weight: 600; }
@keyframes dg-slide { to { transform: translateX(-50%); } }

/* vantagens */
.dg-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.dg-benefit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.5rem; }
.dg-block--soft .dg-benefit { background: var(--paper); }
.dg-benefit__ic { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--navy); margin-bottom: 1rem; }
.dg-benefit__ic .dg-i { width: 22px; height: 22px; }
.dg-benefit:nth-child(3n+2) .dg-benefit__ic { background: var(--pine-tint); color: var(--pine); }
.dg-benefit p { color: var(--muted); font-size: .94rem; margin: 0; }

/* áreas */
.dg-areas { display: flex; flex-wrap: wrap; gap: .55rem; margin: -1rem 0 2rem; }
.dg-areas li { padding: .45rem 1rem; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-size: .86rem; font-weight: 600; }

/* cursos */
.dg-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.dg-course { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.dg-course:hover { box-shadow: var(--lift); transform: translateY(-2px); }
.dg-course__pic { position: relative; aspect-ratio: 16 / 10; background: var(--tint); margin: .6rem .6rem 0; border-radius: 12px; overflow: hidden; }
.dg-course__pic img { width: 100%; height: 100%; object-fit: cover; }
.dg-course__area { position: absolute; left: .6rem; bottom: .6rem; background: var(--paper); color: var(--navy); font-size: .74rem; font-weight: 700; padding: .25rem .7rem; border-radius: var(--r-pill); }
.dg-course__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.dg-course__level { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--pine); background: var(--pine-tint); padding: .15rem .65rem; border-radius: var(--r-pill); margin-bottom: .6rem; }
.dg-course h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.dg-course p { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; flex: 1; }
.dg-course__meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.dg-course__meta li { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line-soft); padding: .2rem .65rem; border-radius: var(--r-pill); }
.dg-course__meta .dg-i { width: 1em; height: 1em; color: var(--navy); }

/* percurso (método) */
.dg-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; position: relative; list-style: none; }
.dg-path::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.dg-stage { position: relative; text-align: center; padding: 0 .4rem; }
.dg-stage__n { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 700; font-size: 1.2rem; position: relative; }
.dg-stage h3 { font-size: 1.02rem; }
.dg-stage p { color: var(--muted); font-size: .9rem; margin: 0; }
.dg-stage__time { display: inline-block; margin-top: .7rem; font-size: .76rem; font-weight: 700; color: var(--pine); background: var(--pine-tint); padding: .15rem .65rem; border-radius: var(--r-pill); }
.dg-pathcta { margin-top: 2.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding: 1.3rem 1.5rem; border-radius: var(--r-pill); background: var(--tint); border: 1px dashed #8ea0bd; }
.dg-pathcta p { margin: 0; color: var(--ink); font-weight: 600; }
.dg-pathcta p span { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }

/* programa */
.dg-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; counter-reset: mod; }
.dg-module { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.15rem 1.25rem; }
.dg-module__n { flex: none; min-width: 48px; height: 32px; padding: 0 .7rem; border-radius: var(--r-pill); background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 700; font-size: .85rem; }
.dg-module h3 { font-size: 1rem; margin: .2rem 0 .25rem; }
.dg-module p { color: var(--muted); font-size: .9rem; margin: 0; }
.dg-extras { margin-top: 2.4rem; background: var(--paper); border: 1px solid var(--pine-line); border-radius: 20px; padding: clamp(1.3rem, 3vw, 1.9rem); }
.dg-extras h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.dg-extras ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.6rem; }
.dg-extras li { display: flex; gap: .8rem; align-items: flex-start; }
.dg-extras li > span:first-child { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--pine-tint); color: var(--pine); display: inline-flex; align-items: center; justify-content: center; }
.dg-extras li .dg-i { width: 16px; height: 16px; }
.dg-extras strong { display: block; font-family: var(--font-h); font-size: .97rem; color: var(--ink); }
.dg-extras li span span, .dg-extras li div span { color: var(--muted); font-size: .88rem; }

/* listas com visto */
.dg-ticks li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .7rem; color: var(--muted); }
.dg-ticks .dg-i { color: var(--pine); margin-top: .22rem; width: 1.1em; height: 1.1em; }
.dg-ticks li:has(> a) { align-items: center; margin-bottom: .1rem; }
.dg-ticks li:has(> a) .dg-i { margin-top: 0; }
.dg-ticks a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }

/* formulário principal */
.dg-capture { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.2rem); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--lift); padding: clamp(1.4rem, 4vw, 2.6rem); }
.dg-capture--top { align-items: start; }
.dg-capture__cover { display: flex; gap: 1rem; align-items: center; margin: 1.3rem 0; padding: 1rem; border-radius: var(--r-card); background: var(--bg); border: 1px solid var(--line-soft); }
.dg-capture__book { flex: none; width: 64px; height: 84px; border-radius: 6px 10px 10px 6px; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: .45rem; font-family: var(--font-h); font-weight: 700; font-size: .62rem; line-height: 1.15; box-shadow: inset 5px 0 0 var(--pine); }
.dg-capture__cover p { margin: 0; color: var(--muted); font-size: .88rem; }
.dg-capture__cover strong { display: block; color: var(--ink); }

.dg-field { margin-bottom: 1rem; }
.dg-field label { display: block; margin-bottom: .4rem; font-size: .86rem; font-weight: 600; color: var(--ink); }
.dg-field label small { color: var(--dim); font-weight: 400; font-size: .84rem; }
.dg-field input, .dg-field select, .dg-field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1.1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem;
}
.dg-field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.dg-field input::placeholder, .dg-field textarea::placeholder { color: #69738a; }
.dg-field input:focus, .dg-field select:focus, .dg-field textarea:focus { outline: none; border-color: var(--navy); background: var(--paper); box-shadow: 0 0 0 3px rgba(27, 47, 82, .16); }
.dg-field__msg { display: none; margin-top: .35rem; color: #b42318; font-size: .82rem; }
.dg-field.has-error input, .dg-field.has-error textarea { border-color: #d92d20; background: #fff; }
.dg-field.has-error .dg-field__msg { display: block; }
.dg-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dg-agree { display: flex; gap: .75rem; align-items: flex-start; margin: .3rem 0 1.2rem; }
.dg-agree input { flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: .2rem 0 0; accent-color: var(--navy); cursor: pointer; }
.dg-agree label { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.6; font-weight: 400; }
.dg-agree a { text-decoration: underline; }
.dg-agree + .dg-agree { margin-top: -.6rem; }
.dg-safe { display: flex; justify-content: center; align-items: center; gap: .4rem; margin: .9rem 0 0; font-size: .8rem; color: var(--dim); text-align: center; }
.dg-safe .dg-i { width: 1em; height: 1em; color: var(--pine); }
.dg-notice { display: none; margin-bottom: 1rem; padding: .95rem 1.1rem; border-radius: 12px; font-size: .9rem; }
.dg-notice.is-ok { display: block; background: var(--pine-tint); border: 1px solid var(--pine-line); color: #1f4d41; }
.dg-notice.is-bad { display: block; background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.dg-notice a { color: inherit; text-decoration: underline; }

/* FAQ */
.dg-qa { max-width: 860px; margin: 0 auto; display: grid; gap: .7rem; }
.dg-qa__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.dg-qa__item.is-open { border-color: #8ea0bd; }
.dg-qa__item h3 { margin: 0; font-size: 1rem; }
.dg-qa__btn { width: 100%; min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--font-h); font-weight: 700; font-size: 1rem; color: var(--ink); }
.dg-qa__btn > span:last-child { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s; }
.dg-qa__btn .dg-i { width: 16px; height: 16px; }
.dg-qa__item.is-open .dg-qa__btn > span:last-child { transform: rotate(45deg); }
.dg-qa__panel { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s ease, visibility 0s linear .3s; }
.dg-qa__item.is-open .dg-qa__panel { visibility: visible; transition: max-height .3s ease, visibility 0s; }
.dg-qa__panel p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .95rem; }
.dg-qa__panel a { text-decoration: underline; }

/* chamada final */
.dg-final { text-align: center; border: 1px solid var(--line); border-radius: 28px; padding: clamp(2.2rem, 6vw, 3.6rem) clamp(1.2rem, 4vw, 3rem); }
.dg-final p { color: var(--muted); max-width: 580px; margin: .3rem auto 1.6rem; }
.dg-final__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }

/* ---------- rodapé ---------- */
.dg-foot { background: var(--paper); border-top: 1px solid var(--line); padding: 3.2rem 0 2rem; font-size: .9rem; }
.dg-foot__cols { display: grid; grid-template-columns: 1.35fr 1fr 1.15fr 1.25fr; gap: 2rem; margin-bottom: 2.2rem; }
.dg-foot__about p { color: var(--muted); font-size: .88rem; max-width: 330px; margin-top: .8rem; }
.dg-foot h2 { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: .7rem; }
.dg-foot ul a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--muted); text-decoration: none; }
.dg-foot ul a:hover { color: var(--navy); text-decoration: underline; }
.dg-foot address { font-style: normal; color: var(--muted); font-size: .87rem; line-height: 1.85; }
.dg-foot address strong { color: var(--ink); }
.dg-foot__reach { display: flex; flex-direction: column; margin-top: .7rem; border-top: 1px solid var(--line-soft); }
.dg-foot__reach a { display: flex; align-items: center; gap: .5rem; min-height: 44px; border-bottom: 1px solid var(--line-soft); color: var(--navy); text-decoration: underline; }
.dg-foot__reach .dg-i { width: 1em; height: 1em; }
.dg-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem 1.2rem; padding-top: 1.3rem; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: .82rem; }
.dg-foot__base nav { display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.dg-foot__base nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--muted); text-decoration: none; }
.dg-foot__base nav a:hover { text-decoration: underline; }
.dg-textbtn { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 .9rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); font: inherit; font-size: .82rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.dg-textbtn:hover { border-color: var(--navy); }
.dg-foot__note { margin: 1.3rem 0 0; padding-top: 1.3rem; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: .79rem; line-height: 1.8; }
.dg-foot__note strong { color: var(--muted); }

/* ---------- páginas interiores ---------- */
.dg-doc { background: var(--paper); padding: clamp(2.4rem, 6vw, 4rem) 0; }
.dg-doc__body { max-width: 840px; margin: 0 auto; }
.dg-doc__body--wide { max-width: 1080px; }
.dg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .5rem; margin-bottom: 1rem; font-size: .84rem; color: var(--dim); }
.dg-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--muted); text-decoration: underline; }
.dg-doc h1 { margin-bottom: .4rem; }
.dg-doc__date { color: var(--dim); font-size: .87rem; margin-bottom: 2rem; }
.dg-doc h2 { font-size: 1.3rem; margin: 2.1rem 0 .7rem; }
.dg-doc h3 { font-size: 1.05rem; margin: 1.3rem 0 .5rem; }
.dg-doc p, .dg-doc li { color: var(--muted); }
.dg-doc p a, .dg-doc li a, .dg-doc td a, .dg-doc address a { text-decoration: underline; }
.dg-doc ul.dg-list { list-style: disc; padding-left: 1.3rem; margin: 0 0 1rem; }
.dg-doc ul.dg-list li { margin-bottom: .5rem; }
.dg-doc ul.dg-list li:has(> a:only-child) { margin-bottom: 0; }
.dg-doc ul.dg-list li:has(> a:only-child) > a { display: inline-flex; align-items: center; min-height: 44px; }
.dg-doc ol.dg-articles { padding-left: 1.4rem; margin: 0 0 1rem; }
.dg-doc ol.dg-articles li { margin-bottom: .8rem; padding-left: .2rem; }
.dg-doc ol.dg-articles li::marker { color: var(--navy); font-weight: 700; }
.dg-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.3rem 1.5rem; margin: 1.3rem 0; }
.dg-panel p:last-child { margin-bottom: 0; }
.dg-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0 1.5rem; font-size: .9rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dg-table th, .dg-table td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.dg-table tr:last-child th, .dg-table tr:last-child td { border-bottom: 0; }
.dg-table tbody th { width: 36%; background: var(--bg); color: var(--ink); font-weight: 600; }
.dg-table thead th { background: var(--tint); color: var(--navy); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.dg-optout { margin-top: 2.2rem; padding: 1.5rem 1.6rem; border-radius: 18px; background: var(--pine-tint); border: 1px solid var(--pine-line); }
.dg-optout h2 { margin-top: 0; }
.dg-optout p, .dg-optout li { color: #2f4b43; }
.dg-optout a { color: #1f4d41; }

.dg-mapbox { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--bg); }
.dg-mapbox__face { padding: 1.3rem; }
.dg-mapbox__addr { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.dg-mapbox__addr .dg-i { color: var(--navy); }
.dg-mapbox__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.dg-mapbox iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- menu móvel ---------- */
.dg-drawer { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
.dg-drawer.is-open { visibility: visible; }
.dg-drawer__scrim { position: absolute; inset: 0; background: rgba(232, 237, 245, .9); opacity: 0; transition: opacity .25s; }
.dg-drawer.is-open .dg-drawer__scrim { opacity: 1; }
.dg-drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: var(--paper); border-right: 1px solid var(--line); box-shadow: var(--lift); padding: 1.2rem 1.3rem 1.6rem; overflow-y: auto; transform: translateX(-100%); transition: transform .28s ease; }
.dg-drawer.is-open .dg-drawer__panel { transform: none; }
.dg-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.dg-drawer__nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 .4rem; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-family: var(--font-h); font-weight: 700; text-decoration: none; }
.dg-drawer__nav a::after { content: "›"; color: var(--dim); font-size: 1.2rem; }
.dg-drawer .dg-btn { margin-top: 1.4rem; }
.dg-round { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--ink); cursor: pointer; }

/* aparecimento */
/* só esconde quando há JavaScript (sem JS o conteúdo fica sempre visível) */
@media (scripting: enabled) {
  .dg-fade { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
  .dg-fade.is-in { opacity: 1; transform: none; }
}

/* ---------- consentimento de cookies (barra inferior) ---------- */
.dg-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 350; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(27, 47, 82, .08); }
.dg-consent[hidden] { display: none; }
.dg-consent__in { display: flex; align-items: center; gap: 1rem 2rem; padding-top: .9rem; padding-bottom: .9rem; }
.dg-consent__txt { flex: 1; font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.55; }
.dg-consent__txt strong { color: var(--ink); }
.dg-consent__txt a { text-decoration: underline; }
.dg-consent__btns { display: flex; flex-wrap: wrap; gap: .5rem; flex: none; }
.dg-prefs { position: fixed; inset: 0; z-index: 500; display: none; }
.dg-prefs.is-open { display: block; }
.dg-prefs__scrim { position: absolute; inset: 0; background: rgba(232, 237, 245, .92); }
.dg-prefs__box { position: relative; max-width: 540px; margin: 7vh auto 0; width: calc(100% - 2rem); max-height: 84vh; overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--lift); }
.dg-prefs__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line-soft); }
.dg-prefs__head h2 { margin: 0; font-size: 1.2rem; }
.dg-prefs__list { padding: .3rem 1.4rem; }
.dg-pref { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.dg-pref:last-child { border-bottom: 0; }
.dg-pref__info { flex: 1; }
.dg-pref__info strong { display: block; color: var(--ink); }
.dg-pref__info span { font-size: .84rem; color: var(--muted); }
.dg-toggle { position: relative; flex: none; width: 50px; height: 30px; }
.dg-toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dg-toggle__ui { position: absolute; inset: 0; border-radius: var(--r-pill); background: #c3ccda; transition: background-color .2s; pointer-events: none; }
.dg-toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.dg-toggle input:checked + .dg-toggle__ui { background: var(--navy); }
.dg-toggle input:checked + .dg-toggle__ui::after { transform: translateX(20px); }
.dg-toggle input:disabled + .dg-toggle__ui { background: #7f8ca3; }
.dg-toggle input:focus-visible + .dg-toggle__ui { outline: 3px solid #4f74b3; outline-offset: 2px; }
.dg-prefs__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line-soft); }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .dg-links { display: none; }
  .dg-top .dg-burger { display: inline-flex; }
  .dg-top__cta { margin-left: 0; }
}
@media (max-width: 960px) {
  .dg-hero__cols, .dg-capture { grid-template-columns: 1fr; }
  .dg-benefits, .dg-courses { grid-template-columns: repeat(2, 1fr); }
  .dg-path { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .dg-path::before { display: none; }
  .dg-foot__cols { grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
  .dg-consent__in { flex-direction: column; align-items: stretch; gap: .7rem; }
  .dg-pathcta { border-radius: 20px; }
}
@media (max-width: 640px) {
  .dg-top__row { height: 64px; }
  .dg-top__cta { display: none; }
  .dg-brand img { height: 30px; }
  .dg-figures { grid-template-columns: repeat(2, 1fr); }
  .dg-benefits, .dg-courses, .dg-modules, .dg-extras ul, .dg-path { grid-template-columns: 1fr; }
  .dg-foot__cols { grid-template-columns: 1fr; }
  .dg-hero__actions .dg-btn, .dg-final__actions .dg-btn, .dg-pathcta .dg-btn { width: 100%; }
  .dg-route li { grid-template-columns: 36px 1fr; }
  .dg-route__h { grid-column: 2; justify-self: start; }
  .dg-consent__btns .dg-btn { flex: 1 1 auto; }
  .dg-table tbody th { width: 42%; }
  .dg-table--3 thead { display: none; }
  .dg-table--3, .dg-table--3 tbody, .dg-table--3 tr, .dg-table--3 tbody th, .dg-table--3 td { display: block; width: 100%; }
  .dg-table--3 tr { border-bottom: 1px solid var(--line); }
  .dg-table--3 tr:last-child { border-bottom: 0; }
  .dg-table--3 th, .dg-table--3 td { border-bottom: 0; padding: .55rem 1rem; }
  .dg-table--3 td::before { content: attr(data-label); display: block; font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); }
}
@media (max-width: 360px) {
  h1 { font-size: 1.8rem; }
  .dg-mark { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .dg-container { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .dg-fade { opacity: 1; transform: none; }
}
