/* Paulo Casanova, página definitiva.
   Paleta: preto, branco, laranja e azul. Fonte do design system (Bricolage Grotesque),
   Kalam só em notas curtas, JetBrains Mono só na tabela de cargas. */

:root {
  --preto: #111111;
  --preto-2: #1c1c1c;
  --preto-3: #262626;
  --tinta: #161616;
  --tinta-2: #3e3e3b;
  --mudo: #5b5b57;
  --branco: #ffffff;
  --quadro: #f6f6f3;
  --borda: #e3e3de;
  --claro-2: #c9c9c4;
  --claro-3: #a3a39e;
  --laranja: #e2531f;
  --laranja-claro: #f2763f;
  --laranja-btn: #b23c14;
  --laranja-fundo: #9a3210;
  --laranja-txt: #b8410f;
  --azul: #2b5bd7;
  --azul-claro: #7c9cf0;
  --verde: #3ddc84;
  --verde-hover: #66e6a0;
  --verde-tinta: #0b2a17;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --pena: cubic-bezier(0.65, 0, 0.35, 1);
  --fonte: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --mao: "Kalam", "Comic Sans MS", cursive;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: 20px;
  --secao: 80px;
  scrollbar-color: var(--laranja-btn) var(--preto);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--preto);
  color: var(--tinta);
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
a { color: inherit; }
svg { fill: currentColor; }

::selection { background: var(--laranja); color: #fff; }
:focus-visible { outline: 3px solid var(--laranja-claro); outline-offset: 3px; border-radius: 6px; }
.df-claro :focus-visible, .df-quadro :focus-visible, .df-modal :focus-visible { outline-color: var(--azul); }

.df-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.df-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.df-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.df-cabeca { max-width: 46rem; }
.df-cabeca--centro { margin-inline: auto; text-align: center; }

/* ---------- Tipografia ---------- */
.df-h1 {
  font-weight: 800;
  font-size: clamp(2.375rem, 1.4rem + 4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
}
.df-h1 em { color: var(--laranja); }
.df-h2 {
  font-weight: 800;
  font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.df-h2 em { color: var(--laranja-txt); }
.df-escuro .df-h2 em { color: var(--laranja); }
.df-h2--grande { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1.02; }
.df-h3 { font-weight: 800; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.15; letter-spacing: -0.02em; }
.df-lead { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--tinta-2); }
.df-escuro .df-lead { color: var(--claro-2); }
.df-mao { font-family: var(--mao); font-weight: 700; line-height: 1.15; }
.df-laranja { color: var(--laranja); }

/* ---------- Botão único ---------- */
.df-botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 8px 8px 8px 22px;
  border: 0; border-radius: 999px;
  background: var(--verde); color: var(--verde-tinta);
  font: 800 17px/1.2 var(--fonte);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.55);
  transition: background-color 0.2s ease, transform 0.16s var(--ease);
}
.df-botao svg { flex: none; }
.df-botao__wa { width: 22px; height: 22px; }
.df-botao span:not(.df-botao__seta) { flex: 1; text-align: left; }
.df-botao__seta {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--verde-tinta); color: var(--verde);
}
.df-botao__seta svg { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.df-botao:hover { background: var(--verde-hover); }
.df-botao:hover .df-botao__seta svg, .df-botao:focus-visible .df-botao__seta svg { transform: translateX(3px); }
.df-botao:active { transform: scale(0.97); }

/* ---------- Cabeçalho ---------- */
.df-cab { background: var(--preto); color: #fff; }
.df-cab__in { display: flex; align-items: center; min-height: 54px; }
.df-marca { font-weight: 800; font-size: 18px; letter-spacing: -0.015em; }
.df-marca span { margin-left: 10px; font-weight: 500; font-size: 15px; color: var(--claro-3); letter-spacing: 0; }

/* ---------- 1. Hero ---------- */
.df-hero { position: relative; background: var(--preto); color: #fff; overflow: hidden; }
.df-hero__foto { position: relative; height: min(118vw, 470px); overflow: hidden; background: #0c0c0c; }
.df-hero__foto img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 44% 12%;
  transform: translateY(-11vw) scale(1.32); transform-origin: 46% 8%;
}
.df-hero__foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 38%, rgba(17, 17, 17, 0.86) 50%, rgba(17, 17, 17, 0.97) 57%, var(--preto) 64%);
}
.df-hero__grade { position: relative; z-index: 1; margin-top: -228px; padding-bottom: 40px; }
.df-hero__sub { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--claro-2); max-width: 34rem; }
.df-hero__cref { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--claro-3); }
.df-hero__cref svg { width: 16px; height: 16px; color: var(--laranja-claro); flex: none; }
.df-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.df-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: 14px; font-weight: 600; line-height: 1.2; color: #f3f3f0;
}
.df-chips svg { width: 17px; height: 17px; color: var(--laranja-claro); flex: none; }
.df-hero .df-botao { margin-top: 24px; width: 100%; }
@media (max-width: 379px) {
  .df-chips { margin-top: 16px; gap: 6px; }
  .df-chips li { font-size: 13px; padding: 6px 11px 6px 9px; }
  .df-hero .df-botao { margin-top: 18px; }
}
/* entrada do hero: só com a classe do JS, com garantia */
.df-anima .df-hero__texto > * { opacity: 0; transform: translateY(14px); }
.df-anima.df-on .df-hero__texto > * { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.7s var(--ease); }
.df-anima.df-on .df-hero__texto > :nth-child(2) { transition-delay: 0.08s; }
.df-anima.df-on .df-hero__texto > :nth-child(3) { transition-delay: 0.16s; }
.df-anima.df-on .df-hero__texto > :nth-child(4) { transition-delay: 0.24s; }

