/*
  style.css
  Estilos do site Samuel Santos | GreenVest.
  Mobile first: as regras base valem para celular, e as media queries no fim
  adaptam para tablet (768px) e desktop (1100px).
  Tema escuro em toda a página. O verde é cor de destaque, nunca fundo de área grande.
*/

/* ---------- Tokens ---------- */
:root {
  --preto: #0B0D0B;
  --carvao: #121512;
  --borda: rgba(255, 255, 255, 0.08);
  --verde-500: #38D430;
  --verde-700: #1E7A1A;
  --verde-900: #0F4D0C;
  --branco: #FFFFFF;
  --cinza-txt: #A8AFAA;

  --max: 1140px;
  --gutter: 24px;
  --raio: 12px;
  --sec-y: 88px;
  --nav-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  background: var(--preto);
  color: var(--branco);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }

/* Grão sutil sobre o fundo escuro (SVG de ruído inline) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

:focus-visible { outline: 2px solid var(--verde-500); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--verde-500); color: var(--preto); font-weight: 600;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hl { color: var(--verde-500); }

/* ---------- Padrões de seção ---------- */
.sec { padding: var(--sec-y) 0; position: relative; }
.sec--alt { background: var(--carvao); border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde-500);
  margin-bottom: 14px;
}
.title {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.title--xl { font-size: clamp(32px, 8.4vw, 56px); }
.lead { color: var(--cinza-txt); font-size: 17px; max-width: 640px; }
.note { color: var(--cinza-txt); font-size: 13px; margin-top: 28px; }

/* ---------- Botões ---------- */
.btns { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 24px;
  border-radius: var(--raio);
  background: var(--verde-500); color: var(--preto);
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.3;
  text-decoration: none; text-align: center;
  border: 1px solid var(--verde-500);
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--verde-700); border-color: var(--verde-700); color: var(--branco); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(56, 212, 48, 0.18); }
.btn--ghost { background: transparent; color: var(--branco); border-color: rgba(255, 255, 255, 0.22); }
.btn--ghost:hover { background: transparent; border-color: var(--verde-500); color: var(--verde-500); }

/* ---------- Cards (padrão) ---------- */
.card, .book, .contact, .module, .stat {
  background: var(--preto);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover, .book:hover, .contact:hover, .module:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 212, 48, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(56, 212, 48, 0.12), 0 0 32px rgba(56, 212, 48, 0.08);
}

/* ---------- Navegação ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid, .nav.is-open {
  background: rgba(11, 13, 11, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--borda);
}
.nav__in { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { width: 130px; height: auto; }
.nav__toggle {
  width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid var(--borda); border-radius: 10px; cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--branco); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 24px;
  background: rgba(11, 13, 11, 0.97);
  border-bottom: 1px solid var(--borda);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav.is-open .nav__menu { transform: none; opacity: 1; visibility: visible; }
.nav__menu a { padding: 14px 0; font-weight: 600; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--borda); }
.nav__menu a:hover { color: var(--verde-500); }
.nav__menu .nav__cta { border-bottom: 0; color: var(--verde-500); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo { z-index: -3; }
.hero__photo img { object-fit: cover; object-position: 50% 12%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 13, 11, 0.55) 0%, rgba(11, 13, 11, 0) 22%),
    linear-gradient(0deg, var(--preto) 6%, rgba(11, 13, 11, 0.88) 34%, rgba(11, 13, 11, 0) 66%);
}
.hero__glow {
  position: absolute; z-index: -1;
  left: -20%; bottom: 4%; width: 140%; height: 46%;
  background:
    radial-gradient(40% 50% at 30% 50%, rgba(56, 212, 48, 0.22), transparent 70%),
    radial-gradient(35% 45% at 70% 60%, rgba(15, 77, 12, 0.55), transparent 70%);
  filter: blur(30px);
  animation: glow 18s ease-in-out infinite alternate;
}
@keyframes glow {
  0% { transform: translate3d(-6%, 0, 0) scale(1); }
  100% { transform: translate3d(6%, -4%, 0) scale(1.08); }
}
.hero__content { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 110px; }
.hero__name {
  font-size: clamp(52px, 15.5vw, 132px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero__brand {
  margin-top: 14px;
  font-size: clamp(18px, 4.6vw, 26px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--verde-500);
}
.hero__line { margin-top: 14px; max-width: 460px; color: #D6DBD7; font-size: 16px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 16px;
  display: flex; justify-content: center;
}
.hero__scroll span { width: 4px; height: 8px; margin-top: 8px; border-radius: 4px; background: var(--verde-500); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Quem é ---------- */
.about { display: grid; gap: 36px; align-items: center; }
.about__text p:not(.label) { color: var(--cinza-txt); font-size: 17px; margin-bottom: 14px; max-width: 560px; }
.about__photo { border-radius: var(--raio); overflow: hidden; border: 1px solid var(--borda); max-width: 440px; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }

