:root {
  --green: #44675a;
  --green-soft: #5d7062;
  --orange: #fbaf5d;
  --orange-action: #fca44e;
  --terracotta: #c58a5c;
  --sand: #e7c598;
  --bg: #fffbf2;
  --bg-secondary: #f8f7ed;
  --white: #ffffff;
  --text: #5d7062;
  --ink: #29443a;
  --shadow: 0 18px 48px rgba(68, 103, 90, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 251, 242, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(68, 103, 90, 0.1);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 104px;
  padding: 12px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 84px;
  object-fit: contain;
  width: auto;
}

.site-nav {
  align-items: center;
  color: var(--green);
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: clamp(14px, 2.4vw, 30px);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  background: var(--orange-action);
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: var(--green);
  display: block;
  height: 2px;
  margin: 7px 0;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 82px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - 104px);
  padding: clamp(38px, 8vw, 92px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 58px);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--green);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.7rem, 6.8vw, 6.35rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 18px;
}

h3 {
  color: var(--green);
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-content > p:not(.eyebrow),
.about-copy,
.reviews-copy > p,
.contact-copy > p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-secondary {
  background: var(--orange);
  color: var(--green);
}

.hero-media {
  position: relative;
}

.hero-photo {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-photo img {
  display: block;
  height: auto;
  width: 100%;
}

.studio-scene {
  inset: 0;
  position: absolute;
}

.studio-scene::before {
  background: rgba(68, 103, 90, 0.12);
  bottom: 25%;
  content: "";
  height: 42%;
  left: 11%;
  position: absolute;
  width: 5px;
}

.reformer {
  animation: carriage-glide 5.8s ease-in-out infinite;
  background: var(--green);
  border-radius: 8px;
  bottom: 23%;
  height: 18px;
  left: 14%;
  position: absolute;
  width: 62%;
}

.reformer::before,
.reformer::after {
  background: var(--green-soft);
  border-radius: 8px;
  content: "";
  position: absolute;
}

.reformer::before {
  animation: strap-sway-left 5.8s ease-in-out infinite;
  height: 84px;
  left: 18%;
  top: -82px;
  transform: rotate(-18deg);
  width: 13px;
}

.reformer::after {
  animation: strap-sway-right 5.8s ease-in-out infinite;
  height: 120px;
  right: 12%;
  top: -110px;
  transform: rotate(23deg);
  width: 13px;
}

.ball {
  animation: breath-float 4.8s ease-in-out infinite;
  background: var(--orange);
  border-radius: 50%;
  bottom: 28%;
  height: 90px;
  position: absolute;
  right: 11%;
  width: 90px;
}

.mat {
  animation: mat-breathe 5.8s ease-in-out infinite;
  background: rgba(197, 138, 92, 0.38);
  border-radius: 8px;
  bottom: 14%;
  height: 38px;
  left: 18%;
  position: absolute;
  transform: skewX(-16deg);
  width: 58%;
}

.pilates-figure {
  animation: figure-breathe 5.8s ease-in-out infinite;
  bottom: 27%;
  height: 176px;
  left: 29%;
  position: absolute;
  transform-origin: 42% 86%;
  width: 210px;
  z-index: 2;
}

.figure-head,
.figure-body,
.figure-arm,
.figure-leg {
  position: absolute;
}

.figure-head {
  background: rgba(255, 251, 242, 0.82);
  border: 4px solid var(--green);
  border-radius: 50%;
  height: 28px;
  left: 16px;
  top: 24px;
  width: 28px;
}

.figure-body {
  border-bottom: 6px solid var(--green);
  border-left: 6px solid var(--green);
  border-radius: 4px 0 0 52px;
  height: 74px;
  left: 44px;
  top: 58px;
  transform: rotate(-14deg);
  width: 82px;
}

.figure-arm {
  background: var(--green);
  border-radius: 999px;
  height: 6px;
  left: 74px;
  top: 91px;
  transform: rotate(8deg);
  transform-origin: left center;
  width: 98px;
}

.figure-leg {
  background: var(--green);
  border-radius: 999px;
  height: 6px;
  left: 102px;
  top: 116px;
  transform-origin: left center;
}

.figure-leg-low {
  transform: rotate(7deg);
  width: 96px;
}

.figure-leg-high {
  animation: leg-control 5.8s ease-in-out infinite;
  transform: rotate(-52deg);
  width: 120px;
}

@keyframes breath-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-16px) scale(1.03);
  }
}