/* ---------- 2. Faixas em sentidos opostos ---------- */
.df-faixas { position: relative; height: 140px; overflow: hidden; background: var(--preto); }
.df-faixa { position: absolute; left: -10%; right: -10%; overflow: hidden; }
.df-faixa__trilho {
  display: flex; align-items: center; width: max-content;
  padding: 12px 0; font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: -0.01em;
  animation: df-rola 32s linear infinite;
}
.df-faixa__trilho span { flex: none; }
.df-faixa__trilho svg { flex: none; width: 24px; height: 24px; margin: 0 18px; }
.df-faixa__trilho i { flex: none; font-style: normal; margin: 0 0.8em; color: var(--azul); }
.df-faixa--a { top: 22px; background: var(--laranja-btn); color: #fff; transform: rotate(-3deg); }
.df-faixa--b { top: 76px; background: var(--branco); color: var(--tinta); transform: rotate(2deg); }
.df-faixa--b .df-faixa__trilho { animation-direction: reverse; animation-duration: 36s; }
@keyframes df-rola { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Blocos ---------- */
.df-claro { background: var(--branco); color: var(--tinta); padding-block: var(--secao); }
.df-quadro { background: var(--quadro); color: var(--tinta); padding-block: var(--secao); }
.df-escuro { background: var(--preto); color: #fff; padding-block: var(--secao); }

/* ---------- Traços à mão (estado escondido só com a classe do JS) ---------- */
[data-traco] svg path, .df-ck path, .df-ficha del path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.df-armado [data-traco] path, [data-traco].df-armado path { stroke-dasharray: 1; stroke-dashoffset: 1; }
[data-traco].df-armado.df-on path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.8s var(--pena) 0.15s; }

.df-sublinha { position: relative; display: inline-block; }
.df-sublinha svg { position: absolute; left: -2%; bottom: -0.2em; width: 104%; height: 0.36em; overflow: visible; }
.df-sublinha path { stroke: var(--laranja); stroke-width: 4; vector-effect: non-scaling-stroke; }

/* ---------- 3. Dores riscadas ---------- */
.df-dores__grade { display: grid; gap: 32px; }
.df-dores__abre { font-size: 19px; line-height: 1.45; font-weight: 600; color: var(--tinta-2); margin-bottom: 14px; }
.df-dores__lista { display: grid; gap: 6px; padding: 10px 22px; border-radius: 16px; background: var(--quadro); }
.df-dores__lista li { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; }
.df-dores__lista p { font-size: 18px; font-weight: 600; line-height: 1.45; transition: color 0.4s ease; }
.df-dores__x { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--laranja-btn); }
.df-risca { position: relative; }
/* sem JS: risco reto do próprio texto */
.df-risca { text-decoration: line-through 2.5px var(--laranja); }
.df-dores__lista.df-armado .df-risca { text-decoration: none; }
.df-dores__lista li.df-riscado p { color: var(--mudo); }
.df-risco { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.df-risco path { fill: none; stroke: var(--laranja); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.45s var(--pena); }
.df-riscado .df-risco path { stroke-dashoffset: 0; }
.df-dores__fecho { margin-top: 26px; font-size: 19px; line-height: 1.55; color: var(--tinta-2); }
.df-dores__fecho strong { color: var(--tinta); }

/* ---------- 4. Papel rasgado ---------- */
.df-papel-sec { padding-block: 72px; }
.df-papel {
  position: relative; max-width: 860px; margin: 0 auto;
  padding: 44px 26px 50px; background: #f3f2ec; color: var(--tinta);
  transform: rotate(-1.2deg);
  clip-path: polygon(0 2.5%, 6% 0, 14% 2%, 23% 0.4%, 33% 2.2%, 44% 0, 55% 1.8%, 66% 0.2%, 77% 2.1%, 88% 0, 100% 1.6%, 99.2% 14%, 100% 28%, 99% 42%, 100% 56%, 99.3% 70%, 100% 84%, 99.1% 94%, 100% 100%, 90% 98%, 79% 100%, 67% 98.2%, 56% 100%, 45% 97.9%, 34% 99.8%, 22% 98%, 11% 100%, 0 98.4%, 0.8% 86%, 0 72%, 0.9% 58%, 0 44%, 0.7% 30%, 0 16%);
}
.df-papel__frase { font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.1rem); line-height: 1.1; letter-spacing: -0.03em; }
.df-papel__frase .df-sublinha { color: var(--laranja-txt); display: inline; }
.df-papel__frase .df-sublinha svg { display: none; }
.df-papel__depois { max-width: 860px; margin: 34px auto 0; font-size: 19px; line-height: 1.55; color: var(--claro-2); text-align: center; }

/* ---------- 5. Progressão + tabela ---------- */
.df-prog__grade { display: grid; gap: 40px; }
.df-colchete { position: relative; margin-top: 30px; padding: 6px 0 6px 36px; max-width: 30rem; }
.df-colchete__traco { position: absolute; left: 0; top: 0; width: 22px; height: 100%; overflow: visible; }
.df-colchete__traco path { stroke: var(--laranja); stroke-width: 3.2; vector-effect: non-scaling-stroke; }
.df-colchete blockquote p { font-weight: 800; font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; }
.df-tabela { padding: 22px 18px 18px; border-radius: 16px; background: var(--branco); box-shadow: inset 0 0 0 1px var(--borda); }
.df-tabela table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-family: var(--mono); font-size: 16px; }
.df-tabela caption { text-align: left; font: 800 20px/1.2 var(--fonte); letter-spacing: -0.015em; padding: 0 6px 10px; }
.df-tabela th[scope="col"] { text-align: left; font-weight: 500; font-size: 13px; color: var(--mudo); padding: 0 12px 4px; }
.df-tabela tbody th, .df-tabela td { text-align: left; padding: 8px 12px; font-weight: 500; }
.df-tabela tbody tr:nth-child(odd) th, .df-tabela tbody tr:nth-child(odd) td { background: var(--quadro); }
.df-tabela tbody th { border-radius: 10px 0 0 10px; color: var(--mudo); }
.df-tabela tbody td:last-child { border-radius: 0 10px 10px 0; }
.df-tabela tbody td:nth-of-type(1) { color: var(--azul); }
.df-tabela__fim { color: var(--laranja-txt); font-weight: 700 !important; }
.df-tabela figcaption { margin-top: 10px; padding-inline: 6px; font-size: 14px; line-height: 1.45; color: var(--mudo); }
.df-tabela.df-armado tbody td:last-child { opacity: 0; transform: translateX(-8px); }
.df-tabela.df-armado.df-on tbody td:last-child { opacity: 1; transform: none; transition: opacity 0.35s ease var(--d, 0s), transform 0.45s var(--ease) var(--d, 0s); }