/* ---------- Números ---------- */
.stats { display: grid; gap: 14px; margin-top: 12px; }
.stat { padding: 26px 22px; }
.stat__num { display: block; font-size: clamp(44px, 12vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--verde-500); font-variant-numeric: tabular-nums; }
.stat__lbl { display: block; margin-top: 10px; color: var(--cinza-txt); font-size: 15px; }

/* ---------- Consórcio (peso visual maior) ---------- */
.sec--feature { padding: calc(var(--sec-y) + 16px) 0; }
.sec--feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 45% at 50% 0%, rgba(15, 77, 12, 0.45), transparent 70%);
}
.sec--feature .lead { margin-bottom: 8px; }
.services { display: grid; gap: 14px; margin-top: 32px; }
.card { padding: 24px 22px; }
.card__ico { width: 30px; height: 30px; margin-bottom: 14px; fill: none; stroke: var(--verde-500); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.card p { color: var(--cinza-txt); font-size: 15px; }

.partner {
  margin-top: 28px;
  display: grid; gap: 0;
  border-radius: var(--raio); overflow: hidden;
  border: 1px solid rgba(56, 212, 48, 0.3);
  background: linear-gradient(160deg, var(--verde-900) 0%, var(--carvao) 55%);
}
.partner__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; }
.partner__body { padding: 26px 22px 28px; }
.partner__kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--verde-500); font-weight: 600; }
.partner__name { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 6px 0 10px; }
.partner__body > p:not(.partner__kicker) { color: #C9CFCB; }

/* ---------- Materiais ---------- */
.books { display: grid; gap: 16px; margin-top: 12px; }
.book { display: flex; flex-direction: column; overflow: hidden; }
.book__cover { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-bottom: 1px solid var(--borda); }
.book__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.book__body h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.book__body p { color: var(--cinza-txt); font-size: 14px; margin-top: 6px; line-height: 1.6; }
.book__body .book__price { color: var(--verde-500); font-size: 20px; font-weight: 800; margin-top: 10px; }
.book__body .btn { margin-top: auto; width: 100%; min-height: 46px; padding: 12px 16px; font-size: 14px; }
.book__body .book__price { margin-bottom: 14px; }

/* ---------- Hero: temas ---------- */
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero__tags span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(11, 13, 11, 0.5); color: #D6DBD7; }

/* ---------- Por onde começar ---------- */
.paths { display: grid; gap: 10px; margin-top: 28px; }
.path {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; text-align: left; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--branco);
  background: var(--carvao); border: 1px solid var(--borda); border-radius: var(--raio);
  transition: border-color .2s, background .2s, transform .2s;
}
.path svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--cinza-txt); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.path:hover { border-color: rgba(56, 212, 48, 0.4); }
.path.is-active { border-color: var(--verde-500); background: rgba(15, 77, 12, 0.35); }
.path.is-active svg { stroke: var(--verde-500); }
.path-panels { margin-top: 16px; }
.path-panel { display: none; padding: 26px 22px; border-radius: var(--raio); border: 1px solid var(--borda); background: linear-gradient(160deg, rgba(15, 77, 12, 0.35), var(--carvao) 60%); }
.path-panel.is-active { display: block; animation: panelIn .45s ease both; }
.path-panel__kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--verde-500); font-weight: 600; }
.path-panel h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 6px 0 10px; }
.path-panel > p:not(.path-panel__kicker) { color: var(--cinza-txt); max-width: 640px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Consórcio: linha do tempo ---------- */
.timeline { margin-top: 28px; padding: 26px 22px; border-radius: var(--raio); border: 1px solid var(--borda); background: rgba(18, 21, 18, 0.7); }
.timeline__title { font-weight: 600; margin-bottom: 18px; }
.timeline ol { display: grid; gap: 18px; position: relative; }
.timeline li { position: relative; padding-left: 52px; }
.timeline li::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: -18px; width: 2px; background: linear-gradient(var(--verde-700), transparent); }
.timeline li:last-child::before { display: none; }
.timeline__n { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--verde-500); border: 1px solid var(--verde-700); background: var(--preto); }
.timeline h3 { font-size: 16px; font-weight: 600; line-height: 1.3; padding-top: 6px; }
.timeline p { color: var(--cinza-txt); font-size: 14px; line-height: 1.6; margin-top: 2px; }

