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

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hp {
  position: absolute;
  left: -9999px;
}

.site-header {
  background: var(--header-bg);
}

.branding {
  background: var(--header-bg);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 16px 8px;
}

.logo img {
  display: block;
  width: 170px;
  height: auto;
}

.header-widgets {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-right: 8px;
}

.social-row {
  display: flex;
  gap: 8px;
  padding-top: 6px;
}

.soc {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1a1a7a;
  text-decoration: none;
}

.soc-facebook { background: #1a237e; }
.soc-instagram { background: #1a237e; }
.soc-mail { background: #1a237e; }
.footer-social .soc-instagram { background: #7b1fa2; }
.footer-social .soc { width: 36px; height: 36px; }

.header-phone-search {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.phone-img img {
  width: 250px;
  height: auto;
  display: block;
}

.searchform {
  display: flex;
  height: 42px;
  max-width: 350px;
  width: 280px;
  margin-top: 2px;
  overflow: hidden;
}

.searchform label {
  flex: 1;
}

.searchform .s {
  width: 100%;
  height: 42px;
  border: 1px solid #cfcfcf;
  border-right: 0;
  padding: 0 12px;
  font-family: var(--font);
  font-size: 14px;
  background: #fff;
}

.searchsubmit {
  width: 48px;
  background: #02027a;
  color: #fff;
  border: 0;
  cursor: pointer;
}

#access {
  background: var(--nav-bg);
  height: 58px;
}

.prime-nav {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  display: flex;
  align-items: stretch;
  height: 58px;
}

.prime-nav > li {
  position: relative;
}

.prime-nav > li > a {
  display: flex;
  align-items: center;
  height: 58px;
  padding: 0 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  text-transform: none;
}

.prime-nav > li.current > a,
.prime-nav > li > a:hover {
  background: var(--nav-hover);
}

.prime-nav > li.has-children > a span::after {
  content: " ▾";
  font-size: 11px;
}

.sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 280px;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

.prime-nav > li:hover > .sub-menu,
.prime-nav > li:focus-within > .sub-menu,
.prime-nav > li.open > .sub-menu {
  display: block;
}

.sub-menu a {
  display: block;
  padding: 8px 18px;
  color: #222;
  font-family: var(--font);
  font-size: 14px;
  text-decoration: none;
}

.sub-menu a:hover {
  background: #f3f3f3;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: var(--nav-bg);
  border: 0;
  color: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 13px;
}

.nav-toggle span {
  top: 23px;
}

.nav-toggle span::before {
  content: "";
  top: -7px;
}

.nav-toggle span::after {
  content: "";
  top: 7px;
}

.home-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #9fd4f0;
}

.slides {
  height: 400px;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide-inner {
  text-align: center;
  padding: 0 24px 40px;
  max-width: 900px;
}

.titulo {
  color: #2242ce;
  font-size: 42px;
  font-weight: 700;
  font-family: var(--font-display);
  margin: 0 0 18px;
  line-height: 1.2;
}

.subtitulo {
  color: #000;
  font-size: 30px;
  font-weight: 700;
  font-family: var(--font-display);
  margin: 0 0 22px;
}

.saiba-mais {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  padding: 10px 16px;
  background: #02027a;
  color: #fff !important;
  text-decoration: none;
}

.saiba-mais:hover {
  color: #fff !important;
  text-decoration: none;
}

.slider-notch {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 36px solid #fff;
  z-index: 3;
}

.home-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px 28px;
}

.home-intro h2 {
  color: #02027a;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
}

.home-intro p {
  margin: 0 0 22px;
  color: #333;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #02027a;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.btn-navy:hover {
  text-decoration: none;
  background: #02028e;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1140px;
  margin: 8px auto 36px;
  padding: 0 20px;
}

.home-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
}

.home-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.home-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(40, 40, 40, 0.72);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-family: var(--font-display);
  font-size: 18px;
}

.home-distancia {
  display: grid;
  grid-template-columns: 62% 38%;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 565px;
  background-image: url("/assets/img/wp/reiki-a-distancia.jpg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.yellow-box {
  background: #f7f46a;
  padding: 16px 20px 18px;
  max-width: 560px;
  margin-bottom: 16px;
}

.yellow-box h2 {
  color: #02027a;
  font-size: 28px;
  font-family: var(--font-display);
  margin: 0 0 8px;
}

.yellow-box p {
  margin: 0;
}

.distancia-copy {
  padding: 28px 24px 24px 8px;
  min-width: 0;
}

.distancia-visual {
  min-height: 280px;
  min-width: 0;
}

.distancia-cta {
  text-align: right;
  max-width: 560px;
  margin: 0 0 28px;
}

.home-news h3 {
  color: #02027a;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.home-news ul,
.depo-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-news li {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.home-news a,
.depo-box a {
  color: #2242ce;
  text-decoration: none;
}

.home-news time,
.depo-box time {
  display: block;
  color: #555;
  font-size: 14px;
}

.home-depo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #c7c7c7;
  max-width: 1200px;
  margin: 0 auto 0;
  align-items: stretch;
}

.home-depo .depo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.depo-box {
  padding: 18px 24px 24px;
}

.depo-box h3 {
  color: #02027a;
  font-size: 22px;
  margin: 0 0 12px;
}

.depo-box ul {
  background: #02027a;
  color: #fff;
  padding: 18px 20px;
}

.depo-box a {
  color: #fff;
}

.depo-box time {
  color: #d7d7ff;
}

.depo-box li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 0;
}

.depo-box li:last-child {
  border-bottom: 0;
}

.entry,
.archive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

.entry-title {
  color: #02027a;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}

.entry-content h1.titulo {
  font-size: 36px;
  text-align: left;
  margin: 0 0 18px;
  border: 0;
  padding: 0;
  line-height: 1.25;
}

.entry-meta {
  color: #3d4ea6;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 22px;
}

.entry-content {
  color: #222;
}

.panel-layout,
.panel-grid {
  width: 100%;
}

.panel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 18px;
}

.panel-grid-cell {
  flex: 1 1 280px;
  min-width: 0;
}

.entry-content p {
  margin: 0 0 16px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #02027a;
  font-family: var(--font-display);
}

.entry-content img {
  height: auto;
}

.entry-content .alignright,
.entry-content img.alignright,
.featured-img {
  float: right;
  margin: 0 0 16px 24px;
  max-width: 320px;
}

.entry-content .alignleft,
.entry-content img.alignleft {
  float: left;
  margin: 0 24px 16px 0;
}

.entry-content .aligncenter {
  display: block;
  margin: 12px auto;
}

.entry-content::after {
  content: "";
  display: table;
  clear: both;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 16px;
  background: #f4f4f4;
}

.post-nav a {
  color: #2242ce;
  max-width: 46%;
}

.archive-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.archive-item h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-family: var(--font-display);
}

.archive-item .thumb img {
  width: 210px;
  height: 140px;
  object-fit: cover;
}

.site-footer {
  background: var(--footer-bg);
  border-top: 40px solid #02027a;
  color: #333;
}

.footer-widgets {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr auto 1.1fr 1fr;
  gap: 28px;
  padding: 28px 20px 36px;
  align-items: start;
}

.newsletter p {
  margin: 0 0 8px;
  font-size: 14px;
}

.cf7-form input[type="text"],
.cf7-form input[type="email"],
.cf7-form textarea,
.cf7-form input[type="search"] {
  width: 100%;
  max-width: 420px;
  border: 1px solid #ccc;
  padding: 7px 8px;
  font-family: var(--font);
  font-size: 14px;
}

.cf7-form textarea {
  min-height: 160px;
}

.cf7-form button,
.wpcf7-submit {
  background: #f3f3f3;
  border: 1px solid #ccc;
  padding: 6px 14px;
  cursor: pointer;
  font-family: var(--font);
}

.captcha-row {
  font-size: 13px;
  margin: 8px 0;
  overflow: hidden;
}

.g-recaptcha {
  display: inline-block;
  max-width: 100%;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 28px;
}

.footer-links ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.footer-links li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #cfcfcf;
  padding: 10px 0;
}

