:root {
  --white: #ffffff;
  --paper: #f4f2ef;
  --paper-2: #ece9e4;
  --ink: #181619;
  --graphite: #242126;
  --muted: #706b71;
  --line: rgba(24, 22, 25, 0.14);
  --purple: #5e147b;
  --purple-deep: #31083f;
  --purple-light: #8a4aa1;
  --aqua: #6edbd5;
  --orange: #f05a28;
  --orange-hover: #d94817;
  --container: min(1240px, calc(100vw - 96px));
  --header-height: 55px;
  --radius: 4px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow-x: hidden;
  overflow-y: scroll;
}

body.menu-open::before {
  position: fixed;
  inset: 0;
  z-index: 19;
  background: rgba(10, 8, 12, 0.68);
  content: "";
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.06;
  text-wrap: balance;
}

h2 {
  font-size: clamp(42px, 5.25vw, 78px);
}

h1 em,
h2 em {
  color: var(--purple-light);
  font-style: normal;
}

.container {
  position: relative;
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--white);
  background: var(--orange);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-height);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 44px;
  padding: 11px;
  place-content: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 23px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--transition), background var(--transition);
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: center;
  content: "";
}

.menu-icon::before { transform: translateY(-7px); }
.menu-icon::after { transform: translateY(7px); }

.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.main-nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1;
  display: flex;
  width: clamp(360px, 32vw, 460px);
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  padding: clamp(118px, 16vh, 154px) 46px 32px;
  border: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: -18px 0 50px rgba(20, 12, 23, 0.16);
}

.main-nav[hidden] {
  display: none;
}

.main-nav a {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover {
  color: var(--purple);
  border-bottom-color: currentColor;
}

.menu-brand {
  position: absolute;
  top: 26px;
  left: 46px;
  color: var(--purple);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}

body.menu-open .brand {
  opacity: 0;
  pointer-events: none;
}

body.menu-open .menu-toggle {
  position: fixed;
  top: 6px;
  right: 24px;
  color: var(--purple);
}

body.menu-open .site-header {
  background: transparent;
}

.site-header.is-sticky { color: var(--purple); background: rgba(255, 255, 255, 0.97); }

.hero {
  position: relative;
  display: flex;
  min-height: 640px;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: 860px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #151216;
}

.hero-environment,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-environment img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-environment::after {
  position: absolute;
  inset: 0;
  content: "";
  background: transparent;
}

.hero-shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 8, 12, 0.58) 0%, rgba(10, 8, 12, 0.43) 31%, rgba(10, 8, 12, 0.08) 57%, rgba(10, 8, 12, 0.05) 100%), linear-gradient(0deg, rgba(8, 7, 9, 0.48), transparent 52%);
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  width: var(--container);
  height: calc(100% - var(--header-height));
  margin-top: var(--header-height);
  padding: 0;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 720px;
  transform: translateY(-24px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 1px;
  background: var(--orange);
  content: "";
}

.eyebrow-light {
  color: var(--aqua);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(58px, 6.2vw, 96px);
  line-height: 0.96;
}

.hero h1 span {
  display: block;
}

.hero h1 span:nth-child(2),
.hero h1 span:nth-child(3) {
  color: #e2c5ea;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.post-body > a span {
  transition: transform var(--transition);
}

.post-body > a:hover span {
  transform: translate(3px, -3px);
}

.hero-social,
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.hero-social a,
.footer-social a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}

.social-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.hero-social a { color: rgba(255,255,255,.72); }
.hero-social a:hover { color: var(--ink); background: var(--aqua); }
.footer-social a:hover { color: var(--ink); background: var(--aqua); }

.section-about {
  background: var(--white);
}

.about-heading {
  margin: 0;
}

.about-heading h2 {
  max-width: 12ch;
}

.about-deck {
  max-width: 32ch;
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(94, 20, 123, 0.2);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}

.about-content {
  padding-top: 0;
}

.about-prose {
  max-width: 760px;
  color: #504c51;
  font-size: 20px;
  line-height: 1.68;
  letter-spacing: -0.01em;
}

.about-prose p {
  margin-bottom: 28px;
}

.about-prose a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-lead {
  color: var(--ink);
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.02em;
}

