* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f9fc;
  color: #061b35;
  overflow-x: hidden;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

a {
  transition: 0.25s;
}

img {
  max-width: 100%;
  height: auto;
}


/* =========================================================
   HEADER / MENU
========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e7edf4;
  backdrop-filter: blur(15px);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  text-decoration: none;
  display: block;
}

.brand strong {
  display: block;
  color: #061b35;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.brand span {
  display: block;
  color: #238636;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.menu ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0;
}

.menu a {
  color: #061b35;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
}

.menu a:hover {
  color: #238636;
}

.top-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 22px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  transition: 0.25s;
}

.top-btn,
.primary {
  background: #238636;
  color: white;
  box-shadow: 0 12px 30px rgba(35, 134, 54, 0.25);
}

.top-btn:hover,
.primary:hover {
  background: #17672a;
  transform: translateY(-2px);
}

.secondary {
  border: 2px solid #061b35;
  color: #061b35;
  background: rgba(255, 255, 255, 0.45);
}

.secondary:hover {
  background: #061b35;
  color: white;
}

.secondary.dark {
  margin-top: 24px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #061b35;
  margin: 5px;
  border-radius: 99px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: 660px;
  padding-top: 94px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(246, 249, 252, 0.98) 0%,
      rgba(246, 249, 252, 0.94) 38%,
      rgba(246, 249, 252, 0.56) 70%,
      rgba(246, 249, 252, 0.22) 100%
    ),
    var(--bg);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(246, 249, 252, 0.96), rgba(246, 249, 252, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
  gap: 30px;
}

.hero-copy {
  padding-bottom: 56px;
}

.hero-copy span,
.title span,
.presence span,
.instagram span {
  color: #238636;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(44px, 5.2vw, 64px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -4px;
  text-transform: uppercase;
  max-width: 700px;
}

.hero h2 {
  margin: 8px 0 0;
  color: #238636;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -2px;
  text-transform: uppercase;
  max-width: 700px;
}

.hero p {
  margin: 20px 0 0;
  max-width: 455px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-photo {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 560px;
  overflow: visible;
}

.hero-photo::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: 78%;
  max-width: 430px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 27, 53, 0.32) 0%,
    rgba(6, 27, 53, 0.16) 42%,
    rgba(6, 27, 53, 0) 72%
  );
  filter: blur(8px);
  z-index: 0;
}

.hero-photo::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 120px;
  background: linear-gradient(
    0deg,
    rgba(246, 249, 252, 0.98) 0%,
    rgba(246, 249, 252, 0.78) 42%,
    rgba(246, 249, 252, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-photo img {
  position: relative;
  z-index: 2;
  width: min(410px, 88%);
  height: auto;
  max-height: 565px;
  object-fit: contain;
  object-position: bottom center;
  transform: translateY(14px);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.18));
}


/* =========================================================
   PROVA / RESUMO
========================================================= */

.proof {
  position: relative;
  margin-top: -34px;
  z-index: 5;
}

.proof-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #061b35;
  color: white;
  border-radius: 10px;
  padding: 25px 32px;
  box-shadow: 0 24px 55px rgba(6, 27, 53, 0.25);
}

.proof b {
  display: block;
  text-transform: uppercase;
}

.proof small {
  display: block;
  color: #d9e4ef;
  margin-top: 6px;
}


/* =========================================================
   SEÇÕES GERAIS
========================================================= */

.results,
.health,
.laws,
.instagram,
.newsletter {
  padding: 82px 0;
  background: white;
}

.health,
.instagram {
  background: #f6f9fc;
}

.title {
  text-align: center;
}

.title.left {
  text-align: left;
}

.title h2,
.presence h2,
.contact h2,
.instagram h2,
.newsletter h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1.04;
  letter-spacing: -2px;
  text-transform: uppercase;
  font-weight: 900;
}


/* =========================================================
   CARDS DE RESULTADOS
========================================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.result-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.cards article {
  background: white;
  border: 1px solid #e2eaf2;
  border-radius: 12px;
  text-align: center;
  padding: 30px 22px;
  box-shadow: 0 15px 35px rgba(6, 27, 53, 0.08);
  transition: 0.25s;
  height: 100%;
  cursor: pointer;
}

.result-card-link:hover article,
.cards article:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(6, 27, 53, 0.15);
}

.cards strong {
  font-size: 32px;
  font-weight: 900;
}

.cards h3 {
  text-transform: uppercase;
  font-size: 14px;
}

.cards p {
  color: #566575;
  font-size: 13px;
}

.card-action {
  display: inline-block;
  margin-top: 14px;
  color: #238636;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}


/* =========================================================
   PRESENÇA / HISTÓRIA
========================================================= */