.footer-links a {
  color: #3d4ea6;
}

.footer-links .plus {
  color: #888;
}

.footer-contact h3 {
  background: #dedede;
  margin: 0 0 12px;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  color: #333;
}

.footer-phone a {
  font-family: var(--font);
  font-size: 30px;
  color: #1c5082;
}

.vivo {
  font-size: 18px;
  margin: 0 0 12px;
}

.footer-logo img {
  width: 260px;
  height: auto;
  background: #fff;
}

#footer2 {
  background: #02027a;
  min-height: 36px;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid #ccc;
  background: #f4f4f4;
  cursor: pointer;
  z-index: 12;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: grid;
  place-items: center;
  z-index: 50;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .home-distancia,
  .home-depo,
  .archive-item,
  .footer-widgets {
    grid-template-columns: 1fr;
  }

  .home-distancia {
    background-size: cover;
    background-position: 70% 50%;
    min-height: 0;
    padding-bottom: 200px;
  }

  .distancia-visual {
    display: none;
  }
}

@media (max-width: 800px) {
  .header-container {
    flex-direction: column;
    min-height: 0;
    padding-bottom: 12px;
  }

  .header-widgets,
  .header-phone-search {
    width: 100%;
    align-items: center;
  }

  .social-row {
    justify-content: center;
  }

  .searchform {
    width: min(100%, 350px);
  }

  .nav-toggle {
    display: block;
    width: 100%;
    text-align: left;
  }

  #access {
    display: none;
    height: auto;
  }

  #access.is-open {
    display: block;
  }

  .prime-nav {
    flex-direction: column;
    height: auto;
  }

  .prime-nav > li > a {
    height: auto;
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sub-menu {
    position: static;
    box-shadow: none;
    background: #01015a;
  }

  .sub-menu a {
    color: #fff;
  }

  .home-slider {
    height: 360px;
  }

  .titulo {
    font-size: 28px;
  }

  .subtitulo {
    font-size: 20px;
  }

  .home-cards {
    grid-template-columns: 1fr;
  }

  .entry-content .alignright,
  .entry-content img.alignright,
  .featured-img {
    float: none;
    display: block;
    margin: 0 auto 16px;
  }

  .entry-title {
    font-size: 28px;
  }
}