.about-signature {
  position: relative;
  max-width: 690px;
  margin: 50px 0 0;
  padding-left: 28px;
  color: var(--purple);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.about-signature::before {
  position: absolute;
  top: 0.2em;
  bottom: 0.14em;
  left: 0;
  width: 4px;
  background: var(--orange);
  content: "";
}

.section-journey {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
  margin-bottom: 60px;
}

.section-heading h2 {
  max-width: 13ch;
}

.section-heading > p {
  max-width: 500px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 18px;
}

.journey-heading {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(48px, 6vw, 82px);
  align-items: end;
  margin-bottom: 68px;
}

.journey-heading h2 {
  max-width: 15ch;
}

.journey-heading > p {
  max-width: 34ch;
  margin: 0 0 8px;
  padding-left: 26px;
  border-left: 3px solid var(--orange);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.55;
}

.journey-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 70px);
  padding-top: 6px;
}

.journey-grid::before {
  position: absolute;
  top: 27px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(94, 20, 123, 0.26);
  content: "";
}

.journey-item {
  position: relative;
  z-index: 1;
}

.journey-marker {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 36px;
  place-items: center;
  border: 1px solid rgba(94, 20, 123, 0.4);
  border-radius: 50%;
  color: var(--purple);
  background: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.journey-label,
.pillar-number {
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.journey-item h3 {
  max-width: none;
  min-height: 2.24em;
  margin-bottom: 12px;
  color: var(--purple);
  font-size: clamp(27px, 2.05vw, 30px);
  font-weight: 500;
  line-height: 1.12;
}

.journey-item > p:last-child {
  max-width: 35rem;
  margin-bottom: 0;
  color: var(--muted);
}

.section-pillars {
  color: var(--white);
  background:
    radial-gradient(circle at 96% 8%, rgba(110, 219, 213, 0.15), transparent 24%),
    linear-gradient(135deg, var(--purple-deep), #211126 72%);
}

.section-pillars::after {
  position: absolute;
  right: -80px;
  bottom: -80px;
  display: none;
}

.pillars-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
  margin-bottom: 64px;
}

.pillars-intro h2 {
  max-width: 15ch;
}

.pillars-intro h2 em {
  color: #c397d2;
}

.pillars-copy {
  max-width: 590px;
  padding-top: 6px;
}

.pillars-copy p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
  line-height: 1.65;
}

.pillars-copy p:last-child {
  margin-bottom: 0;
}

.pillars-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pillars-grid article {
  min-height: 390px;
  padding: 36px 34px 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 3px solid var(--aqua);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.pillars-grid article:nth-child(2) {
  border-top-color: var(--orange);
  transform: translateY(24px);
}

.pillars-grid .pillar-number {
  margin-bottom: 72px;
  color: var(--aqua);
}

.pillars-grid article:nth-child(2) .pillar-number {
  color: var(--orange);
}

.pillars-grid h3 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(32px, 3vw, 44px);
}

.pillars-grid article > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.pillars-closing {
  position: relative;
  max-width: 780px;
  margin: 72px 0 0 auto;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.pillars-closing::before {
  position: absolute;
  top: 0.2em;
  bottom: 0.16em;
  left: 0;
  width: 3px;
  background: var(--orange);
  content: "";
}

.section-execution {
  background: var(--paper);
}

.execution-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  margin-bottom: 52px;
}

.execution-intro h2 {
  max-width: 14ch;
  color: var(--purple);
}

.execution-copy {
  max-width: 620px;
  padding-top: 5px;
}

.execution-copy p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.execution-copy p:first-child {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}

.execution-copy p:last-child {
  margin-bottom: 0;
}

.execution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.execution-grid article {
  min-height: 150px;
  margin: 0;
  padding: 25px 24px 23px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.7);
}

.execution-grid h3 {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.12;
}

.execution-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.execution-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.execution-footer > p:first-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.5;
}

.execution-cta {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.execution-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.execution-cta a::after {
  content: "↗";
  transition: transform var(--transition);
}

.execution-cta a:hover::after,
.execution-cta a:focus-visible::after {
  transform: translate(3px, -3px);
}

.section-blog {
  background: var(--white);
}

.blog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
}

.blog-heading h2 {
  color: var(--purple);
}

.blog-heading > p {
  max-width: 540px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 18px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 24px;
  align-items: start;
}

.post-card {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.post-visual {
  position: relative;
  height: 250px;
  margin-bottom: 0;
  overflow: hidden;
  background: var(--graphite);
}

.post-card-featured .post-visual {
  height: 340px;
}

.post-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: rgba(94, 20, 123, 0.13);
  mix-blend-mode: color;
}