.presence {
  background: #061b35;
  color: white;
  padding: 62px 0;
}

.presence-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: center;
}

.presence h2 {
  color: white;
}

.presence p {
  color: #d9e4ef;
  font-size: 16px;
  line-height: 1.55;
  margin: 22px 0 28px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}


/* =========================================================
   DICAS DE SAÚDE
========================================================= */

.health-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 45px;
}

.post-cards,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.post-cards article,
.archive-grid article {
  background: white;
  border: 1px solid #e2eaf2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(6, 27, 53, 0.06);
}

.post-cards a,
.archive-grid a {
  text-decoration: none;
  color: #061b35;
  display: block;
}

.post-cards img,
.archive-grid img,
.placeholder {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background:
    linear-gradient(rgba(6, 27, 53, 0.25), rgba(6, 27, 53, 0.25)),
    url("boituva.jpg");
  background-size: cover;
  background-position: center;
}

.post-cards div:not(.placeholder),
.archive-grid div:not(.placeholder) {
  padding: 18px;
}

.post-cards span,
.archive-grid span {
  font-size: 11px;
  color: #238636;
  font-weight: 900;
  text-transform: uppercase;
}

.post-cards h3,
.archive-grid h3 {
  font-size: 15px;
  text-transform: uppercase;
  margin: 8px 0;
}

.post-cards p,
.archive-grid p {
  color: #566575;
  font-size: 13px;
  line-height: 1.45;
}


/* =========================================================
   LEIS E PROJETOS
========================================================= */

.law-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.law-list article {
  background: #f6f9fc;
  border: 1px solid #e2eaf2;
  border-radius: 12px;
  padding: 28px;
}

.law-list span {
  display: inline-block;
  color: #238636;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
}

.law-list h3 {
  text-transform: uppercase;
  font-size: 19px;
  margin: 12px 0;
}

.law-list h3 a {
  color: #061b35;
  text-decoration: none;
}

.law-list p {
  color: #566575;
  line-height: 1.5;
  font-size: 13px;
}

.law-list a {
  color: #238636;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.lei-card-thumb {
  display: block;
  margin: -28px -28px 20px;
}

.lei-card-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}


/* =========================================================
   INSTAGRAM
========================================================= */

.instagram-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 45px;
  align-items: center;
}

.instagram h2 {
  max-width: 430px;
}

.instagram p {
  color: #566575;
  font-size: 15px;
  line-height: 1.5;
  max-width: 460px;
}

.instagram-v8 {
  background: #f6f9fc;
}

.instagram-copy p {
  color: #566575;
  font-size: 18px;
  line-height: 1.55;
  margin: 18px 0 22px;
}

.instagram-profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid #e2eaf2;
  border-radius: 14px;
  padding: 14px;
  margin: 0 0 24px;
  box-shadow: 0 12px 30px rgba(6, 27, 53, 0.06);
}

.instagram-profile-card .avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: #061b35;
  flex: 0 0 auto;
}

.instagram-profile-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.instagram-profile-card strong {
  display: block;
  font-size: 20px;
  color: #061b35;
  font-weight: 900;
}

.instagram-profile-card small {
  display: block;
  color: #238636;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.8px;
  margin-top: 3px;
}

.instagram-feed {
  background: white;
  border: 1px solid #e2eaf2;
  border-radius: 14px;
  padding: 22px;
  min-height: 280px;
  box-shadow: 0 14px 35px rgba(6, 27, 53, 0.06);
}

.instagram-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 430px;
  overflow: hidden;
}

.ig-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #061b35;
  color: white;
  text-decoration: none;
  min-height: 200px;
  box-shadow: 0 20px 45px rgba(6, 27, 53, 0.14);
}

.ig-card.big {
  grid-row: span 2;
}

.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.45s ease;
  opacity: 0.88;
}

