/* Maristo · site 2026 · linha editorial do design system Maristo */
:root {
  --blue: #024C8B;
  --beige: #FEEAD4;
  --yellow: #F5E059;
  --red: #E30448;
  --ink: #1E2A38;
  --green: #25D366;
  --font: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --cl: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--beige); color: var(--blue); font-family: var(--font); font-size: 18px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }

/* contextos de cor: azul com texto bege, bege com texto azul */
.blue { --bg: var(--blue); --fg: var(--beige); --accent: var(--yellow); --line: rgba(254, 234, 212, 0.28); --btn-bg: var(--yellow); --btn-fg: var(--blue); --btn-hover: var(--beige); --mark: transparent; --focus: var(--yellow); background: var(--bg); color: var(--fg); }
.beige { --bg: var(--beige); --fg: var(--blue); --accent: var(--blue); --line: rgba(2, 76, 139, 0.24); --btn-bg: var(--blue); --btn-fg: var(--beige); --btn-hover: var(--ink); --mark: var(--red); --focus: var(--blue); background: var(--bg); color: var(--fg); }

:focus-visible { outline: 3px solid var(--focus, var(--blue)); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--blue); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* tipografia */
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--mark); }
.blue .kicker::before { display: none; }
h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 1.02; letter-spacing: -0.02em; }
h1.sm { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.015em; max-width: 20ch; }
h2.wide { max-width: 26ch; }
h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.2; }
.lead { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; font-weight: 500; max-width: 40ch; }
.lead.wide { max-width: 58ch; }
.body-lg { font-size: 19px; max-width: 62ch; }
.label { display: block; font-family: var(--mono); font-size: 13px; line-height: 1.35; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.note { font-size: 15px; line-height: 1.55; opacity: 0.9; max-width: 70ch; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.hl { background: var(--yellow); color: var(--blue); padding: 0 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* o fio: traço, nó e linha */
.thread { position: relative; height: 2px; margin: 30px 0 clamp(36px, 4vw, 52px); color: var(--fg); }
.thread::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--cl) - 30px); background: currentColor; opacity: 0.55; }
.thread::after { content: ""; position: absolute; left: var(--cl); right: 0; top: 0; height: 2px; background: currentColor; opacity: 0.55; }
.thread i { position: absolute; left: calc(var(--cl) - 35px); top: -4px; width: 10px; height: 10px; background: currentColor; opacity: 0.55; }
@media (max-width: 700px) { .thread::before, .thread i { display: none; } }

/* botões */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 14px 22px; border: 2px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font); font-size: 16px; line-height: 1.2; font-weight: 600; text-decoration: none; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.beige .btn:hover { color: var(--beige); }
.btn.ghost { background: transparent; color: var(--fg); border-color: currentColor; }
.btn.ghost:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn .ic { width: 20px; height: 20px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link .ic { width: 18px; height: 18px; }
.link:hover { color: var(--accent); }
.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }

/* cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(254, 234, 212, 0.18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 10px; font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--yellow); }
.nav a[aria-current="page"] { border-bottom-color: var(--yellow); }
.nav .btn { margin-left: 10px; min-height: 46px; padding: 10px 16px; font-size: 15px; }
.nav .btn:hover { color: var(--blue); }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 46px; padding: 8px 14px; background: transparent; color: var(--beige); border: 2px solid rgba(254, 234, 212, 0.5); font: 600 15px/1 var(--font); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--blue); border-bottom: 1px solid rgba(254, 234, 212, 0.18); max-height: calc(100vh - 76px); overflow-y: auto; }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid rgba(254, 234, 212, 0.18); }
  .nav a[aria-current="page"] { color: var(--yellow); border-bottom-color: rgba(254, 234, 212, 0.18); }
  .nav .btn { margin: 20px 0 0; justify-content: center; min-height: 54px; border-bottom: 2px solid var(--yellow); }
}

/* abertura das páginas */
.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 88px); align-items: end; }
.hero .lead { margin-top: 28px; }
.hero-grid.top { align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* fotos */
.ph { margin: 0; }
.ph img { width: 100%; height: auto; }
.ph figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.ph.tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--blue); border-top: 4px solid var(--blue); border-bottom: 4px solid var(--blue); }
.mosaic.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 700px) { .mosaic.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mosaic.three-m { grid-template-columns: 1fr; } }

