/* Luanna Amorim, advogada
   Paleta da marca (rosé/cobre sobre café) e da foto do escritório (fendi). */

:root {
  --ground: #efe9e6;
  --ground-2: #e4dad5;
  --surface: #f7f3f1;
  --field: #cdbdb6;
  --rose-soft: #dfc1ba;
  --ink: #241b18;
  --muted: #5a4b46;
  --accent: #b4776f;
  --accent-ink: #8a4f48;
  --espresso: #2b201d;
  --espresso-2: #3a2c28;
  --on-dark: #f2eae8;
  --muted-on-dark: #c9b9b4;
  --rose-on-dark: #dcaea6;
  --line: rgba(36, 27, 24, .1);

  --font-display: "Stack Sans Headline", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Stack Sans Text", "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.25rem, 6.4vw, 6.25rem);

  --margin: clamp(16px, 3vw, 40px);
  --wide: 1320px;
  --edge: max(var(--margin), calc((100% - var(--wide)) / 2 + var(--margin)));
  --gap-section: clamp(80px, 9vw, 136px);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }

.defs { position: absolute; }
.ogiva { clip-path: url(#ogiva); }
.container { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--margin); }
.skip {
  position: absolute; left: var(--margin); top: -60px; z-index: 50;
  background: var(--ink); color: var(--ground); padding: 12px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ic-box {
  display: inline-grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--rose-soft); color: var(--accent-ink);
}
.ic-box .ic { width: 22px; height: 22px; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.05;
}
h2 { font-size: var(--step-head); }
h3, h4 { font-weight: 500; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius-sm);
  font-family: var(--font-text); font-weight: 500; font-size: var(--step-body);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 58px; padding: 0 30px; }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: var(--accent-ink); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--rose-on-dark); }
.link {
  font-weight: 500; text-decoration: underline; text-underline-offset: 5px;
  text-decoration-thickness: 2px; text-decoration-color: var(--accent);
  transition: text-decoration-color .2s, color .2s;
}
.link:hover { color: var(--accent-ink); text-decoration-color: var(--accent-ink); }

