/* Midory · identidade do site (derivada do símbolo e da folha "Essência da Midory") */
:root {
  --blue: #0b3fc9;
  --blue-soft: #5b8def;
  --blue-tint: #eef3fe;
  --navy: #0b1540;
  --ink: #1d2749;
  --muted: #5d6785;
  --line: #dfe5f3;
  --bg: #ffffff;
  --display: 'Montserrat', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --r: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; }
h1 em { font-style: normal; color: var(--blue); }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.eyebrow { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.sec { color: var(--muted); max-width: 60ch; margin-top: 14px; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--navy); background: #fff; transition: border-color .15s, background .15s, transform .15s; }
.btn:hover { border-color: var(--blue); transform: translateY(-1px); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: #0a35aa; border-color: #0a35aa; }
.btn.lg { padding: 15px 30px; font-size: 16px; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; }

/* Topo */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 12px 24px; background: rgba(253,253,254,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .04em; color: var(--navy); }
.brand img { mix-blend-mode: multiply; }
.top nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); }
.top nav a:hover { color: var(--blue); }

/* Hero */
.hero { max-width: 1120px; margin: 0 auto; padding: 72px 24px 88px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; margin: 22px 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tagline { font-family: var(--display); font-weight: 500; color: var(--navy); margin-top: 40px; font-size: 18px; }
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.hero-art img { width: 92%; mix-blend-mode: multiply; animation: swim 7s ease-in-out infinite; }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed var(--blue-soft); opacity: .35; }
.o1 { inset: 4%; animation: spin 60s linear infinite; }
.o2 { inset: 18%; opacity: .2; animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes swim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img, .orbit { animation: none; } html { scroll-behavior: auto; } }

/* Faixas */
section { padding: 88px 0; }
.band { background: var(--blue-tint); }
.two { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.prose p + p { margin-top: 18px; }
.prose .rule { border-left: 4px solid var(--blue); padding-left: 20px; font-size: 18px; }
.prose strong { color: var(--blue); font-weight: 600; }

.simbolo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.simbolo-art { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; }
.meanings { margin-top: 26px; display: grid; gap: 0; }
.meanings div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.meanings dt { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 15px; }
.meanings dd { color: var(--muted); }

.flow { font-size: 18px; color: var(--ink); max-width: 70ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.cards article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .15s, transform .15s; }
.cards article:hover { border-color: var(--blue-soft); transform: translateY(-2px); }
.cards .n { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--blue); }
.cards h3 { margin: 10px 0 8px; }
.cards p { color: var(--muted); font-size: 15px; }

.metodo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.principles { list-style: none; }
.principles li { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--navy); padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; }
.principles li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--blue); }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.people article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; margin-bottom: 18px; }
.role { color: var(--blue); font-weight: 500; font-size: 14px; margin: 6px 0 12px; }
.people article p:last-child { color: var(--muted); }
.synth { margin-top: 28px; font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--navy); max-width: 46ch; }

.cta { text-align: center; }
.cta .sec { margin: 14px auto 28px; }

footer { border-top: 1px solid var(--line); padding: 32px 0; }
.foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot p { font-family: var(--display); font-weight: 500; color: var(--navy); }
.foot .muted { margin-left: auto; font-family: var(--sans); font-weight: 400; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero, .two, .simbolo, .metodo, .people { grid-template-columns: 1fr; }
  .hero { padding: 40px 24px 56px; }
  .hero-art { max-width: 340px; margin: 0 auto; order: -1; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .meanings div { grid-template-columns: 1fr; gap: 2px; }
}