/* números */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--line); }
.facts > div { padding: 26px 24px 4px 0; }
.facts > div + div { padding-left: 24px; border-left: 2px solid var(--line); }
.facts b { display: block; font-size: clamp(28px, 3.3vw, 48px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.facts span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.4; }
@media (max-width: 800px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 2px solid var(--line); }
}

/* grades e cartões */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.card h3 + p, .card .label + h3 { margin-top: 2px; }
.card p { margin: 0; }
.card .more { margin-top: auto; padding-top: 14px; align-self: flex-start; }

/* serviços em linhas */
.svc { border-bottom: 2px solid var(--line); }
.svc a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 0; border-top: 2px solid var(--line); text-decoration: none; }
.svc h3 { margin-bottom: 6px; }
.svc p { margin: 0; max-width: 46ch; }
.svc .go { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 2px solid currentColor; transition: background 0.15s, color 0.15s; }
.svc .go .ic { width: 22px; height: 22px; }
.svc a:hover .go { background: var(--fg); color: var(--bg); }
.svc a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hero .ph.portrait { max-width: 440px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .hero .ph.portrait { justify-self: start; max-width: 520px; } }
a.card { text-decoration: none; transition: transform 0.15s; }
a.card:hover { transform: translateY(-3px); }
a.card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card .num { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; }

/* listas */
.nlist > li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 24px 0; border-top: 2px solid var(--line); }
.nlist > li:last-child { border-bottom: 2px solid var(--line); }
.nlist .n { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; padding-top: 5px; color: var(--accent); }
.nlist h3 { margin-bottom: 6px; }
.nlist p { margin: 0; max-width: 62ch; }
.blist > li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--line); line-height: 1.5; }
.blist > li:last-child { border-bottom: 1px solid var(--line); }
.blist > li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; background: var(--accent); }
.card .blist > li { font-size: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* linha de informação dos cursos */
.info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); margin-top: 40px; }
.info > div { padding: 20px 20px 22px 0; }
.info > div + div { padding-left: 20px; border-left: 2px solid var(--line); }
.info b { display: block; margin-top: 8px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; font-weight: 500; }
@media (max-width: 800px) {
  .info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .info > div:nth-child(n+3) { border-top: 2px solid var(--line); }
}

/* nomes de clientes */
.names { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 42%), 1fr)); column-gap: 32px; border-bottom: 1px solid var(--line); }
.names li { padding: 15px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 500; line-height: 1.35; }

/* palavras negativas */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span { padding: 6px 12px; border: 2px solid var(--line); font-size: 15px; line-height: 1.3; font-weight: 500; text-decoration: line-through; text-decoration-thickness: 2px; }

/* quem conduz */
.person { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 32px; align-items: start; }
.avatar { width: 132px; height: 132px; border-radius: 50%; padding: 5px; border: 2px solid currentColor; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; gap: 20px; } .avatar { width: 112px; height: 112px; } }

/* linha do tempo */
.tl > li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 2px solid var(--line); }
.tl > li:last-child { border-bottom: 2px solid var(--line); }
.tl .y { font-family: var(--mono); font-size: 17px; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); padding-top: 2px; }
.tl p { margin: 0; max-width: 60ch; }
@media (max-width: 600px) { .tl > li { grid-template-columns: 1fr; gap: 4px; } }

