/*
Theme Name: Arte do Manejo
Theme URI: https://artedomanejo.com.br/
Author: Arte do Manejo
Description: Tema editorial para a Arte do Manejo, com landing page, páginas institucionais e blog.
Version: 1.0.2
Text Domain: arte-do-manejo
*/

:root {
  --adm-canopy: #1a241e;
  --adm-deep: #111a15;
  --adm-mist: #e8efec;
  --adm-bone: #f4f1ec;
  --adm-clay: #c85a3c;
  --adm-clay-hover: #d86949;
  --adm-gold: #d9a526;
  --adm-muted: #68716b;
  --adm-line: rgba(26,36,30,.16);
  --adm-shell: 1185px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--adm-canopy); background: var(--adm-bone); font-family: "Manrope", Arial, sans-serif; font-size: 16px; overflow-x: hidden; }
body.admin-bar .adm-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.adm-shell { width: min(var(--adm-shell), calc(100% - 64px)); margin-inline: auto; }
.screen-reader-text, .adm-skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.adm-skip-link:focus { z-index: 1000; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 12px 16px; color: #fff; background: var(--adm-clay); }

.adm-header { position: fixed; z-index: 100; inset: 0 0 auto; min-height: 84px; color: var(--adm-mist); background: rgba(26,36,30,.88); border-bottom: 1px solid rgba(232,239,236,.1); backdrop-filter: blur(18px); }
.adm-header__inner { min-height: 84px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.adm-brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.adm-brand__mark { width: 54px; height: 54px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #fff; }
.adm-brand__mark img, .custom-logo { width: 54px; height: 54px; object-fit: cover; }
.adm-brand__name { font-family: "Fraunces", Georgia, serif; font-size: 17px; font-weight: 500; white-space: nowrap; }
.adm-navigation { min-width: 0; }
.adm-menu { display: flex; justify-content: flex-end; align-items: center; gap: clamp(13px,1.45vw,23px); margin: 0; padding: 0; list-style: none; }
.adm-menu a { color: rgba(232,239,236,.68); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; transition: color .2s ease; }
.adm-menu a:hover, .adm-menu a:focus-visible, .adm-menu .current-menu-item > a { color: var(--adm-mist); }
.adm-menu__cta-mobile { display: none; }
.adm-header__cta, .adm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.2; text-align: center; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.adm-header__cta, .adm-button--primary { color: #fff; background: var(--adm-clay); box-shadow: 0 0 0 4px rgba(200,90,60,.16); }
.adm-header__cta { max-width: 215px; }
.adm-header__cta:hover, .adm-button--primary:hover { color: #fff; background: var(--adm-clay-hover); transform: translateY(-2px); }
.adm-button--outline { color: var(--adm-mist); border: 1px solid rgba(232,239,236,.45); }
.adm-button--outline:hover { color: var(--adm-deep); background: var(--adm-gold); border-color: var(--adm-gold); transform: translateY(-2px); }
.adm-menu-toggle { display: none; }
.adm-main { min-height: 60vh; padding-top: 84px; }

.adm-kicker { margin: 0 0 18px; color: var(--adm-clay); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.adm-kicker::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 11px 3px 0; background: currentColor; }

.adm-blog-hero { position: relative; padding: 110px 0 95px; color: var(--adm-mist); background: var(--adm-canopy); overflow: hidden; }
.adm-blog-hero::after { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),radial-gradient(circle at 82% 25%,rgba(217,165,38,.18),transparent 30%); background-size: 4px 4px,4px 4px,auto; }
.adm-blog-hero .adm-shell { position: relative; z-index: 1; }
.adm-blog-hero h1, .adm-page__header h1, .adm-article__header h1, .adm-not-found h1 { max-width: 850px; margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(52px,7vw,92px); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.adm-blog-hero > div > p:last-child { max-width: 660px; margin: 28px 0 0; color: rgba(232,239,236,.7); font-size: 18px; line-height: 1.7; }

.adm-blog-index { padding: 95px 0 115px; }
.adm-post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.adm-post-card { min-width: 0; overflow: hidden; border: 1px solid var(--adm-line); border-radius: 22px; background: rgba(255,255,255,.55); transition: transform .25s ease, box-shadow .25s ease; }
.adm-post-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(26,36,30,.11); }
.adm-post-card:first-child { grid-column: span 2; }
.adm-post-card__image { height: 265px; display: grid; place-items: center; overflow: hidden; color: rgba(232,239,236,.72); background: var(--adm-canopy); font-family: "Fraunces", Georgia, serif; font-size: 25px; }
.adm-post-card:first-child .adm-post-card__image { height: 380px; }
.adm-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.adm-post-card:hover .adm-post-card__image img { transform: scale(1.035); }
.adm-post-card__body { padding: 27px; }
.adm-post-meta { margin: 0; color: var(--adm-clay); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.adm-post-meta a { color: inherit; }
.adm-post-card h2 { margin: 14px 0; font-family: "Fraunces", Georgia, serif; font-size: 29px; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.adm-post-card:first-child h2 { font-size: 38px; }
.adm-post-card__body > p:not(.adm-post-meta) { color: var(--adm-muted); font-size: 14px; line-height: 1.65; }
.adm-read-more { display: inline-block; margin-top: 12px; color: var(--adm-clay); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.adm-pagination { margin-top: 60px; }
.adm-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.adm-pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--adm-line); border-radius: 999px; font-size: 12px; }
.adm-pagination .current { color: #fff; background: var(--adm-clay); border-color: var(--adm-clay); }
.adm-empty { padding: 70px; text-align: center; border: 1px solid var(--adm-line); border-radius: 22px; }
.adm-empty h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 38px; font-weight: 500; }

.adm-article__header, .adm-page__header { padding: 95px 0 70px; color: var(--adm-mist); background: var(--adm-canopy); }
.adm-article__narrow { max-width: 820px; }
.adm-article__header h1, .adm-page__header h1 { font-size: clamp(46px,6.2vw,78px); }
.adm-article__header .adm-post-meta { margin-top: 24px; color: rgba(232,239,236,.62); }
.adm-article__cover, .adm-page__cover { margin-top: 55px; }
.adm-article__cover img, .adm-page__cover img { width: 100%; max-height: 690px; object-fit: cover; border-radius: 24px; }
.adm-entry-content { padding-top: 70px; padding-bottom: 90px; color: #3f4943; font-family: Georgia, serif; font-size: 19px; line-height: 1.85; }
.adm-entry-content > * { max-width: 100%; }
.adm-entry-content h2, .adm-entry-content h3 { margin: 2em 0 .7em; color: var(--adm-canopy); font-family: "Fraunces", Georgia, serif; font-weight: 500; line-height: 1.15; }
.adm-entry-content h2 { font-size: 40px; }
.adm-entry-content h3 { font-size: 30px; }
.adm-entry-content a { color: var(--adm-clay); text-decoration: underline; text-underline-offset: 3px; }
.adm-entry-content blockquote { margin: 2em 0; padding: 10px 0 10px 28px; border-left: 3px solid var(--adm-clay); color: var(--adm-canopy); font-family: "Fraunces", Georgia, serif; font-size: 28px; line-height: 1.45; }
.adm-entry-content img { border-radius: 18px; }
.adm-article__footer { padding-bottom: 100px; }
.adm-post-tags a { display: inline-block; margin: 0 7px 7px 0; padding: 8px 12px; border: 1px solid var(--adm-line); border-radius: 999px; font-size: 11px; }
.adm-article__footer .post-navigation { margin-top: 55px; padding-top: 30px; border-top: 1px solid var(--adm-line); }
.adm-article__footer .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.adm-article__footer .nav-next { text-align: right; }
.adm-article__footer .nav-links a { font-family: "Fraunces", Georgia, serif; font-size: 20px; }
.adm-article__footer .nav-links span { display: block; margin-bottom: 7px; color: var(--adm-clay); font-family: "Manrope",Arial,sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.adm-front-page { min-height: 30vh; }
.adm-page .adm-entry-content { min-height: 350px; }
.adm-not-found { padding: 120px 0; text-align: center; }
.adm-not-found h1 { margin-inline: auto; }
.adm-not-found > div > p:not(.adm-kicker) { margin: 25px auto 35px; color: var(--adm-muted); }

.adm-footer-cta { padding: 105px 0; color: var(--adm-mist); text-align: center; background: var(--adm-canopy); }
.adm-footer-cta .adm-shell { max-width: 850px; }
.adm-footer-cta .adm-kicker { color: var(--adm-gold); }
.adm-footer-cta h2 { margin: 0; font-family: "Fraunces",Georgia,serif; font-size: clamp(44px,5vw,70px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.adm-footer-cta > div > p:not(.adm-kicker) { max-width: 680px; margin: 24px auto 33px; color: rgba(232,239,236,.68); line-height: 1.7; }
.adm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; }
.adm-footer { padding: 52px 0 24px; color: var(--adm-mist); background: var(--adm-deep); }
.adm-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 60px; align-items: start; }
.adm-footer__grid p { max-width: 330px; color: rgba(232,239,236,.52); font-size: 13px; line-height: 1.6; }
.adm-footer-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 25px; margin: 0; padding: 8px 0 0; list-style: none; }
.adm-footer-menu a { color: rgba(232,239,236,.68); font-size: 12px; }
.adm-footer__contact { padding-top: 8px; }
.adm-footer__contact span { display: block; margin-bottom: 10px; color: var(--adm-gold); font-size: 9px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.adm-footer__contact a { white-space: nowrap; font-size: 14px; font-weight: 800; }
.adm-footer__bottom { display: flex; justify-content: space-between; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(232,239,236,.1); color: rgba(232,239,236,.38); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.adm-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; min-height: 50px; padding: 0 19px; border-radius: 999px; color: #fff; background: #20c96b; box-shadow: 0 12px 35px rgba(0,0,0,.24); font-size: 12px; font-weight: 800; }
.adm-whatsapp::before { content: "◉"; margin-right: 8px; font-size: 20px; }

@media (max-width: 1100px) {
  .adm-shell { width: min(var(--adm-shell), calc(100% - 40px)); }
  .adm-brand__name { display: none; }
  .adm-header__inner { gap: 16px; }
  .adm-menu { gap: 12px; }
  .adm-header__cta { max-width: 188px; padding-inline: 17px; }
}

@media (max-width: 880px) {
  body.admin-bar .adm-header { top: 46px; }
  .adm-header, .adm-header__inner { min-height: 74px; }
  .adm-header__inner { display: flex; }
  .adm-brand__name { display: inline; }
  .adm-main { padding-top: 74px; }
  .adm-header__cta { display: none; }
  .adm-menu-toggle { display: grid; gap: 5px; margin-left: auto; padding: 10px; border: 0; background: transparent; cursor: pointer; }
  .adm-menu-toggle span:not(.screen-reader-text) { width: 25px; height: 2px; background: var(--adm-mist); }
  .adm-navigation { position: absolute; inset: 74px 0 auto; max-height: 0; overflow: hidden; background: rgba(17,26,21,.985); border-bottom: 1px solid rgba(232,239,236,.1); transition: max-height .3s ease; }
  .adm-navigation.is-open { max-height: 520px; }
  .adm-menu { display: grid; gap: 0; }
  .adm-menu a { display: block; padding: 16px 25px; border-top: 1px solid rgba(232,239,236,.08); }
  .adm-menu__cta-mobile { display: block; }
  .adm-menu .adm-menu__cta-mobile a { margin: 12px 24px 20px; padding: 16px 20px; color: #fff; text-align: center; background: var(--adm-clay); border: 0; border-radius: 999px; }
  .adm-post-grid { grid-template-columns: 1fr 1fr; }
  .adm-post-card:first-child { grid-column: span 2; }
  .adm-footer__grid { grid-template-columns: 1fr 1fr; }
  .adm-footer__contact { grid-column: 2; }
}

@media (max-width: 620px) {
  .adm-shell { width: calc(100% - 36px); }
  .adm-brand__mark, .adm-brand__mark img, .adm-brand .custom-logo { width: 48px; height: 48px; }
  .adm-blog-hero { padding: 76px 0 70px; }
  .adm-blog-hero h1, .adm-page__header h1, .adm-article__header h1 { font-size: clamp(44px,13vw,62px); }
  .adm-blog-hero > div > p:last-child { font-size: 16px; }
  .adm-blog-index { padding: 60px 0 80px; }
  .adm-post-grid { grid-template-columns: 1fr; }
  .adm-post-card:first-child { grid-column: auto; }
  .adm-post-card:first-child .adm-post-card__image, .adm-post-card__image { height: 245px; }
  .adm-post-card:first-child h2, .adm-post-card h2 { font-size: 30px; }
  .adm-article__header, .adm-page__header { padding: 68px 0 55px; }
  .adm-article__cover, .adm-page__cover { width: 100%; margin-top: 0; }
  .adm-article__cover img, .adm-page__cover img { border-radius: 0; }
  .adm-entry-content { padding-top: 52px; font-size: 17px; }
  .adm-entry-content h2 { font-size: 34px; }
  .adm-entry-content blockquote { font-size: 24px; }
  .adm-article__footer .nav-links { grid-template-columns: 1fr; }
  .adm-article__footer .nav-next { text-align: left; }
  .adm-footer-cta { padding: 78px 0; }
  .adm-actions { flex-direction: column; align-items: center; }
  .adm-button { width: 100%; max-width: 335px; }
  .adm-footer__grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .adm-footer__grid .adm-brand { justify-content: center; }
  .adm-footer__grid p { margin-inline: auto; }
  .adm-footer-menu { justify-content: center; }
  .adm-footer__contact { grid-column: auto; }
  .adm-footer__bottom { flex-direction: column; align-items: center; gap: 8px; }
  .adm-whatsapp { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