/* ---------- Cultura financeira: abas ---------- */
.tabs { display: flex; gap: 6px; margin-top: 28px; padding: 5px; border-radius: 14px; border: 1px solid var(--borda); background: var(--preto); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; padding: 11px 16px; border-radius: 10px; border: 0; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--cinza-txt); background: transparent; white-space: nowrap; transition: background .2s, color .2s; }
.tab:hover { color: var(--branco); }
.tab.is-active { background: var(--verde-500); color: var(--preto); }
.tab-panel { display: none; margin-top: 18px; }
.tab-panel.is-active { display: block; animation: panelIn .45s ease both; }
.learn { display: grid; gap: 16px; }
.learn__main, .learn__side { padding: 26px 22px; border-radius: var(--raio); border: 1px solid var(--borda); background: var(--preto); }
.learn h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.learn__main p { color: var(--cinza-txt); margin-bottom: 22px; }
.steps { counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: flex; gap: 14px; color: var(--cinza-txt); font-size: 15px; line-height: 1.6; }
.steps li::before { content: counter(s); flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: var(--verde-500); background: rgba(56, 212, 48, 0.1); }
.checks { display: grid; gap: 10px; margin-bottom: 20px; }
.checks li { position: relative; padding-left: 22px; color: var(--cinza-txt); font-size: 15px; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--verde-500); }
.ask { padding: 16px 18px; border-left: 3px solid var(--verde-500); border-radius: 0 10px 10px 0; background: rgba(15, 77, 12, 0.3); font-weight: 600; line-height: 1.5; }
.ask span { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--verde-500); margin-bottom: 4px; }

/* ---------- Mito ou verdade ---------- */
.myths { display: grid; gap: 14px; margin-top: 28px; }
.myth { display: block; width: 100%; height: 190px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1000px; font-family: inherit; color: inherit; text-align: left; }
.myth__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.myth[aria-pressed="true"] .myth__inner { transform: rotateY(180deg); }
.myth__front, .myth__back { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-radius: var(--raio); border: 1px solid var(--borda); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.myth__front { background: var(--carvao); }
.myth:hover .myth__front { border-color: rgba(56, 212, 48, 0.45); }
.myth__back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--verde-900), var(--carvao) 70%); justify-content: flex-start; gap: 10px; color: #D6DBD7; font-size: 15px; line-height: 1.6; }
.myth__q { font-size: 18px; font-weight: 600; line-height: 1.4; }
.myth__hint { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--verde-500); font-weight: 600; }
.myth__tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.myth__tag--mito { background: rgba(255, 255, 255, 0.92); color: var(--preto); }
.myth__tag--verdade { background: var(--verde-500); color: var(--preto); }
.myth__tag--depende { border: 1px solid var(--verde-500); color: var(--verde-500); }

