@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --green: #008fa3;
  --green-dark: #006a7c;
  --green-soft: #e8f7f9;
  --yellow: #ff744f;
  --yellow-soft: #fff0eb;
  --black: #061f3f;
  --gray: #627084;
  --line: #e5e7eb;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  border: none;
  background: transparent;
  cursor: pointer;
}

/* NAVBAR */

.navbar {
  width: 100%;
  height: 74px;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(6, 31, 63, 0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-container {
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border: 2px solid var(--green);
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--green);
  font-size: 20px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text span {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -1px;
}

.logo-text strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -1px;
}

.hamburger-btn {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #e8f7f9;
  border: 1px solid #c4e9ee;
  box-shadow: 0 4px 12px rgba(0, 143, 163, 0.13);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 25px;
  color: var(--green-dark);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hamburger-btn:hover {
  background: #d9f1f4;
  color: var(--green-dark);
  box-shadow: 0 6px 16px rgba(0, 143, 163, 0.17);
  transform: translateY(-2px);
}

.hamburger-btn:active {
  transform: translateY(0) scale(0.96);
}

.hamburger-btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* OVERLAY */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;

  background: rgba(0, 0, 0, 0.68);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* MENU LATERAL */

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;

  width: min(84vw, 430px);
  height: 100vh;
  height: 100dvh;

  background: var(--white);
  padding: 28px 24px 0;

  display: flex;
  flex-direction: column;

  transform: translateX(100%);
  transition: transform 0.35s ease;

  overflow: hidden;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
}

.side-menu-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 8px calc(36px + env(safe-area-inset-bottom)) 0;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.side-menu-scroll::-webkit-scrollbar {
  display: none;
}

.side-menu-scrollbar {
  position: absolute;
  top: 94px;
  right: 5px;
  bottom: 10px;
  z-index: 3;
  width: 4px;
  border-radius: 999px;
  background: rgba(0, 143, 163, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.side-menu-scrollbar.is-visible {
  opacity: 1;
}

.side-menu-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 36px;
  border-radius: inherit;
  background: linear-gradient(var(--green), var(--green-dark));
  box-shadow: 0 1px 5px rgba(0, 116, 136, 0.28);
  will-change: transform;
}

.side-menu.active {
  transform: translateX(0);
}

.side-menu-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.close-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 27px;
  color: var(--black);
  transition: background 0.2s ease, color 0.2s ease;
}

.close-btn:hover {
  background: #f4f6f5;
  color: var(--green-dark);
}

.side-menu-subtitle {
  margin-top: 14px;
  max-width: 320px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  line-height: 1.35;
}

/* CARD PRINCIPAL */

.main-recommendation {
  margin-top: 26px;
  padding: 16px;

  display: grid;
  grid-template-columns: 56px 1fr 16px;
  align-items: center;
  gap: 14px;

  background: var(--green-soft);
  border: none;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.main-recommendation:hover {
  background: #dff4f6;
  transform: translateY(-1px);
}

.main-recommendation-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--yellow);
  border: none;
  color: var(--white);
  font-size: 24px;
}

.main-recommendation div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.main-recommendation strong {
  font-size: 17px;
  font-weight: 800;
}

.main-recommendation span {
  font-size: 14px;
  line-height: 1.35;
}

/* LINKS */

.side-menu-nav {
  margin-top: 0;
}

.side-menu-nav h3 {
  padding-bottom: 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: none;
}

.side-menu-all-categories {
  display: grid;
  grid-template-columns: 46px 1fr 16px;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  margin-bottom: 4px;
  border-radius: 7px;
  background: var(--yellow-soft);
  color: var(--black);
  transition: background 0.2s ease, transform 0.2s ease;
}

.side-menu-all-categories:hover {
  background: #ffe4db;
  transform: translateX(3px);
}

.side-menu-all-categories i:first-child {
  color: var(--yellow);
  font-size: 20px;
  text-align: center;
}

.side-menu-all-categories span {
  font-size: 14px;
  font-weight: 800;
}

.side-menu-all-categories i:last-child {
  font-size: 12px;
}