@keyframes carriage-glide {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(14px);
  }
}

@keyframes strap-sway-left {
  0%,
  100% {
    transform: rotate(-18deg);
  }

  50% {
    transform: rotate(-12deg) translateX(4px);
  }
}

@keyframes strap-sway-right {
  0%,
  100% {
    transform: rotate(23deg);
  }

  50% {
    transform: rotate(18deg) translateX(-4px);
  }
}

@keyframes mat-breathe {
  0%,
  100% {
    opacity: 0.9;
    transform: skewX(-16deg) translateX(0);
  }

  50% {
    opacity: 1;
    transform: skewX(-16deg) translateX(10px);
  }
}

@keyframes figure-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes leg-control {
  0%,
  100% {
    transform: rotate(-52deg);
  }

  50% {
    transform: rotate(-58deg) translateY(-2px);
  }
}

.section {
  padding: clamp(58px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
}

.about {
  background: var(--bg-secondary);
}

.about-grid {
  align-items: stretch;
  display: grid;
  gap: clamp(26px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.6fr);
  margin-top: 26px;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-copy p {
  margin-bottom: 0;
}

.about-highlights {
  display: grid;
  gap: 12px;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  height: 100%;
}

.about-highlights span {
  align-items: center;
  background: var(--white);
  border-left: 4px solid var(--orange-action);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(68, 103, 90, 0.08);
  color: var(--green);
  display: flex;
  font-weight: 900;
  padding: 17px 18px;
}

.specialties-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
}

.specialty-card,
.info-panel {
  background: var(--white);
  border: 1px solid rgba(68, 103, 90, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(68, 103, 90, 0.08);
}

.specialty-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.specialty-card img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.specialty-card:hover {
  border-color: rgba(252, 164, 78, 0.65);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.specialty-card h3,
.specialty-card p,
.specialty-card .specialty-link {
  margin-left: 24px;
  margin-right: 24px;
}

.specialty-card h3 {
  margin-top: 24px;
}

.specialty-card p {
  flex: 1;
}

.specialty-card .specialty-link {
  color: var(--terracotta);
  display: block;
  font-size: 0.92rem;
  font-weight: 900;
  margin-bottom: 24px;
  margin-top: 12px;
  text-transform: uppercase;
}

.reviews {
  align-items: center;
  background: var(--bg-secondary);
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 0.88fr);
}

.trustindex-widget {
  background: var(--white);
  border: 1px solid rgba(68, 103, 90, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(68, 103, 90, 0.08);
  min-width: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
}

.trustindex-widget > * {
  max-width: 100%;
}

.contact {
  align-items: stretch;
  background: var(--green);
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: clamp(26px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.9fr);
}

.contact h2,
.contact .eyebrow {
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list > span,
.address-links {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  padding: 14px 16px;
}

.address-links {
  display: grid;
  gap: 12px;
}

.address-links summary {
  cursor: pointer;
  list-style-position: inside;
}

.address-links summary::marker {
  color: var(--orange);
}

.map-choice {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.map-choice > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.contact-list .map-links a {
  background: transparent;
  color: var(--white);
  font-size: 0.88rem;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-list .map-links a:hover {
  background: transparent;
  color: var(--orange);
}

.technical-responsible {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  margin: 18px 0 0;
}

.map-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-height: 360px;
  overflow: hidden;
}

.map-card iframe {
  border: 0;
  display: block;
  height: 100%;
  min-height: 360px;
  width: 100%;
}

.site-footer {
  align-items: center;
  background: #365449;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
}

.floating-whatsapp {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  bottom: 22px;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.34);
  color: var(--white);
  display: flex;
  height: 62px;
  justify-content: center;
  position: fixed;
  right: 22px;
  transition: box-shadow 180ms ease, transform 180ms ease;
  width: 62px;
  z-index: 30;
}

.floating-whatsapp:hover {
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.42);
  transform: translateY(-3px);
}

.floating-whatsapp svg {
  fill: currentColor;
  height: 36px;
  width: 36px;
}

.subpage-hero {
  align-items: center;
  background: var(--bg-secondary);
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  padding: clamp(58px, 9vw, 110px) clamp(20px, 5vw, 72px);
}

.subpage-hero .button {
  margin-top: 18px;
}

.subpage-hero img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  object-fit: cover;
  width: 100%;
}

.content-layout {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
}

.content-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
}

.content-list li {
  background: var(--bg-secondary);
  border-radius: 8px;
  color: var(--green);
  font-weight: 800;
  list-style: none;
  padding: 14px 16px;
}

.info-panel {
  padding: 28px;
}

.info-panel strong {
  color: var(--green);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.service-intro {
  max-width: 780px;
}

.service-groups {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.service-group {
  background: var(--white);
  border: 1px solid rgba(68, 103, 90, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(68, 103, 90, 0.08);
  overflow: hidden;
}

.service-group summary {
  align-items: center;
  color: var(--green);
  cursor: pointer;
  display: flex;
  font-weight: 900;
  gap: 14px;
  list-style: none;
  padding: 18px 20px;
}

.service-group summary::-webkit-details-marker {
  display: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0 20px 20px;
}

.tag-list li {
  background: var(--bg-secondary);
  border: 1px solid rgba(68, 103, 90, 0.08);
  border-radius: 8px;
  color: var(--green-soft);
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
  padding: 9px 12px;
}

@media (max-width: 1080px) {
  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: var(--bg);
    border-bottom: 1px solid rgba(68, 103, 90, 0.1);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0;
    left: 0;
    opacity: 0;
    padding: 12px 20px 20px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 104px;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 0;
  }

  .hero,
  .about-grid,
  .reviews,
  .contact,
  .content-layout,
  .subpage-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }
}

@media (max-width: 620px) {
  .brand-logo {
    height: 68px;
  }

  .floating-whatsapp {
    bottom: 16px;
    height: 56px;
    right: 16px;
    width: 56px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .ball {
    height: 64px;
    width: 64px;
  }

  .pilates-figure {
    left: 22%;
    transform: scale(0.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Blog: ultimos artigos na home e pagina de listagem */
.blog-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-top: 34px;
}

.blog-card {
  background: var(--white);
  border: 1px solid rgba(68, 103, 90, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(68, 103, 90, 0.08);
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.blog-card:hover {
  border-color: rgba(252, 164, 78, 0.65);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.blog-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  background: var(--bg-secondary);
  display: block;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.blog-card-cat {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h2,
.blog-card h3 {
  color: var(--green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0;
}

.blog-card p {
  flex: 1;
  font-size: 0.94rem;
  margin: 0;
}

.blog-card-more {
  color: var(--terracotta);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-more {
  margin-top: 30px;
  text-align: center;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.blog-filters button {
  background: var(--white);
  border: 1px solid rgba(68, 103, 90, 0.25);
  border-radius: 999px;
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 16px;
}

.blog-filters button.is-active,
.blog-filters button:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.blog-index-hero {
  grid-template-columns: minmax(0, 1fr);
}

/* Carrossel de artigos na pagina inicial */
.blog-carousel {
  margin-top: 34px;
  position: relative;
}

.blog-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.blog-track::-webkit-scrollbar {
  display: none;
}

.blog-track .blog-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
}

.blog-nav {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(68, 103, 90, 0.25);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(68, 103, 90, 0.18);
  color: var(--green);
  cursor: pointer;
  display: flex;
  font-size: 1.6rem;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 44px;
  z-index: 2;
}

.blog-nav:hover {
  background: var(--green);
  color: var(--white);
}

.blog-prev {
  left: -14px;
}

.blog-next {
  right: -14px;
}

@media (max-width: 1080px) {
  .blog-track .blog-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 620px) {
  .blog-track .blog-card {
    flex-basis: 86%;
  }

  .blog-prev {
    left: 4px;
  }

  .blog-next {
    right: 4px;
  }
}

.blog-index-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
}

/* Avaliacoes do Google em carrossel */
.reviews.reviews-carousel {
  display: block;
}

.reviews-head {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: space-between;
}

.reviews-score {
  color: var(--green);
  font-size: 1.05rem;
  margin: 6px 0 0;
}

.reviews-score strong {
  font-size: 1.4rem;
}

.review-stars {
  color: var(--orange-action);
  letter-spacing: 2px;
}

.blog-track .review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
}

.review-card {
  background: var(--white);
  border: 1px solid rgba(68, 103, 90, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(68, 103, 90, 0.08);
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.review-card:hover {
  border-color: rgba(252, 164, 78, 0.65);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.review-head {
  align-items: center;
  display: flex;
  gap: 12px;
}

.review-avatar {
  align-items: center;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.review-who {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.review-who strong {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-g {
  flex: 0 0 auto;
  height: 22px;
  width: 22px;
}

.review-card p {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  display: -webkit-box;
  flex: 1;
  font-size: 0.95rem;
  margin: 0;
  overflow: hidden;
}

.review-more {
  color: var(--terracotta);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .blog-track .review-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 620px) {
  .blog-track .review-card {
    flex-basis: 86%;
  }
}


/* Hero: proporcao texto/imagem e movimento */
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  line-height: 1.06;
}

.hero-media {
  padding: 18px;
}

.hero-photo {
  animation: hero-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both,
    hero-bob 7s ease-in-out 900ms infinite alternate,
    hero-glow 5s ease-in-out 900ms infinite alternate;
  aspect-ratio: 3 / 2;
}

.hero-photo img {
  animation: hero-zoom 24s ease-in-out infinite alternate;
  height: 100%;
  object-fit: cover;
  transform-origin: 60% 45%;
}

.hero-photo::after {
  animation: hero-shine 7s ease-in-out 2.4s infinite;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-130%);
}

.hero-media::before,
.hero-media::after {
  border-radius: 50%;
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.hero-media::before {
  animation: hero-drift-a 9s ease-in-out infinite alternate;
  background: var(--orange);
  height: 92px;
  left: -6px;
  opacity: 0.9;
  top: -6px;
  width: 92px;
}

.hero-media::after {
  animation: hero-drift-b 11s ease-in-out infinite alternate;
  border: 10px solid var(--green);
  bottom: -10px;
  height: 120px;
  opacity: 0.85;
  right: -8px;
  width: 120px;
}

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

.hero-chip {
  animation: hero-chip-float 5s ease-in-out infinite alternate;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(68, 103, 90, 0.22);
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 9px 16px 9px 30px;
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
  z-index: 2;
}

.hero-chip::before {
  background: var(--orange-action);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 13px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.hero-chip-a {
  left: -4px;
  top: 12%;
}

.hero-chip-b {
  animation-delay: 1.2s;
  animation-duration: 6s;
  right: -6px;
  top: 47%;
}

.hero-chip-c {
  animation-delay: 2.4s;
  animation-duration: 4.6s;
  bottom: 14%;
  left: 5%;
}

.hero-chip-d {
  animation-delay: 0.6s;
  animation-duration: 5.6s;
  right: -6px;
  top: 14%;
}

.hero-chip-e {
  animation-delay: 1.8s;
  animation-duration: 6.4s;
  animation-name: hero-chip-float-b;
  bottom: -14px;
  right: 12%;
}

.hero-content > * {
  animation: hero-fade-up 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-content > :nth-child(2) {
  animation-delay: 120ms;
}

.hero-content > :nth-child(3) {
  animation-delay: 260ms;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes hero-bob {
  to {
    transform: translateY(-9px);
  }
}

@keyframes hero-glow {
  from {
    box-shadow: 0 18px 48px rgba(68, 103, 90, 0.16);
  }

  to {
    box-shadow: 0 22px 60px rgba(252, 164, 78, 0.42);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1) translate(0, 0);
  }

  to {
    transform: scale(1.07) translate(-1%, -1%);
  }
}

@keyframes hero-shine {
  0% {
    transform: translateX(-130%);
  }

  35%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes hero-drift-a {
  to {
    transform: translate(18px, 22px) scale(1.12);
  }
}

@keyframes hero-drift-b {
  to {
    transform: translate(-16px, -20px) scale(0.92);
  }
}

@keyframes hero-chip-float {
  to {
    transform: translateY(-12px);
  }
}

@keyframes hero-chip-float-b {
  to {
    transform: translate(-8px, 10px);
  }
}

@media (max-width: 860px) {
  .hero-media {
    padding: 14px 10px;
  }

  .hero-chip {
    font-size: 0.72rem;
    padding: 6px 11px 6px 24px;
  }

  .hero-chip-a {
    top: 8%;
  }

  .hero-chip-d {
    top: 22%;
  }

  .hero-chip-b {
    top: 50%;
  }

  .hero-chip-e {
    right: 6%;
  }

  .hero-chip::before {
    left: 10px;
  }

  .hero-media::before {
    height: 64px;
    width: 64px;
  }

  .hero-media::after {
    border-width: 8px;
    height: 84px;
    width: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .hero-photo img,
  .hero-photo::after,
  .hero-media::before,
  .hero-media::after,
  .hero-chip,
  .hero-content > * {
    animation: none !important;
  }
}

/* Aviso de cookies (Consent Mode) */
.cookie-banner {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(68, 103, 90, 0.18);
  border-radius: 8px;
  bottom: 16px;
  box-shadow: 0 18px 48px rgba(68, 103, 90, 0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  left: 16px;
  max-width: 820px;
  padding: 16px 20px;
  position: fixed;
  right: 92px;
  z-index: 60;
}

.cookie-banner[hidden],
.cookie-reopen[hidden] {
  display: none;
}

.cookie-banner p {
  color: var(--text);
  flex: 1 1 320px;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 9px 18px;
}

.button-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

.cookie-reopen {
  background: var(--white);
  border: 1px solid rgba(68, 103, 90, 0.25);
  border-radius: 999px;
  bottom: 16px;
  box-shadow: 0 6px 18px rgba(68, 103, 90, 0.18);
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  left: 16px;
  padding: 7px 14px;
  position: fixed;
  z-index: 55;
}

@media (max-width: 620px) {
  .cookie-banner {
    bottom: 84px;
    right: 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .button {
    flex: 1;
    width: auto;
  }
}

/* Quem somos: os boxes se movem ao passar o mouse */
.about-highlights span {
  cursor: default;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 240ms ease,
    background-color 240ms ease, border-left-color 240ms ease;
}

.about-highlights span:hover,
.about-highlights span:active {
  background: #fffaf0;
  border-left-color: var(--terracotta);
  box-shadow: 0 16px 34px rgba(68, 103, 90, 0.18);
  transform: translateX(10px);
}

@media (prefers-reduced-motion: reduce) {
  .about-highlights span {
    transition: none;
  }

  .about-highlights span:hover,
  .about-highlights span:active {
    transform: none;
  }
}