/* ---------- Simulador ---------- */
.sim { display: grid; gap: 16px; margin-top: 28px; }
.sim__controls, .sim__result { padding: 24px 22px; border-radius: var(--raio); border: 1px solid var(--borda); background: var(--preto); }
.sim__controls { display: grid; gap: 22px; align-content: start; }
.range { display: block; }
.range__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--cinza-txt); margin-bottom: 10px; }
.range output { color: var(--branco); font-weight: 600; font-variant-numeric: tabular-nums; }
.range input { width: 100%; height: 28px; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--verde-500) var(--fill, 50%), rgba(255, 255, 255, 0.12) var(--fill, 50%)); }
.range input::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); }
.range input::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--verde-500); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--branco); border: 4px solid var(--verde-500); }
.range input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--branco); border: 4px solid var(--verde-500); }
.sim__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sim__nums strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sim__lbl { display: block; font-size: 13px; color: var(--cinza-txt); }
.sim__total { grid-column: span 2; padding-top: 14px; border-top: 1px solid var(--borda); }
.sim__total strong { font-size: clamp(28px, 8vw, 40px); color: var(--verde-500); }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 150px; margin-top: 22px; }
.chart__bar { flex: 1; display: flex; flex-direction: column-reverse; min-width: 2px; height: 100%; }
.chart__a { background: rgba(255, 255, 255, 0.22); border-radius: 0 0 2px 2px; transition: height .4s ease; }
.chart__b { background: var(--verde-500); border-radius: 2px 2px 0 0; transition: height .4s ease; }
.chart__legend { display: flex; gap: 18px; margin-top: 12px; font-size: 12px; color: var(--cinza-txt); }
.lg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.lg--a::before { background: rgba(255, 255, 255, 0.22); }
.lg--b::before { background: var(--verde-500); }

/* ---------- Glossário ---------- */
.gloss { display: grid; gap: 16px; margin-top: 28px; }
.gloss__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; border-radius: 99px; border: 1px solid var(--borda); background: var(--carvao); color: var(--branco); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: rgba(56, 212, 48, 0.45); }
.chip.is-active { background: var(--verde-500); border-color: var(--verde-500); color: var(--preto); }
.gloss__box { padding: 24px 22px; border-radius: var(--raio); border: 1px solid rgba(56, 212, 48, 0.3); background: linear-gradient(160deg, rgba(15, 77, 12, 0.4), var(--carvao) 65%); min-height: 140px; }
.gloss__term { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.gloss__def { color: #C9CFCB; margin-top: 6px; }
.gloss__box.is-swap { animation: panelIn .35s ease both; }

/* ---------- ProsFy (tratamento visual distinto) ---------- */
.profy__box {
  position: relative;
  border-radius: 18px;
  padding: 32px 22px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 32px),
    var(--carvao);
  border: 1px dashed rgba(255, 255, 255, 0.16);
}
.profy__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.profy__head .label { margin-bottom: 0; }
.profy__badge { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--borda); color: var(--cinza-txt); }
.modules { display: grid; gap: 10px; margin: 28px 0; }
.module { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; }
.module__n { font-size: 14px; font-weight: 800; color: var(--verde-500); min-width: 26px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.module h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.module p { color: var(--cinza-txt); font-size: 14px; line-height: 1.55; }
.profy .btn { width: 100%; }

/* ---------- Contato ---------- */
.contacts { display: grid; gap: 16px; margin-top: 12px; }
.contact { padding: 26px 22px; border-top: 3px solid var(--verde-500); }
.contact--alt { border-top-color: rgba(255, 255, 255, 0.5); }
.contact__tag { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--verde-500); font-weight: 600; }
.contact--alt .contact__tag { color: var(--branco); }
.contact h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 4px; }
.contact > p:not(.contact__tag) { color: var(--cinza-txt); }