/* Títulos de seção */
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head p { margin-top: 18px; font-size: var(--step-lead); line-height: 1.4; color: var(--muted); }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Cabeçalho (inspirado no Header 2, do 21st.dev) ===== */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 20; }
.topbar {
  background: var(--espresso); color: var(--muted-on-dark);
  font-size: var(--step-small); height: 38px; overflow: hidden;
  transition: margin-top .4s var(--ease);
}
.topbar-in { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.topbar-in > * { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar .ic { width: 16px; height: 16px; color: var(--rose-on-dark); }
.topbar a { color: var(--on-dark); font-weight: 500; }
.topbar a:hover { color: var(--rose-on-dark); }
.bar-wrap { padding: 0 var(--margin); transition: padding .4s var(--ease); }
.bar {
  max-width: calc(var(--wide) - 2 * var(--margin)); margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 18px 0; border: 1px solid transparent; border-radius: 999px;
  transition: max-width .45s var(--ease), padding .45s var(--ease), background-color .35s, border-color .35s, box-shadow .35s;
}
.site-head.is-scrolled .topbar { margin-top: -38px; }
.site-head.is-scrolled .bar-wrap { padding-top: 12px; }
.site-head.is-scrolled .bar {
  max-width: 1120px; padding: 8px 8px 8px 24px;
  background: rgba(247, 243, 241, .94); border-color: var(--line);
  box-shadow: 0 14px 34px -18px rgba(36, 27, 24, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.wordmark { display: block; line-height: 0; margin-right: auto; }
.wordmark img { height: 56px; width: auto; transition: height .35s var(--ease); }
.site-head.is-scrolled .wordmark img { height: 42px; }
.bar-nav { display: flex; gap: 26px; }
.bar-nav a { text-decoration: none; font-weight: 500; transition: color .2s; }
.bar-nav a:hover { color: var(--accent-ink); }
.bar .btn { min-height: 46px; padding: 0 20px; }
.site-head.is-scrolled .bar .btn { border-radius: 999px; }
main section { scroll-margin-top: 96px; }

.menu-btn, .menu-close {
  display: none; position: relative;
  width: 46px; height: 46px; flex: none; border-radius: 999px;
  border: 0; background: var(--ground-2); cursor: pointer;
  transition: background-color .2s;
}
.menu-btn:hover, .menu-close:hover { background: var(--field); }
.menu-btn span, .menu-close span { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--ink); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-close { display: block; }
.menu-close span { top: 22px; }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; }
.menu[hidden] { display: none; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(36, 27, 24, .55); opacity: 0; transition: opacity .35s var(--ease); }
.menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw); background: var(--ground);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: 14px var(--margin) 32px;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.menu.is-open .menu-backdrop { opacity: 1; }
.menu.is-open .menu-panel { transform: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu-top img { height: 40px; width: auto; }
.menu-links { display: grid; margin-top: 36px; }
.menu-links a {
  font-family: var(--font-display); font-weight: 300; font-size: calc(var(--step-head) * .8);
  letter-spacing: -0.022em; line-height: 1.1; text-decoration: none;
  padding: 9px 0; transition: color .2s, transform .3s var(--ease);
}
.menu-links a:hover { color: var(--accent-ink); transform: translateX(6px); }
.menu-foot { margin-top: auto; padding-top: 36px; display: grid; gap: 18px; justify-items: start; }
.menu-foot p { color: var(--muted); font-size: var(--step-small); }
.menu-open { overflow: hidden; }

/* ===== 1. Primeira tela ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: max(100svh, 760px);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  align-items: center;
  padding: 150px var(--edge) 72px;
}
.hero-text { grid-column: 1 / 7; position: relative; z-index: 2; }
.hero h1 { font-size: min(var(--step-display), 5rem); max-width: 9.5em; }
.hero-lead { font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; margin-top: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero-shape {
  position: absolute; z-index: 0;
  right: -10vw; top: 22vh;
  width: 50vw; height: 120vh;
  background: var(--accent);
  clip-path: url(#ogiva);
}
.hero-figure {
  position: absolute; z-index: 1;
  right: calc(var(--edge) + 5vw); top: 140px;
  width: min(38vw, 560px); height: min(57vw, 840px);
  overflow: hidden; background: var(--field);
}
.hero-figure img { position: absolute; left: 0; top: 0; width: 108%; max-width: none; height: auto; }

/* ===== 3. Áreas de atuação (abas, inspirado no Tabbed Feature Categories) ===== */
.areas { padding: var(--gap-section) 0; }
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px;
  background: var(--ground-2); border-radius: 999px; margin-bottom: 32px;
}
.tabs button {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; background: none; cursor: pointer; border-radius: 999px;
  padding: 12px 22px; font-weight: 500; color: var(--muted);
  transition: background-color .25s var(--ease), color .25s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--ground); }
.panel {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(24px, 3.4vw, 48px);
}
.panel + .panel { margin-top: 24px; }
.js .panel[hidden] { display: none; }
.js .panel:not([hidden]) { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.panel-intro { grid-column: 1 / 5; display: grid; gap: 20px; justify-items: start; position: sticky; top: 110px; }
.panel-intro h3 { font-family: var(--font-display); font-weight: 300; font-size: calc(var(--step-head) * .72); letter-spacing: -0.022em; line-height: 1.05; }
.panel-intro p { color: var(--muted); }
.panel-photo { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.panel-cards { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel-cards .card:nth-child(3):last-child { grid-column: 1 / -1; }
.panel-cards .card-destaque { grid-column: 1 / -1; background: var(--espresso); border-color: var(--espresso); }
.panel-cards .card-destaque h4 { color: var(--on-dark); }
.panel-cards .card-destaque p { color: var(--muted-on-dark); }
.panel-cards .card-destaque ~ .card:nth-child(3):last-child { grid-column: auto; }
.panel-cards .card-destaque ~ .card:last-child:nth-child(even) { grid-column: 1 / -1; }
.card {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: grid; gap: 14px; align-content: start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(180, 119, 111, .45); box-shadow: 0 18px 34px -22px rgba(36, 27, 24, .45); }
.card h4 { font-size: 1.25rem; line-height: 1.25; }
.card p { color: var(--muted); font-size: 1.0625rem; }

/* ===== 4. Você sabia? (carrossel no formato dos posts) ===== */
.knows { background: var(--espresso); color: var(--on-dark); padding: var(--gap-section) 0; }
.knows-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.knows-head h2 { font-size: var(--step-display); color: var(--rose-on-dark); }
.knows-head p { margin-top: 14px; font-size: var(--step-lead); color: var(--muted-on-dark); }
.knows-nav { display: flex; gap: 10px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid rgba(242, 234, 232, .3); background: none; color: var(--on-dark); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.round-btn:hover { background: var(--rose-on-dark); border-color: var(--rose-on-dark); color: var(--ink); }
.post-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 80vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--edge);
  padding: 4px var(--edge) 12px; scrollbar-width: none;
}
.post-track::-webkit-scrollbar { display: none; }
.post {
  scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: 22px;
  padding: 30px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .35s var(--ease);
}
.post:hover { transform: translateY(-6px); }
.post-tag { font-weight: 500; font-size: var(--step-small); letter-spacing: .04em; }
.post p { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; }
.post-area { margin-top: auto; font-size: var(--step-small); opacity: .8; }
.post-dark { background: var(--espresso-2); color: var(--on-dark); }
.post-dark .post-tag { color: var(--rose-on-dark); }
.post-rose { background: var(--accent); color: var(--ink); }
.post-rose .post-area { opacity: 1; }
.post-light { background: var(--ground); color: var(--ink); }
.post-light .post-tag { color: var(--accent-ink); }
.post-soft { background: var(--rose-soft); color: var(--ink); }
.post-soft .post-tag { color: var(--ink); }
.knows-more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font-weight: 500; color: var(--on-dark);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: color .2s, text-decoration-color .2s;
}
.knows-more:hover { color: var(--rose-on-dark); text-decoration-color: var(--rose-on-dark); }

/* ===== 5. Como funciona (inspirado no How It Works) ===== */
.steps { padding: var(--gap-section) 0; }
.steps-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-list::before {
  content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--field) 0 10px, transparent 10px 18px); /* taste-skill-ignore: linha tracejada que liga as etapas */
}
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step-num {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 999px;
  display: grid; place-items: center; margin-bottom: 8px;
  background: var(--ink); color: var(--ground);
  font-family: var(--font-display); font-size: 1.375rem;
  box-shadow: 0 0 0 8px var(--ground);
}