/* ---------- 6. Quem vai x quem treina ---------- */
.df-tipos__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; max-width: 900px; margin: 40px auto 0; }
.df-tipos__h { font-weight: 800; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; color: var(--mudo); min-height: 44px; display: flex; align-items: center; }
.df-tipos__col--sim .df-tipos__h { color: var(--tinta); }
.df-tipos__caixa { display: inline-block; padding: 4px 8px; border: 2.5px solid var(--azul); border-radius: 4px 7px 5px 6px; transform: rotate(-1.5deg); }
.df-tipos__lista { display: grid; gap: 14px; margin-top: 16px; }
.df-tipos__lista li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 16px; line-height: 1.4; font-weight: 700; }
.df-tipos__lista--x li { font-weight: 500; color: var(--mudo); }
.df-tipos__lista--x svg { width: 20px; height: 20px; margin-top: 1px; color: var(--mudo); }
.df-tipos__col--sim { padding-left: 18px; border-left: 2px solid var(--tinta); }
.df-tipos__nota { margin: 28px auto 0; max-width: 900px; text-align: center; font-size: 24px; color: var(--azul); transform: rotate(-2deg); }
.df-tipos__pergunta { max-width: 40rem; margin: 52px auto 0; text-align: center; }
.df-tipos__p1 { font-weight: 800; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; }
.df-tipos__p2 { margin-top: 10px; font-size: 18px; color: var(--tinta-2); }