/* ---------- Rodapé ---------- */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--borda); }
.foot__top { display: flex; align-items: center; gap: 12px; }
.foot__top img { width: 40px; height: 40px; border-radius: 10px; }
.foot__name { font-weight: 600; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0; }
.foot__links a { color: var(--cinza-txt); font-size: 14px; text-decoration: none; }
.foot__links a:hover { color: var(--verde-500); }
.foot__legal { font-size: 12px; color: var(--cinza-txt); line-height: 1.7; max-width: 820px; }
.foot__copy { font-size: 12px; color: var(--cinza-txt); margin-top: 14px; }

/* ---------- Revelação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet (768px+) ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; --sec-y: 104px; }
  .btns { flex-direction: row; flex-wrap: wrap; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .partner { grid-template-columns: 0.8fr 1.2fr; align-items: stretch; }
  .partner__photo { height: 100%; aspect-ratio: auto; }
  .partner__body { padding: 36px 32px; align-self: center; }
  .books { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .path-panel { padding: 34px 32px; }
  .timeline { padding: 32px 30px; }
  .timeline ol { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .timeline li { padding-left: 0; padding-top: 52px; }
  .timeline li::before { left: 44px; right: -20px; top: 17px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--verde-700), transparent); }
  .learn { grid-template-columns: 1.1fr 0.9fr; }
  .learn__main, .learn__side { padding: 30px 28px; }
  .myths { grid-template-columns: repeat(2, 1fr); }
  .sim { grid-template-columns: 0.9fr 1.1fr; }
  .sim__controls, .sim__result { padding: 30px 28px; }
  .sim__nums { grid-template-columns: 1fr 1fr 1.2fr; }
  .sim__total { grid-column: auto; padding-top: 0; border-top: 0; }
  .chart { height: 180px; }
  .profy__box { padding: 48px 40px; }
  .profy .btn { width: auto; }
  .contacts { grid-template-columns: repeat(2, 1fr); }
  .hero__line { font-size: 17px; }
}

/* ---------- Desktop (1100px+) ---------- */
@media (min-width: 1100px) {
  :root { --nav-h: 76px; --sec-y: 128px; }
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; flex-direction: row; align-items: center; gap: 30px;
    padding: 0; background: none; border: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav__menu a { padding: 6px 0; font-size: 15px; border: 0; }
  .nav__menu .nav__cta { padding: 9px 18px; border: 1px solid var(--verde-500); border-radius: 10px; }
  .nav__menu .nav__cta:hover { background: var(--verde-500); color: var(--preto); }
  .nav__logo img { width: 150px; }

  .hero { align-items: center; }
  .hero__photo { left: auto; right: 0; width: 56%; }
  .hero__photo img { object-position: 50% 18%; }
  .hero__shade {
    background:
      linear-gradient(90deg, var(--preto) 18%, rgba(11, 13, 11, 0.85) 42%, rgba(11, 13, 11, 0) 70%),
      linear-gradient(0deg, var(--preto) 0%, rgba(11, 13, 11, 0) 30%);
  }
  .hero__glow { left: -10%; top: 25%; bottom: auto; width: 70%; height: 55%; }
  .hero__content { padding-bottom: 60px; }
  .hero__line { font-size: 18px; }

  .about { grid-template-columns: 1.15fr 0.85fr; gap: 72px; }
  .about__photo { justify-self: end; }
  .services { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 28px 24px; }
  .book { display: grid; grid-template-columns: 240px 1fr; align-items: start; gap: 0; padding: 18px; }
  .book__cover { border: 1px solid var(--borda); border-radius: 8px; }
  .book__body { padding: 4px 4px 4px 22px; height: 100%; }
  .modules { grid-template-columns: repeat(4, 1fr); }
  .paths { grid-template-columns: repeat(4, 1fr); }
  .path { flex-direction: column; align-items: flex-start; min-height: 120px; }
  .myths { grid-template-columns: repeat(3, 1fr); }
  .gloss { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .gloss__box { position: sticky; top: calc(var(--nav-h) + 20px); }
  .module:last-child { grid-column: span 1; }
  .profy__box { padding: 64px 56px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero: nome em duas linhas e foto fundida ao fundo ---------- */
.hero__name span { display: block; }
@media (min-width: 1100px) {
  .hero__photo img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 45%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 45%);
  }
}
