/* Mãe Experiente — home and Quem Somos (Brand Entity, 2026-12-05).
   Brand blue/pink come from the theme; the "-ink" shades are the darker
   versions used under or behind text, so white on them passes 4.5:1. */
.me-brand {
  --me-blue: #43a4d7;
  --me-blue-ink: #1d6a96;
  --me-pink: #e8467d;
  --me-pink-ink: #b8235a;
  --me-navy: #203f52;
  --me-tint: #f3f8fb;
  --me-pink-tint: #fdf0f4;
  --me-text: #3d3d3d;
  --me-line: #e3edf3;
  --me-radius: 14px;
  --me-radius-sm: 8px;
  --me-shadow: 0 6px 22px rgb(32 63 82 / 10%);
  --me-gap: clamp(16px, 2.4vw, 28px);
  --me-section: clamp(40px, 6vw, 72px);
  --me-head: "Roboto Slab", Georgia, serif;
  --me-body: "Lato", system-ui, sans-serif;

  color: var(--me-text);
  font-family: var(--me-body);
  font-size: 17px;
  line-height: 1.65;
}

/* The theme lays the header over the home hero (absolute). The new hero
   starts below it instead, so no heading hides behind a wrapped menu. */
.home .header-wrap { position: relative; }

/* Theme wrappers around these two pages add their own padding. */
.home .site-content,
body:has(.me-about) .site-content { padding: 0; }

.me-brand h1,
.me-brand h2,
.me-brand h3 {
  color: var(--me-navy);
  font-family: var(--me-head);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
}
.me-brand p { margin: 0 0 1em; }
.me-brand a { color: var(--me-blue-ink); }

.me-h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  text-align: center;
}
.me-h2::after {
  background: var(--me-pink);
  border-radius: 2px;
  content: "";
  display: block;
  height: 4px;
  margin: 14px auto 0;
  width: 64px;
}