.step h3 { font-size: var(--step-lead); line-height: 1.2; }
.step p { color: var(--muted); max-width: 30ch; }
.step:nth-child(2) .step-num { background: var(--accent-ink); }
.step:nth-child(3) .step-num { background: var(--accent); color: var(--ink); }
.step:nth-child(4) .step-num { background: var(--rose-soft); color: var(--ink); }

/* ===== 6. Sobre ===== */
.about { padding: var(--gap-section) 0; background: var(--ground-2); }
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.about-figure { grid-column: 1 / 6; aspect-ratio: 7 / 9; overflow: hidden; background: var(--field); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-text { grid-column: 7 / 13; display: grid; gap: 22px; }
.about-lead { font-size: var(--step-lead); line-height: 1.4; }
.about-text > p:not(.about-lead) { color: var(--muted); }
/* Pedido da advogada: o texto do Sobre justificado, de uma margem à outra. A hifenização evita buracos entre as palavras. */
.about-text > p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.facts div { background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px; }
.facts dt { color: var(--muted); font-size: var(--step-small); }
.facts dd { font-weight: 500; margin-top: 2px; }
.facts .facts-wide { grid-column: 1 / -1; }
.facts .facts-note { font-weight: 400; color: var(--muted); margin-top: 8px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ===== 7. Dúvidas (inspirado no Centered Accordion FAQ) ===== */
.faq { padding: var(--gap-section) 0; }
.faq-in { max-width: 900px; }
.acc { display: grid; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; }
.acc-item.is-open { border-color: rgba(180, 119, 111, .5); box-shadow: 0 16px 30px -24px rgba(36, 27, 24, .5); }
.acc-item h3 { font-size: 1.1875rem; }
.acc-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 500;
}
.acc-item button:hover { color: var(--accent-ink); }
.acc-item button .ic { transition: transform .3s var(--ease); }
.acc-item.is-open button .ic { transform: rotate(180deg); }
.acc-body { padding: 0 26px 24px; color: var(--muted); max-width: 72ch; }
.js .acc-item:not(.is-open) .acc-body { display: none; }
.faq-cta {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--rose-soft); border-radius: var(--radius); padding: 22px 26px;
}
.faq-cta strong { font-weight: 500; }