/* check azul desenhado (R47) */
.df-ck { position: relative; display: block; width: 24px; height: 24px; }
.df-ck svg { position: absolute; left: -3px; top: -6px; width: 30px; height: 30px; overflow: visible; }
.df-ck path { stroke: var(--azul); stroke-width: 4; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.df-armado .df-ck path { stroke-dashoffset: 1.02; opacity: 0; }
.df-armado .df-feito .df-ck path { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset 0.45s var(--pena), opacity 0.05s linear; }
.df-ck--caixa { width: 30px; height: 30px; margin-top: 2px; border: 2.5px solid var(--tinta); border-radius: 5px 8px 4px 7px; }
.df-ck--caixa svg { left: 1px; top: -10px; width: 36px; height: 36px; }

/* ---------- 7. Virada ---------- */
.df-virada { padding-block: calc(var(--secao) + 8px); }
.df-virada__abre { font-size: 19px; font-weight: 600; color: var(--claro-2); margin-bottom: 16px; }
.df-virada .df-h2 { max-width: 20ch; }
.df-virada__texto { margin-top: 26px; max-width: 40rem; font-size: 19px; line-height: 1.55; color: var(--claro-2); }
.df-virada__texto strong { color: #fff; }
.df-pinta { position: relative; display: inline-block; isolation: isolate; }
.df-pinta::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.1em; right: -0.1em; top: 0.18em; bottom: 0.02em;
  background: var(--laranja-btn);
  border-radius: 0.16em 0.45em 0.28em 0.4em / 0.45em 0.28em 0.45em 0.28em;
  transform: rotate(-1.2deg) scaleX(1); transform-origin: left center;
}
.df-pinta.df-armado::before { transform: rotate(-1.2deg) scaleX(0); }
.df-pinta.df-armado.df-on::before { transform: rotate(-1.2deg) scaleX(1); transition: transform 0.75s var(--ease) 0.2s; }

/* ---------- 8. Cards ---------- */
.df-cards { display: grid; gap: 14px; margin-top: 40px; }
.df-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; }
.df-card__icone { width: 38px; height: 38px; margin-bottom: 8px; box-sizing: content-box; flex: none; }
.df-card__nome { font-weight: 800; font-size: clamp(1.55rem, 1.3rem + 0.8vw, 1.9rem); line-height: 1.05; letter-spacing: -0.025em; }
.df-card p { font-size: 17px; line-height: 1.5; }
.df-card--preto { background: var(--preto); color: #fff; }
.df-card--preto .df-card__icone { color: var(--laranja); }
.df-card--preto p { color: var(--claro-2); }
.df-card--laranja { background: var(--laranja-btn); color: #fff; }
.df-card--foto { padding: 0; gap: 0; background: var(--preto); color: #fff; }
.df-card--foto img { width: 100%; height: 220px; object-fit: cover; object-position: 50% 30%; }
.df-card__miolo { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.df-card--foto p { color: var(--claro-2); }

/* ---------- 9. Como funciona ---------- */
.df-como__grade { display: grid; gap: 44px; margin-top: 40px; }
.df-linha { position: relative; display: grid; gap: 30px; }
.df-linha li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; align-content: start; }
.df-linha li:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; top: 64px; bottom: -26px;
  border-left: 2px dashed var(--laranja);
}
.df-linha__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--branco); color: var(--tinta); }
.df-linha__ic svg { width: 26px; height: 26px; }
.df-linha .df-h3 { margin-top: 4px; }
.df-linha p { margin-top: 6px; font-size: 17px; line-height: 1.5; color: var(--claro-2); }