.ig-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.ig-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(6, 27, 53, 0.92) 0%,
    rgba(6, 27, 53, 0.35) 48%,
    rgba(6, 27, 53, 0) 100%
  );
}

.ig-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
}

.ig-card span {
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.ig-card strong {
  display: block;
  color: white;
  font-size: 17px;
  line-height: 1.1;
  margin-top: 6px;
}

.ig-card.big strong {
  font-size: 24px;
  max-width: 420px;
}

.instagram-real-feed {
  display: block;
  min-height: 360px;
  overflow: hidden;
}

.instagram-real-feed #sb_instagram,
.instagram-real-feed .sbi,
.instagram-real-feed .instagram-feed {
  width: 100%;
}

.instagram-real-feed #sb_instagram {
  max-height: 720px;
  overflow: hidden;
}

.ig-setup-box {
  min-height: 360px;
  border: 2px dashed #cfd9e6;
  background: white;
  border-radius: 16px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #566575;
}

.ig-setup-box strong {
  display: block;
  font-size: 28px;
  line-height: 1.08;
  color: #061b35;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.ig-setup-box p {
  margin: 16px 0;
}

.ig-setup-box ol {
  margin: 0 0 22px 18px;
  padding: 0;
  line-height: 1.7;
}

.ig-setup-box code {
  background: #f0f4f8;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  padding: 3px 7px;
  color: #061b35;
  font-weight: 900;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter {
  background: #061b35;
  color: white;
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 35px;
  align-items: center;
}

.newsletter p {
  color: #d9e4ef;
  font-size: 16px;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}

.newsletter input {
  border: 0;
  border-radius: 8px;
  padding: 15px;
  font: inherit;
}

.newsletter button {
  border: 0;
  border-radius: 8px;
  background: #238636;
  color: white;
  text-transform: uppercase;
  font-weight: 900;
  padding: 15px 18px;
  cursor: pointer;
}


/* =========================================================
   CONTATO
========================================================= */

.contact {
  background:
    linear-gradient(rgba(11, 106, 55, 0.9), rgba(11, 106, 55, 0.88)),
    var(--bg);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 70px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 30px;
  align-items: center;
}

.contact p {
  font-size: 16px;
  color: #e7f8ec;
}

.contact form {
  display: grid;
  gap: 12px;
}

.contact input,
.contact textarea {
  border: 0;
  border-radius: 8px;
  padding: 15px;
  font: inherit;
}

.contact textarea {
  height: 112px;
}

.contact button {
  border: 0;
  border-radius: 8px;
  background: #238636;
  color: white;
  text-transform: uppercase;
  font-weight: 900;
  padding: 16px;
  cursor: pointer;
}

.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  background: #238636;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 18px 22px;
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: 0 16px 45px rgba(35, 134, 54, 0.35);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  background: #041224;
  color: #b9c5d1;
  padding: 45px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 35px;
}

.footer a {
  display: block;
  color: #b9c5d1;
  text-decoration: none;
  margin-top: 9px;
}

.footer a:hover {
  color: white;
}

.footer b {
  color: white;
  text-transform: uppercase;
}

.footer-brand strong {
  color: white;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 28px;
  padding-top: 18px;
}


/* =========================================================
   PÁGINAS, ARQUIVOS E POSTS INTERNOS
========================================================= */

.page,
.archive-content,
.single-content {
  padding: 130px 0 80px;
}

.page-content {
  padding: 130px 0 80px;
}

.page-article {
  background: #ffffff;
  border: 1px solid rgba(11, 47, 87, 0.10);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 14px 38px rgba(11, 47, 87, 0.06);
}

.page-header {
  margin-bottom: 28px;
}

.page-header span {
  display: inline-block;
  color: #238636;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  margin-bottom: 10px;
}

.page-header h1 {
  color: #061b35;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin: 0;
  font-weight: 900;
}

.page-featured-image {
  margin-bottom: 28px;
  border-radius: 18px;
  overflow: hidden;
}

.page-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.page-body {
  color: #26384f;
  font-size: 19px;
  line-height: 1.7;
}

.page-body p {
  margin: 0 0 20px;
}

.page-body h2,
.page-body h3,
.page-body h4 {
  color: #061b35;
  margin-top: 32px;
  margin-bottom: 14px;
  line-height: 1.15;
}

.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.page-body a {
  color: #238636;
  font-weight: 900;
}

