/* ---------- Tokens ---------- */
:root{
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --surface: #ffffff;
  --text: #15191e;
  --text-muted: #4f5761;
  --text-faint: #646c77;
  --border: #e1e5ea;
  --tech: #2f5fd6;
  --tech-bg: #eaf0fd;
  --gestao: #8d5816;
  --gestao-bg: #fbf0df;
  --educ: #1a7551;
  --educ-bg: #e7f5ee;
  --accent: #1d6b3c;
  --shadow-float: 0 2px 4px rgba(16,24,40,.06), 0 10px 24px rgba(16,24,40,.08);
  --radius: 6px;
  --radius-sm: 4px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg: #0f1216;
    --bg-alt: #151a20;
    --surface: #1c222a;
    --text: #eef1f4;
    --text-muted: #aab2bc;
    --text-faint: #8a939e;
    --border: #2a313a;
    --tech: #7ea2ff;
    --tech-bg: #1c2740;
    --gestao: #e2a94f;
    --gestao-bg: #3a2c14;
    --educ: #6fcf9e;
    --educ-bg: #16342a;
    --accent: #6fd39a;
    --shadow-float: 0 2px 4px rgba(0,0,0,.32), 0 14px 30px rgba(0,0,0,.36);
  }
}
:root[data-theme="dark"]{
  --bg: #0f1216; --bg-alt:#151a20; --surface:#1c222a; --text:#eef1f4; --text-muted:#aab2bc;
  --text-faint:#8a939e; --border:#2a313a; --tech:#7ea2ff; --tech-bg:#1c2740; --gestao:#e2a94f;
  --gestao-bg:#3a2c14; --educ:#6fcf9e; --educ-bg:#16342a; --accent:#6fd39a;
  --shadow-float: 0 2px 4px rgba(0,0,0,.32), 0 14px 30px rgba(0,0,0,.36);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; background: var(--bg); }
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family: var(--sans); line-height:1.6; font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; }
a{ color:inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible{
  outline: 2px solid var(--tech); outline-offset: 3px; border-radius: 2px;
}
.link-accent{
  font-weight:600; text-decoration:underline; text-decoration-color:transparent;
  text-underline-offset:3px; transition: text-decoration-color .2s ease;
}
.link-accent:hover, .link-accent:focus-visible{ text-decoration-color: currentColor; }
.link-accent.tech{ color: var(--tech); }
.link-accent.educ{ color: var(--educ); }
.container{ max-width: 880px; margin:0 auto; padding: 0 24px; }
section{ padding: 88px 0; }
.section-alt{ background:var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
#bastidores{ border-bottom:none; }
@media (max-width: 640px){ section{ padding: 56px 0; } }

h1,h2,h3{ font-family: var(--serif); font-weight:600; margin:0; letter-spacing:-0.01em; }
.eyebrow{
  font-family: var(--sans); font-weight:700; font-size:13px; letter-spacing:.08em;
  text-transform: uppercase; color: var(--text-faint); margin: 0 0 14px;
}
.section-head{ margin-bottom: 48px; max-width: 620px; }
.section-head h2{ font-size: 26px; margin-bottom: 14px; }
.section-head p{ color: var(--text-muted); font-size: 17px; margin:0; }

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute; left:12px; top:-48px; z-index:100;
  background: var(--text); color: var(--bg); padding:10px 18px; border-radius:8px;
  text-decoration:none; font-size:14px; font-weight:600; transition: top .15s ease;
}
.skip-link:focus{ top:12px; }

/* ---------- Nav ---------- */
header.site{
  position: sticky; top:0; z-index:50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  max-width: 1100px; margin:0 auto; padding: 16px 24px;
  display:flex; align-items:center; justify-content: space-between; gap: 24px;
}
.brand{ font-family: var(--serif); font-weight:600; font-size:15px; text-decoration:none; white-space:nowrap; }
nav.links{ display:flex; align-items:center; gap: 20px; }
nav.links a{
  text-decoration:none; font-size:14px; color: var(--text-muted); font-weight:500;
  transition: color .15s ease; white-space:nowrap; position:relative;
}
nav.links a:hover{ color: var(--text); }
nav.links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-4px; height:1px;
  background: currentColor; transition: right .2s ease;
}
nav.links a:hover::after{ right:0; }
nav.links a.nav-social{ display:none; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:20px; height:2px; background:var(--text); position:relative; transition:.2s;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
@media (max-width: 1099px){
  .nav-inner{ justify-content:flex-end; gap:16px; }
  .brand{ margin-right:auto; }
  nav.links{
    position:absolute; top:100%; left:0; right:0; background:var(--bg);
    flex-direction:column; padding: 8px 24px 20px; gap:4px;
    border-bottom:1px solid var(--border);
    display:none;
  }
  nav.links.open{ display:flex; }
  nav.links a{ padding:10px 0; border-bottom:1px solid var(--border); }
  nav.links a:last-child{ border-bottom:none; }
  nav.links a.nav-social{ display:flex; padding:10px 0 0; }
  a.nav-social-top{ display:none; }
  .nav-toggle{ display:block; }
}
@media (max-width: 380px){
  .brand{ font-size:13px; }
}
nav.links a.active{ color: var(--text); }
nav.links a.active::after{ right:0; }

/* ---------- Theme toggle ---------- */
.theme-toggle{
  display:flex; align-items:center; justify-content:center; background:none; border:none;
  cursor:pointer; padding:4px; color: var(--text-muted); transition: color .15s ease;
}
.theme-toggle:hover{ color: var(--text); }
.theme-toggle svg{ display:block; }
.theme-toggle .icon-moon{ display:none; }
:root[data-theme="dark"] .theme-toggle .icon-sun{ display:none; }
:root[data-theme="dark"] .theme-toggle .icon-moon{ display:block; }

/* ---------- Aumentar texto ---------- */
.text-size-toggle{
  background:none; border:1px solid var(--border); border-radius:6px; cursor:pointer;
  font-family:var(--sans); font-weight:700; font-size:12px; color:var(--text-muted);
  padding:4px 7px; line-height:1; transition:color .15s ease, border-color .15s ease;
}
.text-size-toggle:hover{ color:var(--text); border-color:var(--text-muted); }
.text-size-toggle[aria-pressed="true"]{ color: var(--tech); border-color: var(--tech); }
body.text-size-1{ zoom:1.15; }
body.text-size-2{ zoom:1.3; }

/* ---------- Botão flutuante (voltar ao topo) ---------- */
.fab-group{
  position:fixed; right:20px; bottom:20px; z-index:60;
  display:flex; flex-direction:column; gap:10px;
  opacity:0; visibility:hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.fab-group.show{ opacity:1; visibility:visible; transform:none; }
.fab-btn{
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border:1px solid var(--border); box-shadow: var(--shadow-float);
  color: var(--text); cursor:pointer; transition: transform .15s ease;
}
.fab-btn:hover{ transform: translateY(-2px); }
@media (max-width: 640px){
  .fab-group{ right:14px; bottom:14px; gap:8px; }
  .fab-btn{ width:38px; height:38px; }
  .fab-btn svg{ width:16px; height:16px; }
}
@media (prefers-reduced-motion: reduce){
  .fab-group{ transition:none; }
  .fab-btn{ transition:none; }
  .fab-btn:hover{ transform:none; }
}

/* ---------- Hero ---------- */
.hero{ padding-top: 84px; padding-bottom: 20px; }
@media (max-width: 819px){
  .hero{ padding-top: 36px; padding-bottom: 14px; }
}
.hero .eyebrow{ color: var(--text-faint); }
.hero .lede{ font-size: 18px; color: var(--text-muted); max-width: 640px; margin-bottom: 10px; }
.hero .lede + .lede{ margin-top: 14px; }
.pillars{ display:flex; gap:10px; margin: 24px 0; flex-wrap:wrap; }
.pill{ font-size:14px; font-weight:600; }
.pill + .pill::before{ content:"·"; margin-right:10px; color: var(--text-faint); }
.pill.tech{ color:var(--tech); }
.pill.gestao{ color:var(--gestao); }
.pill.educ{ color:var(--educ); }

/* ---------- Hero identity ---------- */
.hero-kicker{
  font-family: var(--sans); font-weight:700; font-size:15px; letter-spacing:.04em;
  text-transform:uppercase; color: var(--text); margin:0 0 4px;
}
.hero-kicker-sub{
  font-family: var(--sans); font-weight:500; font-size:14.5px; color: var(--text-muted);
  margin:0 0 24px;
}
/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ---------- Identity strip ("Quem sou hoje", "Como eu ensino") ---------- */
.identity-strip{ display:flex; flex-direction:column; gap:0; }
.identity-item{ border-top:1px solid var(--border); }
.identity-item:first-child{ border-top:none; }
.identity-item p{ margin:0; color: var(--text-muted); font-size:14.5px; }

/* ---------- Identity strip: itens em acordeão ---------- */
.identity-strip.accordion .identity-item{ display:block; padding:0; }
.identity-strip.accordion .identity-item summary{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:16px 0; cursor:pointer; list-style:none; font-weight:700; font-size:14px;
}
.identity-strip.accordion .identity-item summary::-webkit-details-marker{ display:none; }
.identity-strip.accordion .identity-item summary.tech{ color:var(--tech); }
.identity-strip.accordion .identity-item summary.gestao{ color:var(--gestao); }
.identity-strip.accordion .identity-item summary.educ{ color:var(--educ); }
.identity-strip.accordion .identity-item summary::after{
  content:"+"; flex-shrink:0; font-weight:400; font-size:15px; line-height:1;
  color: var(--text-muted);
}
.identity-strip.accordion .identity-item[open] summary::after{ content:"–"; }
.identity-strip.accordion .identity-item p{ margin:0 0 16px; }

/* ---------- Timeline ---------- */
.timeline{ position:relative; margin-top: 20px; }
.timeline::before{
  content:""; position:absolute; left: 15px; top:6px; bottom:6px; width:2px;
  background: linear-gradient(var(--border), var(--border));
}
.t-item{ position:relative; padding-left: 46px; margin-bottom: 44px; }
.t-item:last-child{ margin-bottom:0; }
.t-item::before{
  content:""; position:absolute; left: 8px; top: 6px; width:16px; height:16px; border-radius:50%;
  background: var(--surface); border: 3px solid var(--accent);
}
.t-item.tech::before{ border-color: var(--tech); }
.t-item.gestao::before{ border-color: var(--gestao); }
.t-item.educ::before{ border-color: var(--educ); }
.t-item.milestone::before{ width:20px; height:20px; left:6px; top:4px; border-width:4px; box-shadow: 0 0 0 4px var(--bg-alt); }
.t-item.tech.milestone::before{ box-shadow: 0 0 0 4px var(--tech-bg); }
.t-item.gestao.milestone::before{ box-shadow: 0 0 0 4px var(--gestao-bg); }
.t-item.educ.milestone::before{ box-shadow: 0 0 0 4px var(--educ-bg); }
.t-item.milestone .t-year{ font-size:24px; }

.t-year{ font-family: var(--mono); font-size:20px; font-weight:600; margin-bottom:6px; letter-spacing:-0.02em; }
.t-title{ font-weight:700; font-size:16px; margin-bottom:10px; color: var(--text); }
.t-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px;
}
.t-card::after{ content:""; display:table; clear:both; }
.t-block{ margin-bottom:16px; }
.t-block:last-child{ margin-bottom:0; }
.t-block.spaced{ margin-top:18px; }
.t-block.spaced-lg{ margin-top:26px; }
.t-block h4{
  margin:0 0 6px; font-size:14px; font-weight:700; font-family:var(--sans);
}
.t-block .role{ color: var(--text-muted); font-size:14px; margin-bottom:8px; }
.t-list{ margin:0; padding-left:18px; color: var(--text-muted); font-size:14.5px; }
.t-list li{ margin-bottom:4px; }
.t-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.chip{
  font-size:12.5px; background: var(--bg-alt); border:1px solid var(--border); color: var(--text-muted);
  padding:3px 10px; border-radius:var(--radius-sm);
}
.t-quote{
  font-family: var(--serif); font-style: italic; color: var(--text-muted);
  font-size:15.5px; margin-top:14px; padding-top:14px; border-top:1px dashed var(--border);
}
.t-tags{ display:flex; gap:6px; margin-bottom:10px; }
.tag{ font-size:11px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; }
.tag + .tag::before{ content:"·"; margin-right:6px; color: var(--text-faint); }
.tag.tech{ color:var(--tech); }
.tag.gestao{ color:var(--gestao); }
.tag.educ{ color:var(--educ); }

/* ---------- Timeline: expandable detail ---------- */
.t-more{ margin-top:14px; border-top:1px dashed var(--border); padding-top:10px; }
.t-more summary{
  cursor:pointer; font-size:13px; font-weight:600; color: var(--text-muted);
  list-style:none; display:flex; align-items:center; gap:7px;
}
.t-more summary::-webkit-details-marker{ display:none; }
.t-more summary::before{
  content:"▸"; font-size:11px; color: var(--text-faint); display:inline-block; transition:transform .2s ease;
}
.t-more[open] summary::before{ transform:rotate(90deg); }
.t-more[open] summary{ margin-bottom:10px; }
@media (prefers-reduced-motion: reduce){ .t-more summary::before{ transition:none; } }
.t-more .t-block:first-of-type{ margin-top:0; }

/* ---------- Timeline: experience node (mini linha do tempo dentro do card) ---------- */
.exp-list{ position:relative; }
.exp-list::before{
  content:""; position:absolute; left:5px; top:6px; bottom:6px; width:1px; background:var(--border);
}
.exp-node{ position:relative; padding-left:26px; }
.exp-node::after{ content:""; display:table; clear:both; }
.exp-node + .exp-node{ margin-top:32px; }
.exp-node::before{
  content:""; position:absolute; left:0; top:6px; width:11px; height:11px; border-radius:50%;
  background:var(--surface); border:2px solid var(--text-faint);
}
.t-item.tech .exp-node::before{ border-color:var(--tech); }
.t-item.gestao .exp-node::before{ border-color:var(--gestao); }
.t-item.educ .exp-node::before{ border-color:var(--educ); }
.exp-node.solo{ padding-left:0; }
.exp-node.solo::before{ content:none; }

.exp-period{
  font-family:var(--mono); font-size:12.5px; font-weight:600; color:var(--text-faint);
  letter-spacing:-0.02em; display:block; margin-bottom:6px;
}
.exp-company{ margin:0; font-family:var(--serif); font-weight:600; font-size:17.5px; line-height:1.3; color:var(--text); }
.exp-role{ margin:3px 0 0; font-size:14px; color:var(--text-muted); }
.exp-desc{ margin:10px 0 0; color:var(--text-muted); font-size:14.5px; }
.exp-desc.tight{ margin:0; }

.exp-toggle{
  display:flex; align-items:center; gap:7px; margin-top:16px; font-size:13px; font-weight:600;
  color:var(--text-muted); background:none; border:none; padding:0; cursor:pointer; font-family:var(--sans);
}
.exp-toggle .chev{ font-size:11px; color:var(--text-faint); display:inline-block; transition:transform .2s ease; }
.exp-toggle[aria-expanded="true"] .chev{ transform:rotate(90deg); }
.exp-toggle .count{ color:var(--text-faint); font-weight:600; }

.exp-panel{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.exp-list-num{ margin:14px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:9px; }
.exp-list-num li{ display:flex; gap:12px; font-size:14px; color:var(--text-muted); line-height:1.55; }
.exp-list-num .num{ font-family:var(--mono); font-size:12px; color:var(--text-faint); flex:0 0 auto; padding-top:2px; }

@media (prefers-reduced-motion: reduce){
  .exp-panel{ transition:none; }
  .exp-toggle .chev{ transition:none; }
}

/* ---------- Se voce e meu aluno ---------- */
#para-meu-aluno .container{ position:relative; }
#para-meu-aluno .container::before{
  content:"\201C"; position:absolute; top:12px; right:24px; font-family:var(--serif);
  font-size:200px; line-height:1; color:var(--border); z-index:0; user-select:none; pointer-events:none;
}
@media (max-width:960px){ #para-meu-aluno .container::before{ display:none; } }
.aluno-block{ max-width: 600px; position:relative; z-index:1; }
.aluno-block h2{ font-size: 24px; margin-bottom: 18px; }
.aluno-block p{ font-size: 18px; line-height:1.75; color: var(--text); margin:0; }
.aluno-block p + p{ margin-top:14px; }

/* ---------- Recognitions ---------- */
.cards-grid{ display:grid; gap:16px; }
.rec-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.rec-card .icon{
  width:36px; height:36px; border-radius:var(--radius-sm); background: var(--bg-alt);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px; color: var(--text);
}
.rec-card h3{ font-size:16px; font-family:var(--sans); font-weight:700; margin-bottom:6px; }
.rec-card .meta{ font-size:13px; color: var(--text-faint); margin-bottom:10px; }
.rec-card p{ font-size:14.5px; color: var(--text-muted); margin:0; }

/* ---------- Marcos da trajetória: card em acordeão ---------- */
.rec-card > summary{
  cursor:pointer; list-style:none; font-size:16px; font-family:var(--sans); font-weight:700;
}
.rec-card > summary::-webkit-details-marker{ display:none; }
.rec-card > summary .s-row{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.rec-card > summary .s-row::after{
  content:"+"; flex-shrink:0; font-weight:400; font-size:20px; line-height:1; color: var(--text-muted);
}
.rec-card[open] > summary .s-row::after{ content:"–"; }
.rec-card[open] > summary{ margin-bottom:14px; }

.t-list .li-more > summary{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  cursor:pointer; list-style:none;
}
.t-list .li-more > summary::-webkit-details-marker{ display:none; }
.t-list .li-more > summary::after{
  content:"+"; flex-shrink:0; font-weight:400; font-size:16px; line-height:1; color: var(--text-faint);
}
.t-list .li-more[open] > summary::after{ content:"–"; }
.t-list .li-more > p{ margin:6px 0 0; font-size:13.5px; color: var(--text-faint); }

/* ---------- Proof chain ---------- */
.chain{ display:flex; flex-direction:column; }
.chain-item{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding:16px 20px; display:flex; gap:16px; align-items:baseline;
}
.chain-item .year{ font-family: var(--mono); font-weight:600; font-size:15px; min-width:88px; letter-spacing:-0.01em; color: var(--educ); }
.chain-item p{ margin:0; font-size:14.5px; color: var(--text-muted); }
.chain-arrow{ text-align:center; color: var(--text-faint); font-size:14px; padding:6px 0; }

/* ---------- Gestão ---------- */
.gestao-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 30px 32px; max-width: 720px;
}
.gestao-card > p{ color: var(--text-muted); font-size:15px; margin:0 0 16px; }
.gestao-card .t-list{ font-size:15px; margin-bottom:0; }
.gestao-card .t-list li{ margin-bottom:8px; }
.gestao-card .t-quote{ margin-top:18px; padding-top:18px; }

/* ---------- CTA / formations ---------- */
.cta-box{
  background: var(--bg-alt); border:1px solid var(--border); border-radius: var(--radius);
  padding: 34px; text-align:center;
}
.cta-box p{ color: var(--text-muted); max-width: 480px; margin: 8px auto 20px; font-size:15px; }
.btn{
  display:inline-flex; align-items:center; gap:8px; background: var(--accent); color: var(--bg);
  border:none; padding: 9px 18px; border-radius: var(--radius-sm); font-weight:600; font-size:13.5px;
  cursor:pointer; font-family: var(--sans); text-decoration:none;
}
.btn:hover{ opacity:.88; }

.pub-list{ display:flex; flex-direction:column; gap:14px; }
.pub-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px;
}
.pub-kind{
  margin:0 0 8px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  color: var(--text-faint);
}
.pub-text{ margin:0; font-size:14.5px; color: var(--text-muted); line-height:1.6; }
.pub-text em{ font-style:italic; color: var(--text); }

/* ---------- Fotos ---------- */
.ph{ overflow:hidden; background: var(--bg-alt); }
.ph img{ width:100%; height:100%; object-fit:cover; display:block; cursor: zoom-in; }
.ph video{ cursor: zoom-in; }
@media (hover: hover) and (pointer: fine){
  .ph img{ filter: grayscale(88%) contrast(1.05); transition: filter .5s ease; }
  .ph:hover img{ filter:none; }
}

.lightbox{
  position:fixed; inset:0; z-index:200; display:none; align-items:center; justify-content:center;
  background: rgba(10,9,7,.92); padding: 32px; cursor: zoom-out;
}
.lightbox.open{ display:flex; }
.lightbox img, .lightbox video{
  max-width:100%; max-height:100%; border-radius:var(--radius-sm); display:block;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.lightbox img[hidden], .lightbox video[hidden]{ display:none; }
.lightbox-close{
  position:absolute; top:20px; right:20px; width:40px; height:40px; border-radius:50%;
  background: rgba(255,255,255,.12); border:none; color:#fff; font-size:20px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%;
  background: rgba(255,255,255,.12); border:none; color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-nav.prev{ left:20px; }
.lightbox-nav.next{ right:20px; }
.lightbox-nav[hidden]{ display:none; }

.hero-flex{ display:flex; flex-direction:column; gap:30px; }
.hero-text{ min-width:0; }
.hero-photo{
  flex:0 0 230px; width:230px; aspect-ratio: 4 / 5; border-radius: var(--radius);
  border:1px solid var(--border); order:-1; align-self:center;
  margin:0;
}
@media (min-width: 820px){
  .hero-flex{ flex-direction:row; align-items:flex-start; gap:52px; }
  .hero-text{ flex:1 1 480px; }
  .hero-photo{ order:2; align-self:auto; }
}

.thumb{
  float:none; width:100%; aspect-ratio: 16/9; margin:0 0 16px; border-radius:var(--radius-sm);
  border:1px solid var(--border);
  position:relative; z-index:1;
}
@media (min-width:560px){
  .thumb{ float:right; width:240px; aspect-ratio:4/3; margin:0 0 14px 20px; }
}
.thumb-caption{ margin:-8px 0 14px; font-size:12.5px; color: var(--text-faint); font-weight:600; }
@media (min-width:560px){ .thumb-caption{ float:right; clear:right; width:240px; margin:-10px 20px 14px 0; text-align:right; } }

.thumb-pair{ display:flex; flex-direction:column; gap:10px; width:320px; max-width:100%; margin:0 auto 16px; position:relative; z-index:1; }
.thumb-pair .ph{ aspect-ratio:4/3; border-radius:var(--radius-sm); border:1px solid var(--border); }
@media (min-width:560px){ .thumb-pair{ float:right; width:300px; margin:0 0 14px 20px; } }

/* ---------- Como eu ensino: foto em destaque ---------- */
.como-ensino-photo{
  aspect-ratio: 16/9; border-radius: var(--radius);
  border:1px solid var(--border); margin:10px 0;
}

.t-kind{ display:block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; margin-bottom:4px; }
.t-kind.formacao{ color: var(--educ); }
.t-kind.experiencia{ color: var(--gestao); }
.t-kind.tecnologia{ color: var(--tech); }
.t-kind.neutro{ color: var(--text-faint); }
.t-kind.spaced{ margin-top:14px; }

.mini-photos{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top:14px; }
.mini-photos figure{
  margin:0; aspect-ratio: 4/3; border-radius: var(--radius-sm); border:1px solid var(--border);
}
.mini-photos:has(figure:only-child){ grid-template-columns: 1fr; max-width:180px; }
.mini-photos.mt-16{ margin-top:16px; }
.mini-photos.cols-3{ grid-template-columns:repeat(3, 1fr); max-width:540px; }
@media (min-width:560px){
  .mini-photos{ max-width:360px; }
  .mini-photos:has(figure:only-child){ max-width:180px; }
}

.gallery-wrap{ position:relative; }
.gallery-wrap::after{
  content:""; position:absolute; top:0; right:0; bottom:14px; width:64px;
  background:linear-gradient(to right, transparent, var(--fade-bg, var(--bg)) 75%);
  pointer-events:none;
}
.gallery{
  display:flex; gap:12px; overflow-x:auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gitem{
  flex: 0 0 160px; aspect-ratio: 1/1; border-radius: var(--radius-sm); scroll-snap-align:start;
  border:1px solid var(--border); margin:0;
}

/* ---------- Galeria: setas de navegação (desktop) ---------- */
.gallery-nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:36px; height:36px; border-radius:50%; padding:0;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border:1px solid var(--border); box-shadow: var(--shadow-float);
  display:flex; align-items:center; justify-content:center;
  color: var(--text); cursor:pointer;
  opacity:0; visibility:hidden; transition: opacity .15s ease, visibility .15s;
}
.gallery-wrap:hover .gallery-nav,
.gallery-nav:focus-visible{ opacity:1; visibility:visible; }
.gallery-nav.prev{ left:8px; }
.gallery-nav.next{ right:8px; }
.gallery-nav[disabled]{ display:none; }
@media (hover:none), (pointer:coarse){
  .gallery-nav{ display:none; }
}
@media (prefers-reduced-motion: reduce){
  .gallery-nav{ transition:none; }
}

/* ---------- Footer ---------- */
footer{ border-top:1px solid var(--border); padding: 44px 0; }
.foot-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
.foot-inner p{ margin:0; color: var(--text-faint); font-size:13.5px; }
.foot-links{ display:flex; align-items:center; gap:20px; }
.foot-links a:not(.social-link){ color: var(--text-faint); font-size:13.5px; font-weight:600; transition: color .15s ease; }
.foot-links a:not(.social-link):hover{ color: var(--text); }
.social-link{
  display:inline-flex; align-items:center; justify-content:center; color: var(--text-faint);
  transition: color .15s ease;
}
.social-link:hover{ color: var(--text); }

.foot-extra{
  display:flex; justify-content:space-between; align-items:flex-end; gap:20px;
  flex-wrap:wrap; margin-top:24px; padding-top:24px; border-top:1px solid var(--border);
}
.foot-notes{ display:flex; flex-direction:column; gap:6px; max-width:520px; }
.foot-notes p{ margin:0; color: var(--text-faint); font-size:12.5px; line-height:1.6; }
.foot-notes a{ color: var(--text-muted); font-weight:600; }
@media (min-width: 641px){
  .foot-notes{ flex-direction:row; flex-wrap:wrap; column-gap:6px; row-gap:2px; max-width:none; }
  .foot-notes p + p::before{ content:"· "; }
  .foot-notes p.no-dot::before{ content:none; }
}

/* ---------- Impressão ---------- */
@media print{
  .skip-link, header.site, .fab-group, .lightbox{ display:none !important; }
  body{ background:#fff; color:#000; }
  a{ text-decoration:underline; }
  .reveal{ opacity:1 !important; transform:none !important; }
  details:not([open]) > *:not(summary){ display:block !important; }
  details > summary{ list-style:none; }
  details > summary::-webkit-details-marker, details > summary::after, details > summary::before{ display:none !important; }
  .ph img{ filter:none !important; }
}