/* ---------- 10. Ficha corrigida ---------- */
.df-ficha-sec__grade { display: grid; gap: 40px; }
.df-ficha { position: relative; padding: 24px 20px 22px; background: var(--branco); border-radius: 6px; box-shadow: 0 1px 0 var(--borda), 0 18px 34px -24px rgba(0, 0, 0, 0.45); transform: rotate(0.6deg); }
.df-ficha__cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.df-ficha__nome { font-weight: 800; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; }
.df-ficha__nome span { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--mudo); letter-spacing: 0; }
.df-ficha__tag { padding: 3px 10px; border: 2.5px solid var(--azul); border-radius: 4px 7px 4px 6px; color: var(--azul); font-weight: 800; font-size: 15px; transform: rotate(2deg); }
.df-ficha__tab { width: 100%; margin-top: 16px; border-collapse: collapse; }
.df-ficha__tab thead th { text-align: left; font-size: 14px; font-weight: 600; color: var(--mudo); padding: 0 6px 6px 0; border-bottom: 2px solid var(--tinta); }
.df-ficha__tab tbody th, .df-ficha__tab td { text-align: left; vertical-align: top; padding: 14px 6px 14px 0; border-bottom: 1px solid var(--borda); font-size: 16px; }
.df-ficha__tab tbody th { font-weight: 700; width: 38%; }
.df-ficha__tab td:nth-child(2) { width: 16%; font-weight: 600; }
.df-ficha__ok { display: block; margin-top: 4px; font: 700 17px/1.1 var(--mao); color: var(--azul); }
.df-ficha__ok::before { content: "✓ "; }
.df-ficha__carga del { position: relative; display: inline-block; text-decoration: none; font-size: 14px; color: var(--mudo); }
.df-ficha__carga del svg { position: absolute; left: -2%; top: 20%; width: 104%; height: 60%; overflow: visible; }
.df-ficha__carga del path { stroke: var(--laranja); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.df-ficha__carga ins { display: block; margin-top: 4px; text-decoration: none; font: 700 20px/1.1 var(--mao); color: var(--laranja-txt); }
.df-ficha__circ { display: inline-block !important; padding: 0 10px; border: 2.5px solid var(--laranja); border-radius: 50% 45% 50% 48% / 55% 50% 48% 52%; }
.df-ficha__rodape { margin-top: 18px; text-align: right; font: 700 21px/1.2 var(--mao); color: var(--laranja-txt); transform: rotate(-2deg); }
.df-ficha.df-armado del path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.df-ficha.df-armado .df-surge { opacity: 0; transform: translateY(4px); }
.df-ficha.df-armado.df-on del path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.4s var(--pena) var(--a, 0s); }
.df-ficha.df-armado.df-on .df-surge { opacity: 1; transform: none; transition: opacity 0.3s ease var(--a, 0s), transform 0.4s var(--ease) var(--a, 0s); }

/* ---------- 11. Resultados ---------- */
/* Resultados: uma linha só, rolando para o lado, no celular e no computador */
.df-carrossel { margin-top: 36px; }
.df-carrossel__trilho {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  --borda: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter)));
  padding: 4px var(--borda) 8px; scroll-padding-inline: var(--borda); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.df-carrossel__trilho::-webkit-scrollbar { display: none; }