/* Buttons */
.me-actions { margin: 1.4em 0 0; }
.me-btn {
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
  line-height: 1.3;
  padding: 0.85em 1.6em;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.me-btn:hover { transform: translateY(-1px); }
.me-brand .me-btn--primary { background: var(--me-pink-ink); color: #fff; }
.me-brand .me-btn--primary:hover { background: var(--me-navy); }
.me-brand .me-btn--light { background: #fff; color: var(--me-navy); }
.me-brand .me-btn--light:hover { background: var(--me-pink-tint); }
.me-brand .me-btn--outline { border: 2px solid var(--me-blue-ink); color: var(--me-blue-ink); }
.me-brand .me-btn--outline:hover { background: var(--me-blue-ink); color: #fff; }
.me-btn:focus-visible,
.me-links a:focus-visible { outline: 3px solid var(--me-pink); outline-offset: 3px; }

/* Hero: a card set below the header, with the photo kept visible. The
   overlay is darkest where the text sits and light toward the edges. */
.home .site-header,
body:has(.me-about) .site-header { box-shadow: 0 3px 14px rgb(0 0 0 / 14%); }
.me-hero {
  background-color: var(--me-navy);
  background-position: center 30%;
  background-size: cover;
  border: 3px solid #fff;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgb(32 63 82 / 22%), 0 0 0 1px var(--me-line);
  margin-top: clamp(16px, 2.4vw, 28px);
  overflow: hidden;
  position: relative;
}
.me-hero::before {
  background: radial-gradient(ellipse 62% 78% at 50% 50%, rgb(32 63 82 / 80%) 0%, rgb(32 63 82 / 64%) 55%, rgb(32 63 82 / 24%) 100%);
  content: "";
  inset: 0;
  position: absolute;
}
.me-hero__inner {
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(56px, 9vw, 110px) 24px;
  position: relative;
  text-align: center;
}
.me-brand .me-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgb(0 0 0 / 35%);
  font-size: clamp(32px, 5vw, 52px);
}
.me-brand .me-hero__lead {
  color: #fff;
  text-shadow: 0 1px 10px rgb(0 0 0 / 45%);
  font-size: clamp(17px, 2vw, 20px);
  margin: 0 auto;
  max-width: 700px;
}

/* Intro */
.me-intro {
  font-size: 19px;
  margin: var(--me-section) auto 0;
  max-width: 760px;
  padding: 0 24px;
  text-align: center;
}

/* Sections and grids */
.me-section { padding: var(--me-section) 24px 0; }
.me-section--tint {
  background: var(--me-tint);
  border-radius: var(--me-radius);
  margin-top: var(--me-section);
  padding-bottom: var(--me-section);
}
.me-section__lead {
  margin: 0 auto 2em;
  max-width: 760px;
  text-align: center;
}
.me-grid {
  display: grid;
  gap: var(--me-gap);
  margin: 2em auto 0;
  max-width: 1120px;
}
.me-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.me-grid--guides { display: flex; flex-wrap: wrap; justify-content: center; }
.me-grid--guides > .me-guide { flex: 0 1 calc((100% - 2 * var(--me-gap)) / 3); }

.me-card {
  background: #fff;
  border: 1px solid var(--me-line);
  border-radius: var(--me-radius);
  border-top: 5px solid var(--me-pink);
  box-shadow: var(--me-shadow);
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
}
.me-card:nth-child(even) { border-top-color: var(--me-blue); }
.me-brand .me-card h3,
.me-brand .me-guide h3 { font-size: 21px; }
.me-card p { flex: 1; font-size: 16px; }

.me-links {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.me-links li { margin: 0; }
.me-brand .me-links a {
  background: var(--me-tint);
  border: 1px solid var(--me-line);
  border-radius: 999px;
  color: var(--me-blue-ink);
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 0.45em 0.95em;
  text-decoration: none;
}
.me-brand .me-links a:hover { background: var(--me-blue-ink); border-color: var(--me-blue-ink); color: #fff; }

.me-guide {
  background: #fff;
  border-radius: var(--me-radius);
  box-shadow: var(--me-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.me-guide img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}
.me-guide__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}
.me-guide__body p { flex: 1; font-size: 16px; }
.me-section--tint .me-links a { background: #fff; }

/* Split bands */
.me-split {
  align-items: center;
  border-radius: var(--me-radius);
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) auto;
  margin: var(--me-section) 0 0;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
}
.me-split--blue { background: var(--me-blue-ink); }
.me-split--pink { background: var(--me-pink-ink); grid-template-columns: auto minmax(0, 1fr); }
.me-brand .me-split h2,
.me-split p { color: #fff; }
.me-brand .me-split h2 { font-size: clamp(26px, 3vw, 34px); }
.me-split__img {
  border: 5px solid #fff;
  border-radius: 50%;
  display: block;
  height: auto;
  max-width: 260px;
  width: 100%;
}
.me-split__figure { margin: 0; text-align: center; }
.me-split__figure figcaption {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-top: 12px;
}

/* Method */
.me-method {
  margin: var(--me-section) auto 0;
  max-width: 820px;
  padding: 0 24px;
  text-align: center;
}

/* In the media: small, grey logos that only take colour on hover */
.me-media {
  margin: var(--me-section) auto 0;
  max-width: 980px;
  padding: 0 24px;
  text-align: center;
}
.me-brand .me-media__title {
  color: #5a5a5a;
  font-family: var(--me-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.me-media__logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(24px, 4vw, 48px);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.me-media__logos li { margin: 0; }
.me-media__logos img {
  display: block;
  filter: grayscale(1) contrast(1.15);
  height: 54px;
  object-fit: contain;
  opacity: 0.8;
  transition: filter 0.2s ease, opacity 0.2s ease;
  width: auto;
}
.me-media__logos img:hover { filter: none; opacity: 1; }

/* Closing */
.me-closing {
  border-top: 1px solid var(--me-line);
  margin: var(--me-section) auto 0;
  max-width: 820px;
  padding: 32px 24px 48px;
  text-align: center;
}
.me-slogan {
  color: var(--me-navy);
  font-family: var(--me-head);
  font-size: 22px;
}
.me-health { color: #5a5a5a; font-size: 15px; }

/* Quem Somos */
.me-page-hero {
  background: var(--me-navy);
  border: 3px solid #fff;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgb(32 63 82 / 22%), 0 0 0 1px var(--me-line);
  margin-top: clamp(16px, 2.4vw, 28px);
  padding: clamp(48px, 7vw, 88px) 24px;
  text-align: center;
}
.me-brand .me-page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 46px);
}
.me-brand .me-lead {
  color: #fff;
  font-size: clamp(17px, 2vw, 20px);
  margin: 0 auto;
  max-width: 720px;
}
.me-prose {
  margin: 0 auto;
  max-width: 760px;
  padding: var(--me-section) 24px 48px;
}
.me-prose section { margin: 0 0 2.4em; }
.me-brand .me-prose h2 {
  border-left: 5px solid var(--me-pink);
  font-size: clamp(24px, 2.8vw, 30px);
  padding-left: 14px;
}
.me-prose ul { margin: 0 0 1em 1.2em; }
.me-prose li { margin: 0 0 0.35em; }
.me-founder {
  align-items: center;
  background: var(--me-pink-tint);
  border-radius: var(--me-radius);
  display: grid;
  gap: 28px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 28px;
}
.me-founder img {
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: var(--me-shadow);
  display: block;
  height: auto;
  width: 100%;
}
.me-founder a,
.me-callout a { color: var(--me-pink-ink); font-weight: 700; }
.me-callout {
  background: var(--me-tint);
  border-radius: var(--me-radius);
  padding: 26px 28px 10px;
}
.me-prose .me-slogan { margin-top: 1em; text-align: center; }

/* Small screens */
@media (max-width: 960px) {
  .me-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .me-grid--guides > .me-guide { flex-basis: calc((100% - var(--me-gap)) / 2); }
}
@media (max-width: 680px) {
  .me-brand { font-size: 16px; }
  .me-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .me-grid--guides > .me-guide { flex-basis: 100%; }
  .me-split,
  .me-split--pink { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .me-split__img { margin: 0 auto; max-width: 200px; }
  .me-split--blue .me-split__img { order: -1; }
  .me-founder { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .me-founder img { margin: 0 auto; max-width: 160px; }
  .me-brand .me-prose h2 { text-align: left; }
  .me-section, .me-intro, .me-method { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .me-btn, .me-media__logos img { transition: none; }
  .me-btn:hover { transform: none; }
}

/* Marcia Toledo's author page (2026-12-06): profile hero and bio above the article list. */
body:has(.me-author) .site-header { box-shadow: 0 3px 14px rgb(0 0 0 / 14%); }
.me-author__hero { padding-top: clamp(32px, 5vw, 56px); }
.me-author__photo {
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: var(--me-shadow);
  display: block;
  height: auto;
  margin: 0 auto 18px;
  max-width: 150px;
  width: 40%;
}
.me-brand .me-author__intro { font-size: 1.1em; }
.me-prose .me-author__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}
.me-prose .me-author__social li { margin: 0; }
.me-author__social a {
  border: 2px solid var(--me-blue-ink);
  border-radius: 999px;
  color: var(--me-blue-ink);
  display: inline-block;
  font-weight: 700;
  padding: 6px 18px;
  text-decoration: none;
}
.me-author__social a:hover,
.me-author__social a:focus-visible { background: var(--me-blue-ink); color: #fff; }
.me-author .me-prose { padding-bottom: 8px; }
.me-prose .me-author__posts { margin-bottom: 1.2em; }
/* A text link inside the pink "Sobre" block (home) reads white on pink-ink. */
.me-split--pink .me-split__text a:not(.me-btn) {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