.side-menu-link {
  min-height: 66px;

  display: grid;
  grid-template-columns: 46px 1fr 16px;
  align-items: center;
  gap: 14px;

  border-bottom: none;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.side-menu-link:hover {
  background: var(--green-soft);
  transform: translateX(3px);
}

.side-menu-link i:first-child {
  color: var(--green);
  font-size: 27px;
  text-align: center;
}

.side-menu-category-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.side-menu-link span {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.side-menu-category-group + .side-menu-category-group {
  margin-top: 8px;
}

.side-menu-group-link {
  display: grid;
  grid-template-columns: 46px 1fr 16px;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border-radius: 7px;
  background: #f5fafb;
  color: var(--black);
  transition: background 0.2s ease, transform 0.2s ease;
}

.side-menu-group-link:hover {
  background: var(--green-soft);
  transform: translateX(3px);
}

.side-menu-group-link i:first-child {
  color: var(--green-dark);
  font-size: 22px;
  text-align: center;
}

.side-menu-group-link span {
  font-size: 14px;
  font-weight: 800;
}

.side-menu-group-link i:last-child {
  color: var(--green-dark);
  font-size: 11px;
}

.side-menu-children {
  margin: 3px 0 6px 22px;
  padding-left: 10px;
  border-left: 1px solid #dcebed;
}

.side-menu-child-link {
  min-height: 49px;
  grid-template-columns: 34px 1fr 14px;
  gap: 9px;
}

.side-menu-child-link i:first-child {
  font-size: 17px;
}

.side-menu-child-link span {
  font-size: 13px;
}

/* WHATSAPP */

.whatsapp-card {
  margin-top: 0;
  padding: 15px 16px;

  display: grid;
  grid-template-columns: 50px 1fr 16px;
  align-items: center;
  gap: 14px;

  background: var(--green-soft);
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.whatsapp-card:hover {
  background: #dff4f6;
  transform: translateY(-1px);
}

.whatsapp-card>i:first-child {
  color: var(--green);
  font-size: 40px;
}

.whatsapp-card div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.whatsapp-card strong {
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 800;
}

.whatsapp-card span {
  color: var(--black);
  font-size: 12px;
}

.side-menu-section-divider {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: #edf0ee;
}

.side-menu-section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--green);
}

.social-area h4 {
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.social-icons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.social-icons a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f3f5f4;
  color: var(--black);
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  background: var(--green-soft);
  color: var(--green-dark);
  transform: translateY(-2px);
}

/* CONTEÚDO TESTE */

.content {
  padding: 32px 18px;
}

.content h1 {
  font-size: 32px;
  color: var(--green);
}

.content p {
  margin-top: 10px;
  color: var(--gray);
}

.logo-image {
  max-height: 48px;
  width: auto;
  display: block;
}

/* RESPONSIVO */

@media (max-width: 390px) {
  .side-menu {
    width: 88vw;
    padding: 28px 18px 0;
  }

  .side-menu-scroll {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .logo-text span,
  .logo-text strong {
    font-size: 19px;
  }

  .main-recommendation {
    grid-template-columns: 50px 1fr 14px;
    padding: 16px;
  }

  .main-recommendation-icon {
    width: 50px;
    height: 50px;
  }

  .side-menu-link {
    min-height: 68px;
    grid-template-columns: 42px 1fr 14px;
  }

  .side-menu-link span {
    font-size: 17px;
  }

.side-menu-link i:first-child {
  font-size: 24px;
}

}

.content {
  width: 100%;
  padding: 0 14px 0;
  background: var(--white);
}

.hero-mobile {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 0 22px;
}

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  font-size: 11px;
  font-weight: 600;
  color: #101820;
}

.hero-badge i,
.categories-title i {
  color: var(--green);
  font-size: 13px;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  margin: 14px 0 18px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 42%;
  align-items: center;
  gap: 8px;
}

.hero-text h1 {
  font-size: 23px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #101820;
}

.hero-text h1 span {
  display: block;
  color: var(--green);
}

.hero-text p {
  margin-top: 10px;
  max-width: 260px;

  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 500;
  color: #4b5563;
}

.hero-image-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

.hero-button {
  width: 100%;
  height: 54px;
  margin-top: 16px;
  border-radius: 9px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background: var(--yellow);
  color: #ffffff;

  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(255, 116, 79, 0.22);
}

.hero-button i {
  font-size: 15px;
}

.categories-preview {
  margin-top: 20px;
}

.categories-title {
  display: flex;
  align-items: center;
  gap: 7px;

  font-size: 13px;
  font-weight: 800;
  color: #101820;
}

.categories-grid {
  margin-top: 14px;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.category-card {
  min-height: 78px;
  padding: 8px 4px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;

  box-shadow: 0 6px 18px rgba(16, 24, 32, 0.04);
}

.category-card img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.category-card span {
  font-size: 9.5px;
  font-weight: 700;
  color: #101820;
  text-align: center;
}

/* Ajuste para telas muito pequenas */
@media (max-width: 370px) {
  .hero-text h1 {
    font-size: 20px;
  }

  .hero-text p {
    font-size: 10.5px;
  }

  .hero-button {
    height: 50px;
    font-size: 15px;
  }

  .category-card {
    min-height: 70px;
  }

  .category-card img {
    width: 27px;
    height: 27px;
  }

  .category-card span {
    font-size: 8.5px;
  }
}

/* Quando abrir em navegador maior */
@media (min-width: 768px) {
  

  .hero-mobile {
    max-width: 720px;
    padding: 28px;
    border-radius: 12px;
    border: none;
    box-shadow: none;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 15px;
    max-width: 410px;
  }

  .hero-image {
    max-width: 250px;
  }

  .hero-button {
    max-width: 420px;
  }

  .category-card {
    min-height: 96px;
  }

  .category-card img {
    width: 42px;
    height: 42px;
  }

  .category-card span {
    font-size: 12px;
  }
}

/* HERO DINÂMICO */

.hero-mobile {
  max-width: 980px;
  padding-top: 22px;
}

.hero-top-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
}

.hero-top-badge i {
  color: var(--green);
}

.hero-panel {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  align-items: center;
  min-height: 350px;
  padding: 36px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: hero-enter 0.65s ease-out both;
}

.hero-panel::before {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .hero-badge {
  justify-content: flex-start;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--yellow-soft);
  color: var(--green-dark);
  font-weight: 700;
}

.hero-copy h1 {
  max-width: 560px;
  margin-top: 18px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.8px;
  color: var(--black);
}

.hero-copy h1 span {
  display: block;
  margin-top: 5px;
  color: var(--black);
}

.hero-copy p {
  max-width: 510px;
  margin-top: 16px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}

.hero-image-mobile {
  display: none;
}

.hero-copy .hero-button {
  max-width: 310px;
  margin-top: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-copy .hero-button:hover {
  background: #e95f3d;
  transform: translateY(-2px);
  box-shadow: 0 13px 26px rgba(255, 116, 79, 0.3);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  color: var(--gray);
  font-size: 10px;
  font-weight: 600;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-trust i {
  color: var(--green);
}

.hero-panel .hero-image-area {
  position: relative;
  z-index: 1;
}

.hero-panel .hero-image {
  width: 100%;
  max-width: 390px;
  border-radius: 0;
  filter: drop-shadow(0 18px 18px rgba(16, 24, 32, 0.12));
  animation: hero-float 4s ease-in-out infinite;
}

.hero-sparkle {
  position: absolute;
  top: 4%;
  right: 10%;
  color: var(--green);
  font-size: 28px;
  animation: sparkle-pulse 1.8s ease-in-out infinite;
}

.hero-mobile .categories-preview {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #dcefe2;
  border-radius: 12px;
  background: linear-gradient(145deg, #f6fff8, #ffffff);
  box-shadow: 0 14px 35px rgba(7, 139, 53, 0.08);
  animation: categories-enter 0.65s 0.15s ease-out both;
}

.hero-mobile .categories-title {
  justify-content: space-between;
  padding: 0 2px;
}

.hero-mobile .categories-title div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-mobile .categories-title span {
  font-size: 19px;
  color: var(--green-dark);
}

.hero-mobile .categories-title small {
  color: var(--gray);
  font-size: 11px;
  font-weight: 500;
}

.hero-mobile .categories-title > i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  color: var(--green-dark);
  animation: arrow-nudge 1.8s ease-in-out infinite;
}

.hero-mobile .categories-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-mobile .category-card {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 14px 8px;
  border-color: #e3ece6;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: category-enter 0.5s ease-out both;
  animation-delay: calc(0.25s + var(--category-index) * 0.06s);
}

.hero-mobile .category-card::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -50%;
  width: 35%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: rotate(25deg);
  transition: left 0.55s ease;
}

.hero-mobile .category-card:hover {
  border-color: rgba(7, 139, 53, 0.4);
  box-shadow: 0 10px 24px rgba(7, 139, 53, 0.1);
  transform: translateY(-3px);
}

.hero-mobile .category-card:hover::after {
  left: 125%;
}

.hero-mobile .category-card:hover .category-icon {
  background: var(--green);
  color: var(--white);
  transform: scale(1.08) rotate(-4deg);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  background: #edfaf1;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 22px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-mobile .category-name {
  font-size: 11px;
  line-height: 1.25;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes categories-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes category-enter {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sparkle-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.9) rotate(0); }
  50% { opacity: 1; transform: scale(1.18) rotate(12deg); }
}

@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (max-width: 700px) {
  .hero-panel {
    grid-template-columns: minmax(0, 1fr) 34%;
    min-height: 300px;
    padding: 28px 4px;
    border-radius: 0;
  }

  .hero-copy h1 {
    font-size: clamp(25px, 7vw, 34px);
    letter-spacing: -1.2px;
  }

  .hero-copy p {
    font-size: 12px;
  }

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

@media (max-width: 430px) {
  .content {
    padding-right: 12px;
    padding-bottom: 6px;
    padding-left: 12px;
  }

  .hero-mobile {
    padding-top: 14px;
    padding-bottom: 0;
  }

  .hero-top-badge {
    max-width: 100%;
    padding: 7px 11px;
    font-size: 9.5px;
    white-space: nowrap;
  }

  .hero-divider {
    display: none;
  }

  .hero-panel {
    display: block;
    min-height: 0;
    padding: 30px 4px 0;
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-panel::before {
    right: -115px;
    bottom: -125px;
    border-width: 38px;
    opacity: 0.8;
  }

  .hero-copy h1 {
    max-width: 320px;
    margin-top: 0;
    font-size: clamp(29px, 8.7vw, 35px);
    line-height: 1.02;
    letter-spacing: -1.35px;
  }

  .hero-copy h1 span {
    margin-top: 8px;
    font-weight: 800;
  }

  .hero-copy p {
    max-width: 330px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-image-mobile {
    display: block;
    width: min(100%, 330px);
    margin: 16px auto 0;
    object-fit: contain;
  }

  .hero-panel > .hero-image-area {
    display: none;
  }

  .hero-copy .hero-button {
    max-width: none;
    height: 52px;
    margin-top: 20px;
    padding: 0 17px;
    border-radius: 9px;
    justify-content: flex-start;
    font-size: 14px;
  }

  .hero-copy .hero-button i:last-child {
    margin-left: auto;
  }

  .hero-trust {
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    font-size: 9px;
  }

  .hero-mobile .categories-preview {
    padding: 18px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .hero-panel .hero-image,
  .hero-sparkle,
  .hero-mobile .categories-preview,
  .hero-mobile .category-card,
  .hero-mobile .categories-title > i {
    animation: none;
  }

  .hero-mobile .category-card,
  .category-icon {
    transition: none;
  }
}

/* CATEGORIAS EM DESTAQUE */

.home-categories-heading {
  margin: 20px 0 18px;
  padding-top: 26px;
  border-top: 1px solid #edf1f3;
}

.home-categories-heading > div > span {
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-categories-heading h2 {
  margin-top: 6px;
  color: var(--black);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.8px;
}

.home-categories-heading p {
  max-width: 560px;
  margin-top: 7px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.55;
}

.all-categories-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid #b9dfe4;
  border-radius: 9px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.all-categories-button:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.home-categories-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.top-categories {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.top-categories-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 2px 0 8px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.top-categories-control {
  position: absolute;
  top: 27px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #d8e8eb;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 14px rgba(6, 31, 63, 0.13);
  color: var(--green-dark);
  font-size: 10px;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.top-categories-control:hover:not(:disabled) {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.top-categories-control:disabled {
  cursor: default;
  opacity: 0.3;
}

.top-categories-prev {
  left: -10px;
}

.top-categories-next {
  right: -10px;
}

.top-categories.is-static .top-categories-viewport {
  overflow-x: auto;
  padding-bottom: 2px;
  mask-image: none;
  -webkit-mask-image: none;
  scrollbar-width: none;
}

.top-categories.is-static .top-categories-viewport::-webkit-scrollbar {
  display: none;
}

.top-categories.is-static .top-categories-track {
  margin: 0 auto;
  animation: none;
}

.top-categories-track {
  --categories-gap: 10px;
  display: flex;
  gap: var(--categories-gap);
  width: max-content;
  animation: categories-scroll var(--categories-duration, 32s) linear infinite;
}

.top-categories-viewport:hover .top-categories-track,
.top-categories-viewport:focus-within .top-categories-track {
  animation-play-state: paused;
}

.top-categories-group {
  display: flex;
  gap: var(--categories-gap);
}

.top-categories-manual-group {
  display: none;
}

.top-categories.is-manual .top-categories-viewport {
  overflow-x: auto;
  padding-right: 32px;
  padding-left: 32px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  mask-image: none;
  -webkit-mask-image: none;
}

.top-categories.is-manual .top-categories-viewport::-webkit-scrollbar {
  display: none;
}

.top-categories.is-manual .top-categories-track {
  animation: none;
}

.top-categories.is-manual .top-categories-auto-group {
  display: none;
}

.top-categories.is-manual .top-categories-manual-group {
  display: flex;
}

.top-categories.is-manual .top-category-card {
  scroll-snap-align: start;
}

.top-categories.is-touch-carousel .top-categories-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.top-categories.is-touch-carousel .top-categories-viewport::-webkit-scrollbar {
  display: none;
}

.top-categories.is-touch-carousel .top-categories-viewport:hover .top-categories-track,
.top-categories.is-touch-carousel .top-categories-viewport:focus-within .top-categories-track {
  animation-play-state: running;
}

.top-categories.is-touch-carousel.is-interacting .top-categories-track {
  animation-play-state: paused;
}

.top-category-card {
  display: grid;
  grid-template-columns: 31px auto 12px;
  align-items: center;
  gap: 9px;
  min-width: 154px;
  height: 52px;
  padding: 7px 12px 7px 8px;
  border: 1px solid #e8edf1;
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(6, 31, 63, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.top-category-card:hover,
.top-category-card:focus-visible {
  border-color: #b9dfe4;
  box-shadow: 0 7px 18px rgba(0, 143, 163, 0.1);
  transform: translateY(-1px);
}

.top-category-card:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.top-category-visual {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 14px;
}

.top-category-visual img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.top-category-name {
  overflow: hidden;
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-category-arrow {
  color: #9aa5b3;
  font-size: 9px;
}

@keyframes categories-scroll {
  to {
    transform: translateX(calc(-50% - var(--categories-gap) / 2));
  }
}

@media (max-width: 430px) {
  .home-categories-heading {
    display: block;
    margin-top: 24px;
    padding-top: 22px;
  }

  .home-categories-heading h2 {
    font-size: 23px;
  }

  .all-categories-button {
    width: 100%;
  }

  .top-categories {
    margin-top: 18px;
    margin-bottom: 0;
  }

  .home-categories-action {
    margin-top: 12px;
  }

  .content + .site-footer {
    margin-top: 12px;
  }

  .top-category-card {
    min-width: 140px;
    height: 48px;
  }

  .top-categories-control {
    display: none;
  }
}

@media (min-width: 431px) and (max-width: 700px) {
  .top-categories-control {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-categories-control,
  .top-category-card {
    transition: none;
  }
}

/* FOOTER */

/* PÁGINA DINÂMICA DE CATEGORIA */

body.category-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.category-page {
  width: 100%;
  min-height: 0;
  flex: 1 0 auto;
  display: flex;
  padding: 22px 18px 30px;
  background: #f8fbfc;
}

.category-page-content {
  width: 100%;
  max-width: 1080px;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.category-page-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
}

.category-page-back:hover {
  color: var(--black);
}

.category-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  align-items: center;
  flex: 0 0 auto;
  gap: 48px;
  margin-top: 18px;
  min-height: 500px;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(0, 151, 167, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfc 58%, #fff8f3 100%);
  box-shadow: 0 20px 55px rgba(6, 31, 63, 0.09);
  overflow: hidden;
}

.category-page-label {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-page-copy h1 {
  margin-top: 10px;
  color: var(--black);
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
}

.category-page-copy p {
  max-width: 520px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.65;
}

.category-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.category-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(0, 151, 167, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
}

.category-benefits i {
  color: var(--green);
}

.category-page-button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  min-height: 56px;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--yellow), #ff5f43);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 116, 79, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-page-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 116, 79, 0.38);
}

.category-page-button i:last-child {
  margin-left: 8px;
}

.category-external-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 10px;
  line-height: 1.4;
}

.category-page-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0 40%, #e8f7f8 70%, #dff2f4 100%);
}

.category-page-visual::before,
.category-page-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.category-page-visual::before {
  top: 10%;
  right: 4%;
  width: 52px;
  height: 52px;
  background: rgba(255, 116, 79, 0.12);
}

.category-page-visual::after {
  bottom: 7%;
  left: 5%;
  width: 30px;
  height: 30px;
  background: rgba(0, 151, 167, 0.15);
}

.category-page-visual-link {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-page-visual-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(6, 31, 63, 0.1);
}

.category-marketplace {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(6, 31, 63, 0.12);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transform: translateX(-50%);
}

.category-page + .site-footer {
  margin-top: 0;
  flex-shrink: 0;
}

.category-page-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 410px;
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(6, 31, 63, 0.16));
  transition: transform 0.25s ease;
}

.category-page-visual-link:hover .category-page-image {
  transform: scale(1.035);
}

.category-page-icon {
  color: var(--green);
  font-size: 140px;
}

.category-inline-carousel {
  max-width: 520px;
  margin-top: 20px;
}

.category-inline-carousel-label {
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-page-carousel {
  margin-top: 8px;
  margin-bottom: 0;
}

.category-page-carousel .top-category-card {
  min-width: 142px;
}

.category-inline-explore-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid #b9dfe4;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-inline-explore-button:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.category-loading,
.category-not-found {
  max-width: 620px;
  margin: 80px auto;
  color: var(--gray);
  text-align: center;
}

.category-not-found span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.category-not-found h1 {
  margin-top: 8px;
  color: var(--black);
  font-size: 32px;
}

.category-not-found p {
  margin-top: 10px;
}

.category-not-found a {
  display: inline-block;
  margin-top: 20px;
  color: var(--green-dark);
  font-weight: 700;
}

@media (max-width: 700px) {
  .category-page {
    padding: 18px 18px 20px;
  }

  .category-page-layout {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: center;
    gap: 26px;
    margin-top: 14px;
    padding: 26px 20px 24px;
    border-radius: 18px;
  }

  .category-page-visual {
    min-height: 250px;
    width: min(100%, 330px);
    margin: 0 auto;
    padding: 28px;
  }

  .category-page-image {
    max-width: 280px;
    max-height: 290px;
  }

  .category-page-icon {
    font-size: 110px;
  }

  .category-page-copy {
    text-align: left;
  }

  .category-page-copy h1 {
    font-size: clamp(36px, 12vw, 50px);
    letter-spacing: -1.5px;
  }

  .category-page-copy p {
    font-size: 13px;
  }

  .category-benefits {
    gap: 7px;
    margin-top: 17px;
  }

  .category-benefits span {
    min-height: 30px;
    font-size: 9px;
  }

  .category-page-button {
    width: 100%;
    justify-content: flex-start;
  }

  .category-page-button i:last-child {
    margin-left: auto;
  }

}

/* LISTA DE TODAS AS CATEGORIAS */

body.categories-index-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f8fbfc;
}

.categories-index-page {
  flex: 1;
  width: 100%;
  padding: 24px 18px 60px;
}

.categories-index-content {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.categories-index-header {
  max-width: 680px;
  margin: 44px auto 36px;
  text-align: center;
}

.categories-index-header > span {
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.categories-index-header h1 {
  margin-top: 9px;
  color: var(--black);
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1;
  letter-spacing: -2px;
}

.categories-index-header p {
  max-width: 590px;
  margin: 15px auto 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}

.all-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.all-category-card {
  position: relative;
  display: grid;
  grid-template-columns: 108px 1fr 22px;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 151, 167, 0.13);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f4fbfc);
  box-shadow: 0 12px 32px rgba(6, 31, 63, 0.07);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.all-category-card:hover,
.all-category-card:focus-visible {
  border-color: rgba(0, 151, 167, 0.38);
  box-shadow: 0 18px 42px rgba(6, 31, 63, 0.12);
  transform: translateY(-4px);
}

.all-category-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.all-category-visual {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  padding: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 25%, var(--green-soft) 100%);
  color: var(--green-dark);
  font-size: 42px;
}

.all-category-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(6, 31, 63, 0.12));
  transition: transform 0.22s ease;
}

.all-category-card:hover .all-category-visual img {
  transform: scale(1.06);
}

.all-category-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.all-category-name {
  overflow: hidden;
  color: var(--black);
  font-size: 20px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.all-category-content small {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
}

.all-category-arrow {
  color: var(--yellow);
  font-size: 15px;
  transition: transform 0.22s ease;
}

.all-category-card:hover .all-category-arrow {
  transform: translateX(4px);
}

.categories-index-loading,
.categories-index-empty {
  grid-column: 1 / -1;
  padding: 50px 20px;
  color: var(--gray);
  text-align: center;
}

.categories-index-body > .site-footer {
  margin-top: 0;
}

@media (max-width: 600px) {
  .categories-index-page {
    padding: 18px 16px 38px;
  }

  .categories-index-header {
    margin: 34px auto 28px;
    text-align: left;
  }

  .categories-index-header h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .categories-index-header p {
    font-size: 12px;
  }

  .all-categories-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .all-category-card {
    grid-template-columns: 82px 1fr 18px;
    gap: 14px;
    min-height: 116px;
    padding: 16px;
    border-radius: 14px;
  }

  .all-category-visual {
    width: 82px;
    height: 82px;
    font-size: 34px;
  }

  .all-category-name {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .all-category-card,
  .all-category-visual img,
  .all-category-arrow,
  .all-categories-button,
  .side-menu-all-categories {
    transition: none;
  }
}

/* PÁGINAS LEGAIS */

.legal-page {
  min-height: 60vh;
  padding: 56px 18px 72px;
  background: var(--white);
}

.legal-page article {
  max-width: 760px;
  margin: 0 auto;
}

.legal-page-label {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin-top: 8px;
  color: var(--black);
  font-size: clamp(34px, 6vw, 48px);
  letter-spacing: -1.5px;
}

.legal-page-updated {
  margin-top: 8px;
  color: var(--gray);
  font-size: 11px;
}

.legal-page h2 {
  margin-top: 34px;
  color: var(--black);
  font-size: 17px;
}

.legal-page article > p:not(.legal-page-updated) {
  margin-top: 10px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 600px) {
  .legal-page {
    padding-top: 36px;
  }
}

.product-page {
  min-height: 58vh;
  padding-top: 28px;
}

.product-page-header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.product-page-back {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.product-page-header img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.product-page-header > span {
  display: block;
  width: fit-content;
  margin: 12px auto 8px;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-page-header h1 {
  font-size: clamp(25px, 5vw, 38px);
  color: var(--black);
}

.product-page-header p {
  max-width: 500px;
  margin: 10px auto 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer {
  margin-top: 28px;
  background: var(--white);
  border-top: 1px solid #edf1f3;
  box-shadow: none;
}

.footer-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 17px 18px;
}

.footer-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 4px 0 20px;
  border-bottom: 1px solid #edf1f3;
}

.footer-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--green);
}

.footer-benefit > i {
  font-size: 20px;
}

.footer-benefit span {
  display: flex;
  flex-direction: column;
  color: var(--gray);
  font-size: 10px;
  line-height: 1.35;
}

.footer-benefit strong {
  color: var(--black);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  flex-shrink: 0;
  color: var(--gray);
  font-size: 10px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: var(--gray);
  font-size: 10px;
}

.footer-legal a {
  color: var(--black);
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--green-dark);
}

.site-footer.has-benefits .footer-bottom {
  padding-top: 16px;
}

@media (max-width: 600px) {
  .site-footer {
    margin-top: 20px;
  }

  .footer-container {
    padding: 16px;
  }

  .footer-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding-bottom: 12px;
  }

  .footer-benefit {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    text-align: center;
  }

  .footer-benefit > i {
    font-size: 17px;
  }

  .footer-benefit span {
    align-items: center;
    min-width: 0;
    font-size: 0;
    line-height: 1.15;
  }

  .footer-benefit strong {
    font-size: 9px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    gap: 7px 13px;
  }
}