.post-visual img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 500ms ease;
}

.post-card:hover .post-visual img {
  filter: saturate(1.08);
  transform: scale(1.025);
}

.post-body {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 26px 28px 28px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.post-meta span:first-child {
  color: var(--purple);
}

.post-body h3 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.3vw, 33px);
}

.post-body p {
  margin-bottom: 26px;
  color: var(--muted);
}

.post-body > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
}

.section-contact {
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(circle at 83% 26%, rgba(138, 74, 161, 0.52), transparent 28%),
    linear-gradient(115deg, var(--purple-deep) 0%, #241126 64%, var(--graphite) 100%);
}

.contact-pattern {
  position: absolute;
  inset: 0 0 0 50%;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(64px, 10vw, 145px);
  align-items: end;
}

.section-contact > .contact-grid {
  width: var(--container) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

.section-contact .contact-grid > .wp-block-group {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  justify-self: stretch;
}

.section-contact h2 {
  max-width: 11ch;
}

.section-contact h2 em {
  color: #c397d2;
}

.contact-copy {
  padding-bottom: 8px;
}

.contact-copy p {
  max-width: 520px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.site-footer {
  padding: 28px 0 22px;
  color: rgba(255, 255, 255, 0.48);
  background: #151316;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand p,
.footer-inner > p {
  margin-bottom: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  line-height: 1.5;
}

.footer-cookie-preferences {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.footer-legal-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.footer-legal-menu li + li::before,
.footer-cookie-preferences::before {
  content: "|";
}

.footer-cookie-preferences::before {
  margin-right: 8px;
}

.footer-legal-menu a {
  color: inherit;
  text-decoration: none;
}

.footer-cookie-preferences:hover,
.footer-cookie-preferences:focus-visible,
.footer-legal-menu a:hover,
.footer-legal-menu a:focus-visible {
  text-decoration: underline;
}

/* Documentos legais: leitura longa, sem herdar títulos de seção da Home. */
body:has(.alex-legal) .site-header {
  color: var(--white);
  background: #151316;
}

.page-main:has(.alex-legal) .page-content {
  width: min(100% - 40px, 860px);
}

.page-main:has(.alex-legal) h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.alex-legal h2 {
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.3;
  margin: 36px 0 14px;
}

.alex-legal p {
  line-height: 1.75;
  margin-bottom: 18px;
}

.alex-legal a {
  color: #641580;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: inherit;
  text-decoration: underline;
}


@media (max-width: 1100px) {
  :root {
    --container: min(100% - 64px, 960px);
  }

  .hero-grid {
    grid-template-columns: 1fr 0.55fr;
  }

  .about-grid {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
  }

  .pillars-grid article {
    padding-inline: 26px;
  }

  .blog-grid {
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
  }

  .post-body {
    padding-inline: 22px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: calc(100vw - 48px);
  }

  .section {
    padding: 72px 0 80px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 112px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 20px;
    flex-wrap: wrap;
  }

  .main-nav a {
    padding-block: 5px;
  }

  .hero {
    min-height: 820px;
    height: auto;
    max-height: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 820px;
    align-items: start;
    padding: 156px 0 340px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero h1 {
    font-size: clamp(54px, 10vw, 78px);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(17, 10, 20, 0.96) 0%, rgba(35, 13, 45, 0.82) 48%, rgba(20, 14, 22, 0.22) 78%),
      linear-gradient(0deg, rgba(12, 10, 13, 0.72), transparent 46%);
  }

  .about-grid,
  .section-heading,
  .pillars-intro,
  .execution-intro,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 40px;
  }

  .about-content {
    max-width: 650px;
    margin-left: auto;
    padding-top: 0;
  }

  .section-heading,
  .pillars-intro {
    gap: 28px;
  }

  .section-heading > p,
  .pillars-copy {
    max-width: 650px;
    margin-left: auto;
  }

  .journey-heading {
    gap: 26px;
    margin-bottom: 52px;
  }

  .journey-heading > p {
    max-width: 38ch;
    margin: 0;
    padding-left: 22px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 62px;
  }

  .journey-grid::before {
    top: 0;
    bottom: 0;
    left: 21px;
    width: 1px;
    height: auto;
  }

  .journey-item {
    padding-bottom: 44px;
  }

  .journey-item:last-child {
    padding-bottom: 0;
  }

  .journey-marker {
    position: absolute;
    top: 0;
    left: -62px;
    margin-bottom: 0;
  }

  .journey-item h3 {
    max-width: 28ch;
    min-height: 0;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .execution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .execution-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pillars-grid article,
  .pillars-grid article:nth-child(2) {
    min-height: 0;
    transform: none;
  }

  .pillars-grid .pillar-number {
    margin-bottom: 38px;
  }

  .blog-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .post-card-featured {
    grid-row: 1 / span 2;
  }

  .post-card-featured .post-visual {
    height: 380px;
  }

  .post-card:not(.post-card-featured) .post-visual {
    height: 210px;
  }

  .post-body {
    min-height: 0;
  }

  .contact-grid {
    gap: 38px;
  }

  .contact-copy {
    max-width: 650px;
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --container: calc(100vw - 40px);
    --header-height: 55px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 58px 0 66px;
  }

  h2 {
    font-size: 42px;
    line-height: 1.1;
  }

  .header-inner {
    align-items: center;
    min-height: 124px;
  }

  .main-nav {
    justify-content: center;
    gap: 4px 15px;
  }

  .main-nav a {
    font-size: 8px;
  }

  .hero {
    min-height: 900px;
  }

  .hero-grid {
    min-height: 900px;
    padding: 156px 0 390px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: 48px;
  }

  .hero-lead {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-environment img {
    object-position: 66% center;
  }

  .prose {
    font-size: 17px;
  }

  .about-heading {
    max-width: 650px;
  }

  .about-deck {
    margin-top: 24px;
    padding-top: 18px;
    font-size: 17px;
  }

  .about-prose {
    font-size: 18px;
    line-height: 1.68;
  }

  .about-lead {
    font-size: 22px;
  }

  .about-signature {
    margin-top: 42px;
    padding-left: 22px;
    font-size: 27px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading > p,
  .blog-heading > p {
    font-size: 16px;
  }

  .journey-item h3 {
    font-size: 28px;
  }

  .pillars-grid {
    gap: 18px;
  }

  .pillars-grid article {
    padding: 28px 24px 30px;
  }

  .pillars-grid .pillar-number {
    margin-bottom: 28px;
  }

  .pillars-grid h3 {
    font-size: 35px;
  }

  .pillars-closing {
    margin-top: 46px;
    padding-left: 20px;
    font-size: 22px;
  }

  .execution-intro {
    margin-bottom: 38px;
  }

  .execution-copy p:first-child {
    font-size: 19px;
  }

  .execution-grid {
    grid-template-columns: 1fr;
  }

  .execution-grid article {
    min-height: 0;
    padding: 24px 22px;
  }

  .execution-footer {
    margin-top: 34px;
  }

  .blog-heading {
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 24px;
    margin-bottom: 36px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .post-card-featured {
    grid-row: auto;
  }

  .post-card-featured .post-visual,
  .post-card:not(.post-card-featured) .post-visual {
    height: 300px;
  }

  .post-body {
    padding: 24px 22px 26px;
  }

  .contact-pattern {
    inset: 45% 0 0 0;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%);
    mask-image: linear-gradient(180deg, transparent, #000 30%);
  }

  .contact-copy p {
    font-size: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 44px;
  }

  .main-nav {
    gap-inline: 11px;
  }

  .post-card-featured .post-visual,
  .post-card:not(.post-card-featured) .post-visual {
    height: 260px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: var(--header-height);
    flex-direction: row;
    align-items: center;
  }

  .brand,
  .menu-toggle {
    position: relative;
    z-index: 2;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    width: auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(16px, 3vh, 24px);
    padding: max(88px, 12vh) max(28px, 12vw) max(36px, 8vh);
    border: 0;
    color: var(--white);
    background: var(--purple-deep);
    box-shadow: none;
  }

  .main-nav[hidden] {
    display: none;
  }

  .main-nav a {
    width: 100%;
    padding: 0 0 12px;
    border-bottom-color: rgba(255, 255, 255, 0.18);
    font-size: clamp(24px, 5vw, 38px);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .menu-brand {
    top: 20px;
    left: max(28px, 12vw);
    color: var(--white);
    font-size: 17px;
  }

  body.menu-open .site-header {
    color: var(--white);
    background: transparent;
  }

  body.menu-open .menu-toggle {
    right: 16px;
    color: var(--white);
  }

  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero-grid {
    min-height: calc(760px - var(--header-height));
    margin-top: var(--header-height);
    padding: 0;
    align-items: center;
  }

  .hero-copy { transform: translateY(-12px); }

  .hero-environment img { object-position: 61% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(10, 8, 12, .76) 0%, rgba(10, 8, 12, .38) 57%, rgba(10, 8, 12, .15) 100%); }
}

@media (max-width: 600px) {
  .header-inner { min-height: var(--header-height); }
  .brand { font-size: 17px; }
  .hero {
    min-height: 680px;
    height: 100svh;
  }
  .hero-grid { min-height: calc(680px - var(--header-height)); }
  .hero-copy { transform: none; }
  .hero-copy.is-layout-constrained > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(34px, 12vw, 46px);
    line-height: 1.06;
  }
  .hero-lead {
    max-width: 31ch;
    margin-bottom: 18px;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.5;
  }
  .hero-actions { gap: 14px; }
  .hero-social { flex-basis: 100%; }
  .hero-environment img { object-position: 72% center; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 8, 12, 0.96) 0%, rgba(10, 8, 12, 0.83) 58%, rgba(10, 8, 12, 0.28) 100%),
      linear-gradient(0deg, rgba(10, 8, 12, 0.58), transparent 58%);
  }
  .footer-social { order: 3; width: 100%; }
}

@media (max-width: 390px) {
  .hero-grid {
    min-height: calc(680px - var(--header-height));
  }

  .hero-environment img {
    object-position: 74% center;
  }

  .hero-social a {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Integração dos blocos Gutenberg com a composição aprovada. */
/* Os filhos do grid precisam ocupar as colunas do protótipo. O layout
   constrained do core aplica margens auto !important e os faz encolher. */
:is(.section-about, .section-journey, .section-pillars, .section-execution) .wp-block-group.is-layout-constrained > :where(:not(.container):not(.alignleft):not(.alignright):not(.alignfull)) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.section-blog .blog-heading.is-layout-constrained > .wp-block-group {
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-self: start;
  text-align: left;
}

@media (max-width: 820px) {
  .section-about .about-grid.is-layout-constrained > .about-content,
  .section-pillars .pillars-intro.is-layout-constrained > .pillars-copy,
  .section-execution .execution-intro.is-layout-constrained > .execution-copy {
    margin-left: auto !important;
  }
}

.wp-block-group.container,
.wp-block-group.hero-grid,
.wp-block-group.about-grid,
.wp-block-group.journey-grid,
.wp-block-group.pillars-grid,
.wp-block-group.execution-grid,
.wp-block-group.contact-grid,
.wp-block-group.blog-heading,
.wp-block-group.pillars-intro,
.wp-block-group.execution-intro,
.wp-block-group.execution-footer {
  max-width: none;
}

.hero > .hero-environment,
.hero > .hero-shade {
  margin: 0;
}

.hero-environment {
  z-index: 0;
}

.hero-shade {
  z-index: 1;
}

.hero-grid {
  z-index: 2;
}

.hero-environment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .wp-block-social-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.hero .wp-block-social-links .wp-social-link {
  display: flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  line-height: 0;
}

.hero .wp-block-social-links .wp-social-link:hover {
  color: inherit;
  background: transparent;
  transform: none;
}

.hero .wp-block-social-links .wp-social-link .wp-block-social-link-anchor {
  display: flex;
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .08);
  line-height: 0;
}

.hero .wp-block-social-links .wp-social-link .wp-block-social-link-anchor:hover {
  color: var(--ink);
  background: var(--aqua);
}

.hero .wp-block-social-links .wp-social-link svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
}

.hero .wp-block-buttons,
.section-contact .wp-block-buttons {
  margin: 0;
}

.hero .wp-block-button__link,
.section-contact .wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 2px;
  color: var(--white);
  background: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.section-contact .contact-whatsapp .wp-block-button__link {
  gap: 10px;
  background: #25d366;
}

.section-contact .contact-whatsapp .wp-block-button__link::before {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("../images/whatsapp.svg") center / contain no-repeat;
  content: "";
}

.section-contact .contact-whatsapp .wp-block-button__link:hover {
  background: #1fba59;
}

.about-grid,
.pillars-intro,
.execution-intro,
.contact-grid,
.blog-heading {
  display: grid;
}

.journey-grid,
.pillars-grid,
.execution-grid {
  list-style: none;
}

.journey-item,
.pillars-grid > .wp-block-group,
.execution-grid > .wp-block-group,
.post-card {
  margin: 0;
}

.home-query,
.home-query .wp-block-query,
.home-query .wp-block-post-template {
  margin: 0;
}

.home-query .wp-block-post-template {
  padding: 0;
  list-style: none;
}

.home-query .wp-block-post {
  min-width: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.home-query .post-visual {
  position: relative;
  display: grid;
  height: 250px;
  overflow: hidden;
  place-items: center;
  color: rgba(255, 255, 255, .9);
  background: linear-gradient(135deg, #211c22 0 48%, var(--purple) 48% 78%, var(--orange) 78%);
}

.home-query .wp-block-post:nth-child(3n + 2) .post-visual {
  color: var(--purple);
  background: linear-gradient(45deg, transparent 40%, rgba(94, 20, 123, .1) 40% 60%, transparent 60%), var(--paper-2);
}

.home-query .wp-block-post:nth-child(3n + 3) .post-visual {
  background: radial-gradient(circle at 82% 30%, transparent 0 16%, rgba(255, 255, 255, .1) 16.5% 21%, transparent 21.5%), var(--purple);
}

.home-query .post-visual::before {
  content: "AA";
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.06em;
}

.home-query .post-visual .wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  margin: 0;
}

.home-query .post-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-query .post-body {
  min-height: 330px;
}

.home-query .post-meta {
  width: 100%;
}

.home-query .wp-block-post-terms,
.home-query .wp-block-post-date {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-query .wp-block-post-terms {
  color: var(--purple);
}

.home-query .wp-block-post-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.3vw, 33px);
}

.home-query .wp-block-post-excerpt {
  margin-bottom: 26px;
  color: var(--muted);
}

.home-query .wp-block-post-excerpt__more-link {
  display: inline-flex;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
}

.primary-menu,
.social-menu {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu .menu-item {
  width: 100%;
}

.main-nav .primary-menu {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.main-nav .menu-item-cta {
  margin-top: auto;
}

.main-nav .menu-item-cta > a {
  gap: 10px;
  justify-content: center;
  padding: 16px 20px;
  color: var(--white);
  background: #25d366;
  text-align: center;
  border-bottom: 0;
}

.main-nav .menu-item-cta > a::before {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("../images/whatsapp.svg") center / contain no-repeat;
  content: "";
}

.main-nav .menu-item-cta > a:hover {
  color: var(--white);
  background: #1fba59;
  border-bottom-color: transparent;
}

.footer-social .social-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social .menu-item {
  display: flex;
  margin: 0;
  line-height: 0;
}

.footer-social a {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: rgba(255, 255, 255, .74);
  line-height: 1;
}

.footer-social .social-icon {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.page-main {
  min-height: 70vh;
  padding-top: calc(var(--header-height) + 80px);
}

.page-main .site-header,
.blog-main + .site-footer {
  position: relative;
}

.comments-area {
  padding-top: 42px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.comments-area h2,
.comment-reply-title {
  font-size: 28px;
}

.comment-list {
  padding-left: 1.2em;
}

.comment-form label {
  display: block;
  font-weight: 700;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
}

.comment-form .submit {
  padding: 12px 18px;
  border: 0;
  color: var(--white);
  background: var(--orange);
  font-weight: 700;
}

@media (max-width: 820px) {
  .main-nav .primary-menu {
    flex: 0 1 auto;
    gap: 12px;
  }

  .main-nav .primary-menu > .menu-item:not(.menu-item-cta) > a {
    padding-bottom: 11px;
    line-height: 1.18;
  }

  .main-nav .menu-item-cta {
	width: auto;
	align-self: flex-start;
	margin-top: 0;
  }

  .main-nav .menu-item-cta > a {
	width: max-content;
	min-height: 42px;
	gap: 8px;
	justify-content: center;
	padding: 10px 14px;
	color: var(--white);
	background: #25d366;
	font-size: 15px;
	line-height: 1.2;
	text-align: center;
	border-bottom: 0;
  }

  .main-nav .menu-item-cta > a::before {
	width: 17px;
	height: 17px;
	flex-basis: 17px;
  }

  .main-nav .menu-item-cta > a:hover {
	color: var(--white);
	background: #1fba59;
  }

  .home-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .footer-social .social-menu {
    flex-wrap: wrap;
  }
}