/* ===== 8. Contato ===== */
.contact { padding: 0 0 var(--gap-section); }
.contact-box {
  background: var(--espresso); color: var(--on-dark); border-radius: 32px;
  padding: clamp(36px, 6vw, 80px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.contact-head h2 { color: var(--rose-on-dark); }
.contact-head p { margin-top: 18px; font-size: var(--step-lead); color: var(--muted-on-dark); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checklist { display: grid; gap: 4px; }
.checklist li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(242, 234, 232, .05);
}
.checklist .ic {
  width: 30px; height: 30px; padding: 6px; border-radius: 999px;
  background: var(--accent); color: var(--ink); stroke-width: 2.4;
}
.checklist strong { font-weight: 500; color: var(--rose-on-dark); margin-right: 6px; }

/* ===== Rodapé ===== */
.foot { background: var(--espresso); color: var(--on-dark); padding: clamp(56px, 6vw, 88px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.foot-brand { grid-column: 1 / 6; display: grid; gap: 20px; align-content: start; }
.foot-logo { height: 56px; width: auto; }
.foot-brand p { color: var(--muted-on-dark); }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col:nth-child(2) { grid-column: 7 / 10; }
.foot-col:nth-child(3) { grid-column: 10 / 13; }
.foot-col h2 { font-family: var(--font-text); font-weight: 500; font-size: var(--step-body); letter-spacing: 0; color: var(--rose-on-dark); margin-bottom: 6px; }
.foot-col a { text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: var(--rose-on-dark); }
.foot-col p { color: var(--muted-on-dark); }
.foot-last {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 48px;
  margin-top: clamp(48px, 5vw, 72px); font-size: var(--step-small); color: var(--muted-on-dark);
}
.foot-last p { max-width: 70ch; }
.foot-top-link { color: var(--on-dark); white-space: nowrap; text-underline-offset: 4px; transition: color .2s; }
.foot-top-link:hover { color: var(--rose-on-dark); }

/* ===== Movimento ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card, .js .step, .js .post, .js .acc-item { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s, border-color .3s; transition-delay: var(--d, 0ms); }
.js .card.in, .js .step.in, .js .post.in, .js .acc-item.in { opacity: 1; transform: none; }
.js .card.in:hover { transform: translateY(-4px); transition-delay: 0ms; }
.js .post.in:hover { transform: translateY(-6px); transition-delay: 0ms; }

.shutter { position: absolute; inset: 0; }
.js .shutter { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.js .shutter.open { clip-path: inset(0 0 0 0); }
.js .shutter img { transform: scale(1.12); transform-origin: 40% 30%; transition: transform 1.4s var(--ease); }
.js .shutter.open img { transform: none; }
.hero-figure.is-loading { animation: aguardando 1.6s ease-in-out infinite; }
@keyframes aguardando { 50% { opacity: .55; } }
.js .hero-shape { transform: translateX(12vw); opacity: 0; transition: transform 1.3s var(--ease), opacity 1s; }
.js .hero-shape.in { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .card, .js .step, .js .post, .js .acc-item, .js .hero-shape { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .shutter { clip-path: none !important; transition: none !important; }
  .js .shutter img { transform: none !important; transition: none !important; }
  .topbar, .bar, .bar-wrap, .wordmark img, .menu-panel, .menu-backdrop, .menu-links a, .btn, .card, .post { transition: none !important; }
  .js .panel:not([hidden]) { animation: none; }
  .hero-figure.is-loading { animation: none; }
}

/* Você sabia? no desktop: os 4 cartões cabem lado a lado, então sai o carrossel e saem as setas */
@media (min-width: 1025px) {
  .knows-nav { display: none; }
  .post-track {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr);
    overflow: visible; scroll-snap-type: none;
    max-width: var(--wide); margin: 0 auto; padding: 4px var(--margin) 12px;
  }
  .post { aspect-ratio: auto; min-height: 380px; padding: 28px; }
  .post p { font-size: 1.625rem; }
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .bar-nav { display: none; }
  .bar { gap: 12px; }
  .menu-btn { display: block; }

  .hero { display: block; min-height: 0; padding: 150px var(--margin) 0; }
  .hero h1 { max-width: none; }
  .hero-figure {
    position: relative; right: auto; top: auto;
    width: 72vw; height: 104vw; margin: 56px 0 -8vw auto;
  }
  .hero-shape { right: -20vw; top: auto; bottom: -30vw; width: 80vw; height: 120vw; }


  .panel-intro { grid-column: 1 / -1; position: static; }
  .panel-cards { grid-column: 1 / -1; }

  .steps-list { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps-list::before { display: none; }

  .about-figure { grid-column: 1 / 6; }
  .about-text { grid-column: 6 / 13; }

  .contact-box { grid-template-columns: 1fr; }

  .foot-brand { grid-column: 1 / -1; }
  .foot-col:nth-child(2) { grid-column: 1 / 7; }
  .foot-col:nth-child(3) { grid-column: 7 / 13; }
}

/* ===== Celular ===== */
@media (max-width: 760px) {
  :root { --step-display: clamp(2.5rem, 11.5vw, 3.25rem); }
  .topbar { height: 34px; }
  .site-head.is-scrolled .topbar { margin-top: -34px; }
  .topbar-in { justify-content: space-between; gap: 12px; }
  .topbar-in > span:nth-child(2) { display: none; }
  .bar { padding: 12px 0; gap: 8px; }
  .site-head.is-scrolled .bar-wrap { padding-top: 8px; }
  .site-head.is-scrolled .bar { padding: 6px 6px 6px 16px; }
  .wordmark img, .site-head.is-scrolled .wordmark img { height: 36px; }
  .bar .btn { min-height: 44px; padding: 0 14px; }
  .menu-btn { width: 44px; height: 44px; }
  .menu-btn span { left: 12px; }
  .menu-btn span:first-child { top: 17px; }
  .menu-btn span:last-child { top: 25px; }

  .hero { padding: 120px var(--margin) 0; }
  .hero-lead { margin-top: 24px; }
  .hero-actions { margin-top: 28px; gap: 20px; }
  .hero-figure { width: 100%; height: 136vw; margin: 40px 0 -6vw; }
  .hero-shape { right: -30vw; bottom: -40vw; width: 110vw; height: 150vw; }

  .tabs { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; border-radius: var(--radius); }
  .tabs button { justify-content: center; padding: 12px 4px; font-size: .9375rem; }
  .tabs button .ic { display: none; }
  .panel { border-radius: 22px; }
  .panel-cards { grid-template-columns: 1fr; }
  .card { padding: 22px; }

  .knows-head { flex-direction: column; align-items: flex-start; }

  .steps-list { grid-template-columns: 1fr; row-gap: 28px; padding-left: 0; }
  .steps-list::before { display: block; top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--field) 0 10px, transparent 10px 18px); /* taste-skill-ignore */ }
  .step { grid-template-columns: 48px 1fr; column-gap: 18px; row-gap: 6px; }
  .step-num { grid-row: 1 / 3; margin-bottom: 0; }
  .step h3, .step p { grid-column: 2; }

  .about-figure { grid-column: 2 / 12; }
  .about-text { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }

  .contact-box { border-radius: 24px; padding: 32px 22px; }
  .checklist li { padding: 14px; }

  .faq-cta { flex-direction: column; align-items: flex-start; }
  .acc-item button { padding: 20px; }
  .acc-body { padding: 0 20px 20px; }

  .foot-logo { height: 44px; }
  .foot-brand, .foot-col:nth-child(2), .foot-col:nth-child(3) { grid-column: 1 / -1; }
  .foot-last { flex-direction: column; align-items: flex-start; }
}