.single-content article {
  max-width: 820px;
  margin: auto;
}

.single-label {
  color: #238636;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.single-content h1,
.archive-content h1 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -2px;
  text-transform: uppercase;
}

.single-content img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 20px 0;
}

.content {
  font-size: 19px;
  line-height: 1.7;
  color: #26384f;
}

.archive-content .title {
  margin-bottom: 36px;
}

.archive-content .title span {
  display: inline-block;
  color: #238636;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  margin-bottom: 10px;
}

.archive-card {
  background: white;
  border: 1px solid #e2eaf2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(6, 27, 53, 0.06);
}

.archive-card-content {
  padding: 18px;
}

.empty-archive {
  background: white;
  border: 1px solid #e2eaf2;
  border-radius: 16px;
  padding: 32px;
}

.archive-pagination {
  margin-top: 35px;
}

.archive-pagination .nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.archive-pagination a,
.archive-pagination span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 8px;
  background: white;
  color: #061b35;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid #e2eaf2;
}

.archive-pagination .current {
  background: #238636;
  color: white;
}


/* =========================================================
   ÂNCORAS DO MENU
========================================================= */

#inicio,
#acoes,
#historia,
#sobre,
#dicas,
#saude,
#leis,
#instagram,
#contato {
  scroll-margin-top: 105px;
}