/* fluxo do clique ao cliente */
.flow { display: flex; flex-direction: column; gap: 0; }
.flow li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 20px; background: var(--beige); color: var(--blue); }
.flow li + li { margin-top: 26px; position: relative; }
.flow li + li::before { content: ""; position: absolute; left: 45px; top: -26px; width: 2px; height: 26px; background: var(--beige); opacity: 0.6; }
.flow .n { font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.flow b { display: block; font-size: 20px; line-height: 1.25; }
.flow small { display: block; font-size: 15px; line-height: 1.4; margin-top: 2px; }
.flow li.last { background: var(--yellow); }

/* simulação de conversa (só em peças sobre WhatsApp) */
.chat { background: var(--beige); color: var(--blue); padding: 20px; max-width: 480px; width: 100%; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(2, 76, 139, 0.24); }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; }
.chat-head b { font-size: 17px; }
.chat-head span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.msgs { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.msg { max-width: 82%; padding: 10px 14px 8px; font-size: 16px; line-height: 1.45; }
.msg time { display: block; text-align: right; margin-top: 2px; font-family: var(--mono); font-size: 11px; opacity: 0.85; }
.msg.in { align-self: flex-start; background: var(--blue); color: var(--beige); }
.msg.out { align-self: flex-end; background: var(--green); color: var(--ink); }

/* programação */
.agenda > li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 2px solid var(--line); }
.agenda > li:last-child { border-bottom: 2px solid var(--line); }
.agenda time { font-family: var(--mono); font-size: 17px; font-weight: 600; color: var(--accent); padding-top: 2px; }
.agenda p { margin: 4px 0 0; }

/* lotes */
.price { margin: 0 0 6px; font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -0.02em; }

/* chamada final */
.cta h2 { max-width: 18ch; }
.contact { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 32px; font-size: 18px; font-weight: 500; }
.contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact .ic { width: 22px; height: 22px; }

/* rodapé */
.site-footer { padding: 72px 0 40px; border-top: 1px solid rgba(254, 234, 212, 0.18); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 36px; }
.site-footer .brand img { height: 54px; }
.site-footer p { font-size: 16px; line-height: 1.55; max-width: 34ch; margin-top: 20px; }
.site-footer .label { margin-bottom: 14px; }
.site-footer li { margin: 0 0 10px; }
.site-footer li a { text-decoration: none; font-size: 16px; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .contact { flex-direction: column; gap: 12px; margin-top: 0; font-size: 16px; }
.site-footer .contact .ic { width: 20px; height: 20px; color: var(--yellow); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 2px solid var(--line); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.85; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* botão flutuante do WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--blue); border: 2px solid var(--blue); box-shadow: 0 6px 18px rgba(2, 40, 80, 0.25); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float:hover { background: var(--blue); color: var(--yellow); border-color: var(--yellow); }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .btn { width: 100%; justify-content: center; }
  .nlist > li { grid-template-columns: 44px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card, .btn { transition: none; } }

/* menu de serviços */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px; background: none; border: 0; border-bottom: 2px solid transparent; color: inherit; font: 500 15px/1.6 var(--font); white-space: nowrap; cursor: pointer; }
.dd-btn .ic { width: 14px; height: 14px; transition: transform 0.15s; }
.dd-btn:hover { color: var(--yellow); }
.dd-btn[data-current] { border-bottom-color: var(--yellow); }
.dd.open .dd-btn .ic { transform: rotate(180deg); }
.dd-menu { display: none; position: absolute; left: 0; top: 100%; z-index: 60; min-width: 300px; padding: 10px 0; background: var(--blue); border: 1px solid rgba(254, 234, 212, 0.22); box-shadow: 0 16px 32px rgba(2, 30, 60, 0.3); }
.dd.open .dd-menu { display: block; }
.nav .dd-menu a { display: block; padding: 12px 22px; border-bottom: 0; }
.nav .dd-menu a[aria-current="page"] { color: var(--yellow); border-bottom-color: transparent; }
@media (hover: hover) and (min-width: 1101px) { .dd:hover .dd-menu { display: block; } }
@media (max-width: 1100px) {
  .dd-btn { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 18px; border-bottom: 1px solid rgba(254, 234, 212, 0.18); }
  .dd-btn .ic { width: 18px; height: 18px; }
  .dd-btn[data-current] { color: var(--yellow); border-bottom-color: rgba(254, 234, 212, 0.18); }
  .dd-menu { position: static; min-width: 0; padding: 0 0 0 18px; border: 0; box-shadow: none; }
  .nav .dd-menu a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(254, 234, 212, 0.18); }
  .nav .dd-menu a[aria-current="page"] { border-bottom-color: rgba(254, 234, 212, 0.18); }
}