.df-carrossel__trilho:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
.df-res {
  flex: 0 0 auto; height: 340px; max-width: 86vw; scroll-snap-align: start;
  overflow: hidden; border-radius: 14px; background: #1b1b1b; display: block;
}
.df-res img { display: block; width: 100%; height: 100%; object-fit: cover; }
.df-res:focus-visible { outline: 3px solid var(--laranja); outline-offset: -3px; }
.df-carrossel__pe { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.df-carrossel__fonte { color: var(--claro-3); font-size: 14px; line-height: 1.5; }
.df-carrossel__fonte a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.df-carrossel__setas { display: flex; gap: 10px; flex: 0 0 auto; }
.df-carrossel__seta {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--verde); color: var(--verde-tinta); cursor: pointer;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.df-carrossel__seta svg { width: 20px; height: 20px; fill: currentColor; }
.df-carrossel__seta:hover { transform: scale(1.06); }
.df-carrossel__seta:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
.df-carrossel__seta[disabled] { opacity: .35; cursor: default; transform: none; }
.df-result__fecho { margin-top: 44px; max-width: 36rem; font-weight: 800; font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; }

/* ---------- 12. Sobre ---------- */
.df-sobre { padding-bottom: 0; }
.df-sobre__grade { display: grid; gap: 36px; }
.df-sobre__foto { max-width: 440px; }
.df-recorte { overflow: hidden; border-radius: 18px; aspect-ratio: 864 / 1080; background: #ddd; }
.df-recorte img { width: 100%; height: 100%; object-fit: cover; }
.df-sobre__abre { font-size: 18px; font-weight: 700; color: var(--laranja-txt); margin-bottom: 10px; }
.df-sobre__texto > p:not(.df-sobre__abre) { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--tinta-2); max-width: 40rem; }
.df-sobre__frase { margin-top: 28px; padding: 22px 24px; border-radius: 16px; background: var(--preto); color: #fff; max-width: 40rem; }
.df-sobre__frase p { font-weight: 800; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.3; letter-spacing: -0.015em; }
.df-bilhetes {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 48px var(--gutter) var(--secao); scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.df-bilhetes::-webkit-scrollbar { display: none; }
.df-bilhete {
  flex: none; width: min(78vw, 320px); min-height: 170px; margin: 0;
  display: flex; align-items: center;
  padding: 24px 22px; border-radius: 6px; scroll-snap-align: start;
  background: var(--quadro); box-shadow: 0 12px 24px -18px rgba(0, 0, 0, 0.5);
}
.df-bilhete:nth-child(odd) { transform: rotate(-1.5deg); }
.df-bilhete:nth-child(even) { transform: rotate(1.2deg); }
.df-bilhete p { font-weight: 800; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.df-bilhete--laranja { background: var(--laranja-btn); color: #fff; }
.df-bilhete--azul { background: var(--azul); color: #fff; }

/* ---------- 13. CTA do meio ---------- */
.df-azul-sec { background: var(--preto); color: #fff; padding-block: 64px; }
.df-meio .df-h2 { max-width: 30ch; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem); }
.df-meio .df-botao { margin-top: 28px; width: 100%; }

/* ---------- 14. Para quem é + objeções ---------- */
.df-pq { display: grid; gap: 16px; }
.df-pq > div { padding: 26px 22px; border-radius: 18px; }
.df-pq__sim { background: var(--branco); box-shadow: inset 0 0 0 2px var(--tinta); }
.df-pq__nao { background: #ebebe6; }
.df-pq ul { display: grid; gap: 14px; margin-top: 18px; }
.df-pq li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: 17px; line-height: 1.4; }
.df-pq__sim strong { font-weight: 800; }
.df-pq__nao li { color: var(--tinta-2); }
.df-pq__nao svg { width: 20px; height: 20px; margin-top: 2px; color: var(--mudo); }

/* ---------- 15. FAQ ---------- */
.df-faq__grade { display: grid; gap: 36px; }
.df-acc { display: grid; gap: 10px; }
.df-acc__item { border-radius: 12px; background: var(--quadro); }
.df-acc__h { margin: 0; font-size: inherit; }
.df-acc__btn {
  appearance: none; border: 0; background: none; cursor: pointer;
  width: 100%; min-height: 62px; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 700 17px/1.3 var(--fonte); color: var(--tinta); text-align: left; border-radius: 12px;
}
.df-acc__btn svg { flex: none; width: 22px; height: 22px; color: var(--laranja-btn); transition: transform 0.26s var(--ease); }
.df-acc__btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.df-acc__painel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.32s var(--ease); }
.df-acc__miolo { overflow: hidden; min-height: 0; }
.df-acc__miolo p { padding: 0 20px 20px; font-size: 17px; line-height: 1.55; color: var(--tinta-2); transition: opacity 0.26s ease; }
.df-acc--sem .df-acc__painel, .df-acc--sem .df-acc__miolo p, .df-acc--sem .df-acc__btn svg { transition: none; }
.df-acc__item.is-fechado .df-acc__painel { grid-template-rows: 0fr; }
.df-acc__item.is-fechado .df-acc__miolo p { opacity: 0; }

/* ---------- 16. CTA final ---------- */
.df-final { background: var(--preto); color: #fff; padding-block: calc(var(--secao) + 16px); }
.df-final__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.df-h2--final { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.25rem); line-height: 1.04; max-width: 17ch; }
.df-final .df-sublinha { color: var(--laranja); }
.df-final__sub { margin-top: 22px; max-width: 34rem; font-size: 18px; line-height: 1.55; color: var(--claro-2); }
.df-final .df-botao { margin-top: 32px; width: 100%; max-width: 420px; }
.df-final__frase { margin-top: 40px; max-width: 30rem; font-size: 16px; line-height: 1.5; color: var(--claro-3); }

/* ---------- Rodapé ---------- */
.df-rodape { background: #0a0a0a; color: var(--claro-3); font-size: 14px; padding-block: 20px 24px; }
.df-rodape__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.df-rodape strong { color: #fff; font-size: 16px; }
.df-rodape a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; text-decoration: none; }
.df-rodape a svg { width: 18px; height: 18px; }

/* ---------- Formulário (popup) ---------- */
.df-modal {
  width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--tinta); overflow: visible;
}
.df-modal::backdrop { background: rgba(10, 10, 10, 0.62); }
.df-modal[open] { display: flex; align-items: flex-end; justify-content: center; }
.df-form {
  display: flex; flex-direction: column;
  width: 100%; max-height: calc(100% - 24px); max-height: calc(100dvh - 24px);
  background: var(--branco); border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
}
.df-modal.df-abrindo .df-form { animation: df-sobe 0.38s var(--ease); }
@keyframes df-sobe { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.df-form__topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 20px 14px; border-bottom: 1px solid var(--borda); }
.df-form__t { font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; }
.df-form__sub { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--mudo); }
.df-form__fechar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--quadro); color: var(--tinta); cursor: pointer; }
.df-form__fechar svg { width: 20px; height: 20px; }
.df-form__corpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 8px; display: grid; gap: 20px; align-content: start; }
.df-campo { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.df-campo__rot { padding: 0; font-weight: 700; font-size: 16px; line-height: 1.3; }
.df-campo__rot small { font-weight: 500; color: var(--mudo); font-size: 14px; }
.df-campo input[type="text"] {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 2px solid var(--borda); border-radius: 12px; background: var(--branco);
  font: 500 17px/1.3 var(--fonte); color: var(--tinta);
}
.df-campo input[type="text"]:focus { outline: none; border-color: var(--azul); }
.df-campo__erro { font-size: 14px; font-weight: 600; color: #b3261e; }
.df-campo.is-erro input[type="text"] { border-color: #b3261e; }
.df-opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.df-opcoes label { position: relative; }
.df-opcoes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.df-opcoes span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border-radius: 999px; background: var(--quadro); box-shadow: inset 0 0 0 1.5px var(--borda);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s var(--ease);
}
.df-opcoes label:active span { transform: scale(0.96); }
.df-opcoes input:checked + span { background: var(--tinta); color: #fff; box-shadow: none; }
.df-opcoes input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }
.df-opcoes--num span { min-width: 56px; justify-content: center; }
.df-previa { padding: 16px; border-radius: 14px; background: #efeae2; }
.df-previa__rot { font-size: 13px; font-weight: 700; color: var(--mudo); }
.df-previa__balao {
  margin-top: 8px; margin-left: auto; max-width: 92%; width: fit-content;
  padding: 10px 14px; border-radius: 12px 12px 4px 12px;
  background: #d9fdd3; font-size: 15px; line-height: 1.45; white-space: pre-line;
}
.df-form__pe { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--borda); }
.df-botao--largo { width: 100%; box-shadow: none; }

/* ================= Tablet ================= */
@media (min-width: 768px) {
  :root { --gutter: 40px; --secao: 104px; }
  .df-hero__foto { height: 620px; }
  .df-hero__foto img { transform: none; object-position: 44% 20%; }
  .df-hero__grade { margin-top: -230px; padding-bottom: 64px; }
  .df-hero .df-botao, .df-meio .df-botao { width: auto; }
  .df-faixas { height: 186px; }
  .df-faixa__trilho { font-size: 28px; padding: 14px 0; }
  .df-faixa__trilho svg { width: 30px; height: 30px; }
  .df-faixa--a { top: 30px; }
  .df-faixa--b { top: 100px; }
  .df-papel { padding: 64px 56px 70px; }
  .df-papel-sec { padding-block: 84px; }
  .df-tipos__grade { gap: 0 40px; }
  .df-tipos__col--sim { padding-left: 40px; }
  .df-tipos__lista li { font-size: 18px; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
  .df-cards { grid-template-columns: 1fr 1fr; }
  .df-card--foto { grid-column: 1 / -1; }
  .df-card--foto img { height: 300px; }
  .df-linha { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .df-linha li::after { display: none; }
  .df-res { height: 440px; }
  .df-carrossel__trilho { gap: 16px; }
  .df-pq { grid-template-columns: 1fr 1fr; }
  .df-pq > div { padding: 32px 30px; }
  .df-bilhetes { padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); }
  .df-ficha { padding: 30px 30px 26px; }
  .df-modal[open] { align-items: center; }
  .df-form { max-width: 560px; max-height: min(860px, calc(100dvh - 48px)); border-radius: 22px; }
  .df-form__topo { padding: 26px 28px 16px; }
  .df-form__corpo { padding: 20px 28px 10px; }
  .df-form__pe { padding: 16px 28px 22px; }
}

/* ================= Computador ================= */
@media (min-width: 960px) {
  .df-cab__in { min-height: 64px; }
  .df-hero { min-height: min(calc(100svh - 64px), 820px); display: flex; }
  .df-hero__foto { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; height: auto; }
  .df-hero__foto img { object-position: 40% 22%; }
  .df-hero__foto::after {
    background:
      linear-gradient(90deg, var(--preto) 0%, var(--preto) 10%, rgba(17, 17, 17, 0.7) 22%, rgba(17, 17, 17, 0) 42%),
      linear-gradient(0deg, rgba(17, 17, 17, 0.75) 0%, rgba(17, 17, 17, 0) 22%);
  }
  .df-hero__grade { margin-top: 0; padding-block: 64px 80px; display: flex; align-items: center; }
  .df-hero__texto { max-width: 40rem; }
  .df-hero__sub { font-size: 20px; margin-top: 22px; max-width: 32rem; }
  .df-chips { margin-top: 26px; max-width: 34rem; }
  .df-hero .df-botao { margin-top: 30px; }

  .df-dores__grade { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
  .df-dores__lista { padding: 14px 30px; }
  .df-prog__grade { grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
  .df-tabela { padding: 28px 24px 22px; }
  .df-cards { grid-template-columns: 1fr 1fr 1.15fr; }
  .df-card { padding: 30px 28px; }
  .df-card--foto { grid-column: auto; padding: 0; }
  .df-card--foto img { height: 240px; }
  .df-card--foto { grid-column: auto; padding: 0; }
  .df-card__miolo { padding: 30px 28px; }
  .df-linha { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .df-linha li { grid-template-columns: 1fr; }
    .df-ficha-sec__grade { grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
  .df-sobre__grade { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
  .df-sobre__foto { max-width: none; }
  .df-faq__grade { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .df-meio { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
  .df-meio .df-botao { margin-top: 0; flex: none; }
}

/* Títulos de seção sobem de leve ao entrar na tela (só com JS) */
[data-revela].df-armado { opacity: 0; transform: translateY(18px); }
[data-revela].df-armado.df-on { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.8s var(--ease); }
/* Resultados: as fotos entram em sequência */
.df-carrossel.df-armado .df-res { opacity: 0; transform: translateX(28px); }
.df-carrossel.df-armado.df-on .df-res { opacity: 1; transform: none; transition: opacity 0.5s ease var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s); }
@media (max-width: 767px) {
  .df-faixas { height: 84px; }
  .df-faixa--a { top: 18px; }
  .df-faixa--b { display: none; }
}
@media (max-width: 559px) {
  .df-tipos__grade { grid-template-columns: 1fr; gap: 32px; }
  .df-tipos__col--sim { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .df-faixa__trilho { animation: none; }
}

/* foto do Sobre abre com recorte (só com a classe do JS) */
.df-recorte.df-armado { clip-path: inset(16% 14% 16% 14% round 28px); }
.df-recorte.df-armado img { transform: scale(1.18); }
.df-recorte.df-armado.df-on { clip-path: inset(0 0 0 0 round 18px); transition: clip-path 1.1s var(--ease); }
.df-recorte.df-armado.df-on img { transform: none; transition: transform 1.3s var(--ease); }
@media (max-width: 767px) {
  .df-tipos__lista li { font-size: 15px; gap: 8px; grid-template-columns: 22px minmax(0, 1fr); }
  .df-tipos__h { font-size: 16px; }
}