.anchor-fix {
  display: block;
  position: relative;
  top: -105px;
  visibility: hidden;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1080px) {
  .menu ul {
    gap: 14px;
  }

  .menu a {
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .menu-toggle {
    display: block;
  }

  .top-btn {
    display: none;
  }

  .menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e2eaf2;
    box-shadow: 0 18px 35px rgba(6, 27, 53, 0.12);
  }

  .menu.open,
  .menu.active {
    display: block;
  }

  .menu ul {
    display: block;
    padding: 18px 24px;
  }

  .menu li {
    margin: 14px 0;
  }

  .menu a {
    display: block;
    padding: 12px 0;
    font-size: 13px;
  }

  .hero {
    padding-top: 88px;
    min-height: auto;
  }

  .hero-grid,
  .presence-grid,
  .health-grid,
  .contact-grid,
  .instagram-grid,
  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: -1;
    min-height: 330px;
    justify-content: center;
  }

  .hero-photo::before {
    bottom: 26px;
    width: 62%;
    height: 58px;
  }

  .hero-photo::after {
    height: 92px;
  }

  .hero-photo img {
    width: min(315px, 80%);
    max-height: 355px;
    transform: translateY(8px);
  }

  .hero-copy {
    padding-bottom: 38px;
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .buttons {
    justify-content: center;
  }

  .proof {
    margin-top: 0;
  }

  .proof-box,
  .cards,
  .post-cards,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .law-list {
    grid-template-columns: 1fr;
  }

  .newsletter form {
    grid-template-columns: 1fr;
  }

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

  .instagram-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .ig-card.big {
    grid-row: auto;
  }

  .ig-card {
    height: 260px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: 90%;
  }

  .nav {
    height: 68px;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand span {
    font-size: 10px;
  }

  .menu {
    top: 68px;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 0;
    background:
      linear-gradient(
        180deg,
        rgba(246, 249, 252, 0.97) 0%,
        rgba(246, 249, 252, 0.94) 58%,
        rgba(246, 249, 252, 0.86) 100%
      ),
      var(--bg);
    background-size: cover;
    background-position: center top;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .hero-copy span {
    font-size: 11px;
    letter-spacing: 2.4px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 0.94;
    letter-spacing: -1.8px;
    margin-top: 24px;
  }

  .hero h2 {
    font-size: 25px;
    line-height: 1;
    margin-top: 8px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.35;
    max-width: 320px;
    margin: 18px auto 0;
  }

  .buttons {
    margin-top: 22px;
    gap: 10px;
    width: 100%;
  }

  .buttons .btn {
    width: 100%;
    min-height: 54px;
    font-size: 12px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .hero-photo {
    order: 2;
    position: relative;
    width: 100%;
    min-height: 350px;
    height: 350px;
    margin-top: 0;
    margin-bottom: -4px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    background: transparent;
  }

  .hero-photo::before {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    width: 260px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.26) 0%,
      rgba(0, 0, 0, 0.11) 45%,
      rgba(0, 0, 0, 0) 75%
    );
    filter: blur(7px);
    z-index: 1;
  }

  .hero-photo::after {
    display: block;
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: 0;
    height: 98px;
    background: linear-gradient(
      0deg,
      rgba(246, 249, 252, 1) 0%,
      rgba(246, 249, 252, 0.9) 35%,
      rgba(246, 249, 252, 0) 100%
    );
    z-index: 2;
    pointer-events: none;
  }

  .hero-photo img {
    position: relative;
    z-index: 3;
    display: block;
    width: 310px;
    max-width: 90%;
    height: auto;
    max-height: 355px;
    object-fit: contain;
    object-position: bottom center;
    transform: translateY(5px);
    background: transparent;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.17));
  }

  .proof {
    margin-top: 0;
    padding-top: 14px;
    margin-bottom: 70px;
  }

  .proof-box {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 24px;
    border-radius: 16px;
  }

  .proof-box div {
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof-box div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .proof b {
    font-size: 22px;
  }

  .proof small {
    font-size: 16px;
  }

  .results,
  .health,
  .laws,
  .instagram,
  .newsletter,
  .presence {
    padding: 44px 0;
  }

  .presence-grid,
  .health-grid,
  .instagram-grid,
  .newsletter-box,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .title h2,
  .presence h2,
  .contact h2,
  .instagram h2,
  .newsletter h2 {
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: -0.8px;
  }

  .presence p,
  .instagram p,
  .newsletter p,
  .contact p {
    font-size: 14px;
    line-height: 1.5;
  }

  .cards,
  .post-cards,
  .archive-grid,
  .law-list,
  .gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cards article {
    padding: 20px 18px;
  }

  .cards strong {
    font-size: 28px;
  }

  .cards h3 {
    font-size: 13px;
  }

  .cards p {
    font-size: 12px;
  }

  .gallery img {
    height: 170px;
  }

  .instagram-copy,
  .title.left {
    text-align: center;
  }

  .instagram h2 {
    font-size: 23px;
    max-width: 100%;
  }

  .instagram-profile-card {
    text-align: left;
    align-items: flex-start;
  }

  .instagram-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ig-card,
  .ig-card.big {
    height: 220px;
    grid-row: auto;
  }

  .ig-card.big strong {
    font-size: 20px;
  }

  .ig-card strong {
    font-size: 15px;
  }

  .newsletter form {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 46px 0 90px;
  }

  .float-wa {
    left: 16px;
    right: 16px;
    bottom: 14px;
    text-align: center;
    padding: 15px;
    font-size: 13px;
    border-radius: 999px;
    z-index: 999;
  }

  .page-content,
  .page,
  .archive-content,
  .single-content {
    padding: 95px 0 42px;
  }

  .page-article {
    border-radius: 22px;
    padding: 24px;
  }

  .page-header h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .page-body {
    font-size: 16px;
    line-height: 1.65;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 72px;
  }

  .menu {
    top: 72px;
  }

  .hero {
    padding-top: 82px;
    background:
      linear-gradient(
        180deg,
        rgba(246, 249, 252, 0.97) 0%,
        rgba(246, 249, 252, 0.94) 62%,
        rgba(246, 249, 252, 0.76) 100%
      ),
      var(--bg);
    background-size: cover;
    background-position: center;
  }

  .hero h1 {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .hero h2 {
    font-size: 31px;
  }

  .hero p {
    font-size: 17px;
  }

  .buttons .btn {
    width: 100%;
  }

  .hero-photo {
    min-height: 285px;
  }

  .hero-photo::before {
    bottom: 20px;
    width: 70%;
    height: 50px;
  }

  .hero-photo::after {
    height: 82px;
  }

  .hero-photo img {
    width: min(285px, 82%);
    max-height: 310px;
    transform: translateY(6px);
  }

  .proof-box,
  .cards,
  .post-cards,
  .archive-grid {
    grid-template-columns: 1fr;
  }

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

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

  .float-wa {
    left: 18px;
    right: 18px;
    text-align: center;
  }

  .contact {
    padding-bottom: 55px;
  }
}

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

  .hero h2 {
    font-size: 23px;
  }

  .hero-photo {
    height: 325px;
    min-height: 325px;
  }

  .hero-photo img {
    width: 285px;
    max-height: 330px;
  }
}