/* blog */
.narrow { max-width: 880px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { min-height: 44px; padding: 8px 16px; border: 2px solid var(--line); background: transparent; color: var(--fg); font: 500 15px/1.3 var(--font); cursor: pointer; }
.filters button:hover { border-color: var(--fg); }
.filters button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.filters button small { font-family: var(--mono); font-size: 12px; margin-left: 6px; opacity: 0.8; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .posts { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; text-decoration: none; transition: transform 0.15s; }
.pcard:hover { transform: translateY(-3px); }
.pcard:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pcard .cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.pcard .cover img { width: 100%; height: 100%; object-fit: cover; }
.pcard .body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 28px; }
.pcard h3 { font-size: clamp(21px, 1.8vw, 25px); }
.pcard p { margin: 0; font-size: 16px; line-height: 1.55; }
.pcard .meta { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.9; }
.sk { background: var(--line); animation: sk 1.4s ease-in-out infinite; }
.sk-card { min-height: 430px; }
.sk-row { height: 150px; margin-top: 2px; }
@keyframes sk { 50% { opacity: 0.45; } }
.empty { font-size: 19px; max-width: 60ch; padding: 28px 0; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.empty p { margin: 0 0 12px; }
.empty p:last-child { margin: 0; }

/* post */
.post-hero h1 { max-width: 22ch; }
.post-hero .kicker a { text-decoration: none; }
.post-hero .kicker a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.post-cover { background: linear-gradient(var(--blue) 0 50%, var(--beige) 50% 100%); }
.post-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-hero.has-cover { padding-bottom: clamp(36px, 4vw, 56px); }
.prose { font-size: 19px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose li p { margin: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.9em; max-width: none; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.01em; }
.prose h3, .prose h4 { font-size: clamp(22px, 2vw, 26px); }
.prose > :first-child { margin-top: 0; }
.prose ul > li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); }
.prose ul > li:last-child { border-bottom: 1px solid var(--line); }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: 22px; width: 9px; height: 9px; background: var(--accent); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 12px 0; border-top: 1px solid var(--line); }
.prose ol > li:last-child { border-bottom: 1px solid var(--line); }
.prose ol > li::before { content: counter(n, decimal-leading-zero); padding-top: 3px; font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--mark, var(--blue)); font-size: clamp(21px, 2vw, 25px); line-height: 1.45; font-weight: 500; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose img { width: 100%; height: auto; }
.prose hr { border: 0; border-top: 2px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose td { padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.byline { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--line); }
.byline img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.byline b { display: block; font-size: 17px; }
.byline span { font-size: 15px; }

/* agenda */
.events > li { display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 16px 32px; align-items: start; padding: 32px 0; border-top: 2px solid var(--line); }
.events > li:last-child { border-bottom: 2px solid var(--line); }
.ev-date { font-family: var(--mono); font-weight: 600; color: var(--accent); }
.ev-date b { display: block; font-family: var(--font); font-size: clamp(44px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.02em; color: var(--fg); }
.ev-date span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase; }
.ev-body h3 { margin: 8px 0 10px; }
.ev-body p { margin: 0; max-width: 62ch; }
.ev-info { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 16px; font-size: 16px; font-weight: 500; }
.ev-info span { display: inline-flex; align-items: center; gap: 8px; }
.ev-info .ic { width: 18px; height: 18px; color: var(--accent); }
.ev-go { align-self: center; }
.ev-img { width: 240px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.badge { display: inline-block; margin-left: 10px; padding: 3px 8px; background: var(--yellow); color: var(--blue); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 2px; }
@media (max-width: 860px) {
  .events > li { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .ev-date { display: flex; align-items: baseline; gap: 14px; }
  .ev-date span { margin-top: 0; }
  .ev-go { align-self: start; }
  .ev-img { width: 100%; max-width: 480px; }
}

/* clientes */
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
.groups .names { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
@media (max-width: 800px) { .groups { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .sk { animation: none; } .pcard, .dd-btn .ic { transition: none; } }
.post-hero .kicker span { display: inline-flex; gap: 12px; }
.events > li.sk { display: block; height: 140px; padding: 0; border: 0; margin-top: 12px; }
#home-posts:not([hidden]) + p { margin-top: 40px; }

/* ilustrações da marca */
.head-ill { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 40px; }
.head-ill .ill { position: relative; z-index: 1; width: clamp(150px, 17vw, 230px); height: auto; margin-bottom: -52px; }
@media (max-width: 700px) {
  .head-ill { grid-template-columns: 1fr; }
  .head-ill .ill { order: -1; justify-self: end; width: 128px; margin: -24px 0 -8px; }
}
/* ilustração em destaque (Cursos e Agenda) */
.head-ill.ill-xl { position: relative; --ill-w: clamp(220px, 27vw, 400px); }
.head-ill.ill-xl.ill-short { --ill-w: clamp(200px, 23vw, 330px); }
@media (min-width: 701px) {
  .head-ill.ill-xl { grid-template-columns: minmax(0, 1fr); padding-right: calc(var(--gutter) + var(--ill-w) + 24px); }
  .head-ill.ill-xl .ill { position: absolute; right: var(--gutter); bottom: -52px; width: var(--ill-w); margin: 0; }
}
@media (max-width: 700px) { .head-ill.ill-xl .ill { width: 190px; margin: -44px 0 -8px; } }
.ill-panel { margin: 0; justify-self: end; width: 100%; max-width: 400px; padding: clamp(16px, 2.4vw, 30px); background: var(--beige); }
.ill-panel img { width: 100%; height: auto; }
@media (max-width: 900px) { .ill-panel { justify-self: start; max-width: 300px; } }
.svc.ills a { grid-template-columns: 84px minmax(0, 1fr) auto; }
.svc-ill { width: 84px; height: 84px; object-fit: contain; }
@media (max-width: 600px) { .svc.ills a { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 16px; } .svc-ill { width: 60px; height: 60px; } }
.stamped { position: relative; }
.ph .stamp { position: absolute; z-index: 2; top: -40px; left: -40px; width: 128px; height: 128px; transform: rotate(-14deg); }
@media (max-width: 900px) { .ph .stamp { width: 96px; height: 96px; top: -30px; left: auto; right: 12px; } }

/* painel de turmas: fotos com duotone azul e bege da marca */
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--blue); border-top: 4px solid var(--blue); border-bottom: 4px solid var(--blue); }
.tgrid figure { position: relative; margin: 0; height: 100%; }
.tgrid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: url(#duo-azul); }
.tgrid figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 8px; background: var(--beige); color: var(--blue); font-family: var(--mono); font-size: 11px; line-height: 1.2; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 1000px) { .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) and (min-width: 601px) { .tgrid li:first-child { grid-column: span 3; } .tgrid li:first-child img { aspect-ratio: 16 / 8; } }
@media (max-width: 600px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tgrid li:first-child, .tgrid li:last-child { grid-column: span 2; } .tgrid figcaption { left: 6px; bottom: 6px; font-size: 10px; } }
/* home: painel de turmas no destaque inicial */
.hero-turmas { padding-bottom: 0; }
.turmas-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; margin-top: clamp(48px, 6vw, 80px); margin-bottom: 22px; }
.turmas-head p { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.5; }
.hero-turmas .tgrid { border-bottom: 0; }
/* destaque Inove+Digital no histórico */
.feature h3 { margin: 14px 0 18px; max-width: 30ch; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.feature p { max-width: 68ch; font-size: 19px; }
.feature .facts b { white-space: normal; }
@media (max-width: 600px) { .brand img { height: 40px; } }
/* desktop: foto ou ilustração do topo das páginas internas em painel de altura total, sangrando à direita */
@media (min-width: 901px) {
  .hero { position: relative; }
  .hero .hero-grid:has(> figure) { min-height: clamp(460px, 58vh, 640px); align-items: center; }
  .hero .hero-grid:has(> figure) > div:first-child { max-width: calc(57vw - max(var(--gutter), (100vw - var(--maxw)) / 2 + var(--gutter)) - 48px); }
  .hero .hero-grid > figure.ph, .hero .hero-grid > figure.ill-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 41vw; max-width: none; margin: 0; justify-self: auto; }
  .hero .hero-grid > figure.ph img:not(.stamp) { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
  .hero .hero-grid > figure.ill-panel { display: flex; align-items: center; justify-content: center; padding: clamp(40px, 5vw, 88px); }
  .hero .hero-grid > figure.ill-panel img { width: 100%; max-width: 480px; height: auto; max-height: 100%; object-fit: contain; }
  .hero .hero-grid > figure .stamp { top: clamp(32px, 4vw, 56px); left: -64px; }
  .hero .hero-grid > figure.ph figcaption { position: absolute; left: 24px; bottom: 24px; margin: 0; padding: 7px 10px; background: var(--beige); color: var(--blue); opacity: 1; }
}

/* símbolo Maristo com fotos de turmas (home e trios das páginas internas) */
.hero-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-mark { margin: 0; }
.hero-mark svg, .trio svg { display: block; width: 100%; height: auto; overflow: visible; }
.trio { margin: 0; max-width: 520px; }
@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .trio { max-width: 280px; justify-self: start; }
}
@media (min-width: 901px) {
  .hero .hero-grid > figure.trio { position: absolute; top: 0; right: 0; bottom: 0; width: 41vw; max-width: none; margin: 0; display: flex; align-items: center; justify-content: center; padding: clamp(24px, 3vw, 48px) clamp(24px, 4vw, 72px); }
  .hero .hero-grid > figure.trio svg { width: auto; height: 100%; max-height: 640px; max-width: 100%; }
}

/* como trabalhamos: passos com cor, ícone e seta */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: clamp(24px, 2.6vw, 34px); transition: transform 0.2s ease; }
.step:hover { transform: translateY(-4px); }
.step-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.step-ic { width: 52px; height: 52px; }
.step .num { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; }
.step h3 { margin: 0; }
.step p { margin: 0; }
.s1 { background: var(--blue); color: var(--beige); }
.s1 .step-ic { color: var(--yellow); }
.s2 { background: var(--red); color: #FFFFFF; }
.s2 .step-ic { color: var(--beige); }
.s3 { background: var(--yellow); color: var(--blue); }
.s3 .step-ic { color: var(--red); }
.s4 { background: var(--blue); color: var(--beige); }
.s4 .step-ic { color: var(--yellow); }
.step:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 50%; right: -21px; width: 12px; height: 12px; border-top: 3px solid var(--blue); border-right: 3px solid var(--blue); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .step:not(:last-child)::after { display: none; } }
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step:not(:last-child)::after { display: block; top: auto; right: auto; left: 50%; bottom: -22px; transform: translateX(-50%) rotate(135deg); }
}
@media (prefers-reduced-motion: reduce) { .step { transition: none; } }
/* histórico: símbolo com foto no canto do título */
.head-mark { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 40px; }
.head-mark-fig { position: relative; z-index: 1; width: clamp(220px, 24vw, 340px); margin: 0 0 -56px; }
.head-mark-fig svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 700px) { .head-mark { grid-template-columns: 1fr; } .head-mark-fig { order: -1; justify-self: end; width: 170px; margin: -24px 0 -8px; } }

/* home: vitrine de serviços em carrossel, ilustração de um lado e serviço do outro */
.sc { position: relative; }
.sc-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; }
.sc-tabs::-webkit-scrollbar { display: none; }
.sc-tab { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 16px; border: 2px solid var(--blue); background: transparent; color: var(--blue); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.15s, color 0.15s; }
.sc-tab small { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.sc-tab:hover { background: rgba(2, 76, 139, 0.08); }
.sc-tab[aria-selected="true"] { background: var(--blue); color: var(--beige); }
.sc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.sc-track::-webkit-scrollbar { display: none; }
.sc-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: clamp(420px, 40vw, 540px); }
.sc-anchor { position: absolute; top: -120px; left: 0; }
.sc-art { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 64px); background: #FFF6EC; border: 2px solid var(--blue); border-right: 0; }
.sc-art img { width: 100%; max-width: 440px; height: auto; max-height: 420px; object-fit: contain; }
.sc-body { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(28px, 4vw, 56px); background: var(--blue); color: var(--beige); --accent: var(--yellow); --btn-bg: var(--yellow); --btn-fg: var(--blue); --btn-hover: var(--beige); }
.sc-body .label { color: var(--yellow); }
.sc-count { position: absolute; top: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; opacity: 0.8; }
.sc-body h3 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.sc-body p { margin: 0; font-size: 19px; line-height: 1.55; max-width: 40ch; }
.sc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; padding: 0; }
.sc-chips li { padding: 6px 10px; border: 1.5px solid rgba(254, 234, 212, 0.45); font-size: 14px; line-height: 1.3; }
.sc-body .btn { align-self: flex-start; }
.sc-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.sc-nav button { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--blue); background: transparent; color: var(--blue); cursor: pointer; transition: background 0.15s, color 0.15s; }
.sc-nav button:hover { background: var(--blue); color: var(--beige); }
.sc-nav button:disabled { opacity: 0.35; cursor: default; background: transparent; color: var(--blue); }
.sc-nav .ic { width: 22px; height: 22px; }
.sc-prev .ic { transform: rotate(180deg); }
.sc-slide:nth-child(2) .sc-body { background: var(--red); color: #FFFFFF; }
.sc-slide:nth-child(2) .sc-body .label { color: var(--beige); }
.sc-slide:nth-child(4) .sc-body { background: var(--red); color: #FFFFFF; }
.sc-slide:nth-child(4) .sc-body .label { color: var(--beige); }
.sc-slide:nth-child(2) .sc-chips li, .sc-slide:nth-child(4) .sc-chips li { border-color: rgba(255, 255, 255, 0.55); }
@media (max-width: 800px) {
  .sc-slide { grid-template-columns: 1fr; min-height: 0; }
  .sc-art { border-right: 2px solid var(--blue); border-bottom: 0; padding: 24px; }
  .sc-art img { max-width: 240px; max-height: 220px; }
  .sc-body h3 { font-size: 26px; }
  .sc-body p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .sc-track { scroll-behavior: auto; } .sc-tab, .sc-nav button { transition: none; } }

/* Marcas atendidas: mosaico por setor */
.mos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.mos-card { position: relative; padding: clamp(22px, 2.6vw, 34px); border-radius: 4px; overflow: hidden; }
.mos-card.c-saude { grid-column: span 7; background: var(--red); color: #fff; }
.mos-card.c-seg { grid-column: span 5; background: var(--yellow); color: var(--blue); }
.mos-card.c-edu { grid-column: span 4; background: var(--beige); color: var(--blue); }
.mos-card.c-com { grid-column: span 8; background: #0B3F70; color: var(--beige); box-shadow: inset 0 0 0 1px var(--line); }
.mos-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mos-top h3 { margin: 0; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; font-weight: 600; color: inherit; }
.mos-n { font-family: var(--mono); font-weight: 600; font-size: clamp(44px, 5vw, 72px); line-height: .9; opacity: .9; }
.mos-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.mos-chips li { padding: 9px 16px; border-radius: 999px; font-size: 15.5px; font-weight: 500; line-height: 1.2; border: 1.5px solid currentColor; transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
.mos-chips li:hover { transform: translateY(-2px); }
.c-saude .mos-chips li:hover { background: #fff; color: var(--red); border-color: #fff; }
.c-seg .mos-chips li:hover, .c-edu .mos-chips li:hover { background: var(--blue); color: var(--beige); border-color: var(--blue); }
.c-com .mos-chips li:hover { background: var(--yellow); color: var(--blue); border-color: var(--yellow); }
.mos-card { padding-bottom: calc(clamp(22px, 2.6vw, 34px) + clamp(57px, 5.7vw, 81px) + 18px); }
.mos-card > * { position: relative; z-index: 1; }
.mos-card::after { content: ""; position: absolute; right: clamp(20px, 2.4vw, 30px); bottom: clamp(18px, 2.2vw, 28px); width: clamp(80px, 8vw, 114px); aspect-ratio: 157 / 112; background: currentColor; opacity: .16; -webkit-mask: url(/assets/simbolo.svg) center / contain no-repeat; mask: url(/assets/simbolo.svg) center / contain no-repeat; pointer-events: none; }
@media (max-width: 800px) { .mos-card.c-saude, .mos-card.c-seg, .mos-card.c-edu, .mos-card.c-com { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .mos-chips li { transition: none; } .mos-chips li:hover { transform: none; } }