@font-face {
  font-family: "Font Awesome 6 Free:Solid";
  src: url("https://static.figma.com/font/Font%20Awesome%206%20Free-Solid-900_2") format("woff2");
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Inter:Bold";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Inter:Extra Bold";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Inter:Medium";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Inter:Regular";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Mulish:Bold";
  src: url("https://static.figma.com/font/Mulish_wght__1") format("woff2");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Mulish:ExtraBold";
  src: url("https://static.figma.com/font/Mulish_wght__1") format("woff2");
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Mulish:SemiBold";
  src: url("https://static.figma.com/font/Mulish_wght__1") format("woff2");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Nokora:Regular";
  src: url("https://static.figma.com/font/Nokora_wght__1") format("woff2");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Plus Jakarta Sans:Bold";
  src: url("https://static.figma.com/font/PlusJakartaSans_wght__2") format("woff2");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Plus Jakarta Sans:Medium";
  src: url("https://static.figma.com/font/PlusJakartaSans_wght__2") format("woff2");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Plus Jakarta Sans:SemiBold";
  src: url("https://static.figma.com/font/PlusJakartaSans_wght__2") format("woff2");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: 'Decimal Ultra';
  src: url('assets/decimal-ultra.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


.plus-jakarta-sans {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

:root {
  --cream: #f9f0e9;
  --paper: #fdf5f0;
  --brown: #a1631c;
  --ink: #3b240a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--cream);
}

body { font-family: "Decimal", Georgia, serif; font-weight: 400; }
h1, h2, strong { font-weight: 900; }

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
}

main {
  overflow: hidden;
}

.section-pad {
  padding: 100px max(6.6vw, 32px);
}

.top-nav {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 6.6vw;
}

.nav-pill {
    width: fit-content;
    margin: auto;
    height: 64px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    border-radius: 32px;
    background: rgb(253 245 240 / 88%);
    /* box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.05); */
    /* backdrop-filter: blur(8px); */
}

.city-logo img {
  width: 123px;
  height: 33px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--brown);
  font-family: "Decimal", Georgia, serif; 
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.16px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  /*opacity: 0.6;*/ font-weight: 800;
}

.nav-links .active {
  font-family: "Decimal", Georgia, serif;
}

.hero {
  position: relative;
  min-height: 864px;
  display: flex;
  align-items: center;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

/*.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(12, 20, 16, 0.76) 0%,
    rgba(12, 20, 16, 0.28) 52%,
    rgba(12, 20, 16, 0.02) 100%
  );
}*/

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 46vw);
  margin-left: 10.3vw;
  color: #fafafa;
}

.hero-content h1 {font-family: "Decimal Ultra", Georgia, serif;
  font-size: 64px;
  line-height: 72px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-content h2 {
  margin-top: 16px;
  font-family: "Plus Jakarta Sans:Bold", sans-serif;
  font-size: 28px;
  line-height: 28px;
}

.hero-content p {
  margin-top: 48px;
  max-width: 640px;
  font-family: "Plus Jakarta Sans:Bold", sans-serif;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.18px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.eyebrow img {
    width: 17.5px;
    height: 17.5px;
    display: none;
}

.eyebrow h2 {
  font-family: "Decimal", Georgia, serif;
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
}

.section-heading > p {
  font-family: "Decimal", Georgia, serif;
  font-size: 32px;
  line-height: 48px;
}

.section-heading--light {
  align-items: flex-start;
  color: white;
  text-align: left;
}

.access {
    background: var(--paper);
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9;
    position: relative;
}

.access-list {
    margin: 20px 20px 0px 20px;
    color: #757575;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
}

.video-card {
    position: relative;
    display: flex;
    max-width: 1152px;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
}

.video-card > img:first-child {
  width: 100%;
  aspect-ratio: 1312 / 573;
  object-fit: cover;
}

.video-card .play-icon {
    position: absolute;
    width: 128px;
    height: 128px;
    /* left: 50%; */
    /* top: 50%; */
    /* transform: translate(-50%, -50%); */
    transition: transform 0.25s ease;
}

.video-card:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.08);
}

.care {
  padding-left: 0;
  padding-right: 0;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 64px;
  padding: 0 0;
}

.care-card {
    position: relative;
    height: 556px;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.care-card img,
.care-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.care-card img {
  object-fit: cover;
}

.care-image--one {
  object-position: 50% 35%;
}

.care-image--two {
  object-position: 46% 50%;
}

.care-image--three {
  object-position: 50% 35%;
}

.care-image--four {
  object-position: 24% 50%;
}

.care-tint {
/*  background: linear-gradient(180deg, rgba(59, 36, 10, 0.08), rgba(59, 36, 10, 0.62));*/
}

.care-card h3 {
  position: absolute;
  z-index: 1;

  color: white;
  font-family: "Decimal", Georgia, serif;
  font-size: 28px;
  line-height: 32px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 7px 15px rgba(0, 0, 0, 0.15);
}

.care-card h3 span {
  display: block;
}

.diagnostics {
  color: white;
  background: var(--brown);
}

.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(300px, 480px) minmax(440px, 537px);
  justify-content: space-between;
  align-items: center;
  gap: 64px;
  margin-top: 64px;
}

.service-list h3 {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-family: "Decimal", Georgia, serif;
  font-size: 28px;
  line-height: 32px;
}

.service-list div h3 {
  padding-top: 0;
  border-bottom: 0;
}

.service-list p {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 20px;
  line-height: 24px;
  opacity: 0.7;
}

.diagnostic-image {
  width: 100%;
  aspect-ratio: 537 / 505;
  border-radius: 26px;
  object-fit: cover;
}





.diagnostics {
  color: white;
  background: var(--brown);
}

.diagnostic-layout {
    display: grid;
    grid-template-columns: minmax(380px, 480px) minmax(440px, 737px);
    justify-content: space-between;
    align-items: start;
    gap: 64px;
    margin-top: 64px;
}

.service-list {
  width: 100%;
}

.diagnostic-service {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.diagnostic-service__button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;

  font-family: "Decimal", Georgia, serif;
  font-size: 28px;
  line-height: 32px;

  transition: opacity 0.3s ease;
}

.diagnostic-service__button:hover {
  opacity: 0.75;
}

.diagnostic-service__button:focus-visible {
  outline: 2px solid white;
  outline-offset: 5px;
}

.diagnostic-service__icon {
  flex-shrink: 0;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.35s ease;
}

.diagnostic-service.is-active .diagnostic-service__icon {
  transform: rotate(45deg);
}

.diagnostic-service__description {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition:
    opacity 0.35s ease,
    padding 0.35s ease;
}

.diagnostic-service__description[hidden] {
  display: none;
}

.diagnostic-service__description p {
    padding: 0 0 28px;
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 1px;
    opacity: 0.7;
    animation: diagnosticTextIn 0.4s ease both;
}

.diagnostic-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 26px;
    aspect-ratio: 537 / 380;
}

.diagnostic-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;

  transition:
    opacity 0.35s ease,
    transform 0.7s ease;
}

.diagnostic-image.is-changing {
  opacity: 0.25;
  transform: scale(1.025);
}

@keyframes diagnosticTextIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* Responsividade */

@media (max-width: 720px) {
  .diagnostic-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 36px;
  }

  .diagnostic-image-wrapper {
    grid-row: 1;
    aspect-ratio: 1 / 0.85;
  }

  .diagnostic-service__button {
    padding: 20px 0;
    font-size: 21px;
    line-height: 28px;
  }

  .diagnostic-service__icon {
    font-size: 24px;
  }

  .diagnostic-service__description p {
    padding-bottom: 22px;
    font-size: 15px;
    line-height: 22px;
  }
}






.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(370px, 1fr);
  gap: 20px;
  max-width: 1329px;
  margin: 64px auto 0;
}

.rooms-grid img,
.room-copy {
  width: 100%;
  height: 100%;
  min-height: 270px;
  border-radius: 24px;
}

.rooms-grid img {
  object-fit: cover;
}

.room-copy {
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--paper);
  font-size: 32px;
  line-height: 1.15;
  text-align: center;
	    font-family: "Plus Jakarta Sans", sans-serif;
}

.faq {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
	  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.faq-list {
    max-width: 1362px;
    margin: 44px auto 0;
    width: 100%;
}

.faq-list details {
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #e9d5c9;
  border-radius: 24px;
  background: #f3e6df;
}

.faq-list summary {
    position: relative;
    padding: 30px 72px 30px 40px;
    color: #8e4f2e;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 28px;
    line-height: 32px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
    padding: 0 40px 30px;
    color: #3E3E3E;
    font-size: 20px;
    line-height: 28px;
    font-family: "Plus Jakarta Sans", sans-serif;
    letter-spacing: 0.03em;
}

.aerial-break {
  height: min(42vw, 940px);
  min-height: 820px;
}

.aerial-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

footer {
  padding: 88px max(6.6vw, 32px) 56px;
  color: #fafafa;
  background: var(--brown);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  max-width: 1312px;
  margin: auto;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  color: inherit;
  font-family: "Decimal", Georgia, serif; 
  font-size: 20px;
  line-height: 24px;
  text-decoration: none;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
}

footer address {
    font-family: "Plus Jakarta Sans:Medium", sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-style: normal;
    opacity: 0.75;
}

footer address strong {
  color: white;
}

.footer-brands {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    margin-top: 56px;
}

.footer-brands strong {font-family: "Decimal", Georgia, serif;
  font-size: 28px;
  line-height: 27px;
  text-align: center;
}

.footer-brands img {
  width: 188px;
  height: 98px;
  object-fit: contain;
}

@media (max-width: 1050px) {
  .nav-pill {
    padding: 0 26px;
    gap: 24px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .care-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 32px;
  }

  .diagnostic-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
	
	
	.faq {
    padding-top: 120px !important;
}
	
  .section-pad {
    padding: 64px 20px;
  }

  .top-nav {
    position: absolute;
    padding: 14px;
  }

  .nav-pill {
    width: 100%;
    height: 52px;
    justify-content: space-between;
    padding: 0 18px;
  }

  .city-logo img {
    width: 104px;
    height: auto;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .nav-links a {
    font-size: 13px;
  }

  .hero {
    min-height: 680px;
    align-items: flex-end;
    padding-bottom: 72px;
  }

  .hero-image {
    object-position: 57% center;
  }

  .hero-shade {
/*    background: linear-gradient(0deg, rgba(12, 20, 16, 0.86) 0%, rgba(12, 20, 16, 0.18) 80%);*/
  }

  .hero-content {
    width: auto;
    margin: 0 24px;
  }

  .hero-content h1 {
    font-size: 48px;
    line-height: 48px;
  }

  .hero-content h2 {
    font-size: 22px;
  }

  .hero-content p {
    margin-top: 28px;
    font-size: 15px;
    line-height: 22px;
  }

  .section-heading {
    gap: 14px;
  }

  .eyebrow {
    gap: 8px;
  }

.eyebrow h2 {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 1.7px;
}

  .eyebrow img {
    width: 12px;
    height: 12px;
  }

  .section-heading > p {
    font-size: 21px;
    line-height: 30px;
  }

  .access-list {
    margin: 20px auto 28px;
    font-size: 15px;
    line-height: 23px;
  }


  .video-card {
    border-radius: 16px;
  }

  .video-card > img:first-child {
    aspect-ratio: 16 / 9;
  }

  .video-card .play-icon {
    width: 72px;
    height: 72px;
  }

  .care-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 36px;
    padding: 0;
  }

  .care-card {
    height: 330px;
    border-radius: 8px;
  }

  .care-card h3 {
    font-size: 17px;
    line-height: 22px;
  }

  .diagnostic-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 36px;
  }

  .diagnostic-image {
    grid-row: 1;
  }

  .service-list h3 {
    font-size: 21px;
    line-height: 28px;
  }

  .service-list p {
    font-size: 15px;
    line-height: 22px;
  }

.rooms-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
    gap: 10px;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
}

.rooms-grid img, .room-copy {
    min-height: 270px;
    border-radius: 14px;
}

  .room-copy {
    font-size: 24px;
  }

  .rooms-grid > :nth-child(3) {
    grid-row: 2;
    grid-column: 2;
  }

  .faq-list {
    margin-top: 36px;
  }

  .faq-list details {
    border-radius: 14px;
  }

  .faq-list summary {
    padding: 20px 54px 20px 20px;
    font-size: 15px;
    line-height: 22px;
  }

  .faq-list summary::after {
    right: 20px;
    font-size: 24px;
  }

  .faq-list details p {
    padding: 0 20px 22px;
    font-size: 14px;
    line-height: 22px;
  }

  .aerial-break {
    min-height: 460px;
  }
	

	
	

  footer {
    padding: 56px 24px 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

.footer-links {
    justify-content: space-evenly;
    gap: 24px;
}

.footer-links a {
    font-size: 20px;
    line-height: 23px;
}
	
	footer address {
    font-size: 14px;
    line-height: 23px;
}

  .footer-brands {
    gap: 20px;
    margin-top: 44px;
  }

  .footer-brands strong {
    font-size: 20px;
    line-height: 20px;
  }

  .footer-brands img {
    width: 140px;
    height: auto;
  }
}

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

  * {
    transition: none !important;
  }
}


/* =========================================
   GALERIA — PRONTO PRA RECEBER
========================================= */

.care {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.care-grid {
  display: block;
  position: relative;
  width: 100%;
  margin-top: 64px;
  padding: 0;

  overflow-x: visible;
  overflow-y: visible;

  scrollbar-width: none;
  -ms-overflow-style: none;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
}

.care-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.care-track {
  display: flex;
  width: 100%;
  gap: 10px;
}

.care-card {
  position: relative;
  flex: 0 0 calc((100% - 96px) / 4);
  min-width: 0;
  height: auto;
  overflow: hidden;
  border-radius: 16px;

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

  scroll-snap-align: start;
}

.care-card img,
.care-card .care-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.care-card img {
  display: block;
  object-fit: cover;
  pointer-events: none;
  transition: transform .8s cubic-bezier(.22,.75,.25,1);
}

.care-card:hover img {
  transform: scale(1.04);
}

.care-image--one { object-position: 50% 35%; }
.care-image--two { object-position: 46% 50%; }
.care-image--three { object-position: 50% 35%; }

.care-image--four,
.care-image--five {
  object-position: 24% 50%;
}

.care-tint {
/*  background: linear-gradient(
    180deg,
    rgba(59, 36, 10, .08),
    rgba(59, 36, 10, .62)
  );*/
  pointer-events: none;
}

.care-card h3 {
    position: absolute;
    z-index: 1;
    color: white;
    font-family: "Decimal", Georgia, serif;
    font-size: 25px;
    line-height: 28px;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 7px 15px rgba(0,0,0,.15);
    pointer-events: none;
}

.care-card h3 span {
  display: block;
}

.care-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.care-grid.is-dragging .care-card {
  pointer-events: none;
}

@media (max-width: 1050px) {
  .care-track {
    gap: 20px;
  }

  .care-card {
    flex-basis: calc((100% - 20px) / 2);
    height: 440px;
  }
}

@media (max-width: 720px) {
  .care-grid {
    margin-top: 36px;
    padding: 0 20px;
  }

  .care-track {
    gap: 12px;
  }

  .care-card {
    flex: 0 0 calc((100vw - 52px) / 1.5);
    height: 330px;
    border-radius: 8px;
  }

  .care-card h3 {
    font-size: 17px;
    line-height: 22px;
  }
}

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

  .care-card img {
    transition: none;
  }
}




/* Player de vídeo — seção PRONTO PRA ACESSAR */

.video-card {
  position: relative;
  display: block;
  overflow: hidden;
}

.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon-button {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.play-icon-button .play-icon {
  display: block;
  pointer-events: none;
}

.play-icon-button[hidden] {
  display: none;
}

.video-card video[controls] {
  height: 100%;
}




.video-card {
  aspect-ratio: 16 / 9;
  height: auto;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}






/* =========================================
   MENU HAMBÚRGUER — MOBILE
========================================= */

.menu-toggle {
  display: none;
}

@media (max-width: 720px) {

  .top-nav {
    width: 100%;
    padding: 14px;
    z-index: 50;
  }

  .top-nav .nav-pill {
    position: relative;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 14px 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 28px;
    background: rgba(253, 245, 240, 0.97);
  }

  /* Botão hambúrguer */

  .top-nav .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    z-index: 52;
    flex-shrink: 0;
  }

  .top-nav .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--brown);
    transition: transform .3s ease, opacity .3s ease;
  }

  /* Transformação em X */

  .top-nav.is-menu-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .top-nav.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .top-nav.is-menu-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Lista de navegação */

  .top-nav .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 8px 14px;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .13);

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

    transform: translateY(-10px);

    transition:
      opacity .25s ease,
      transform .25s ease,
      visibility .25s ease;

    z-index: 51;
  }

  /* Todos os links ficam visíveis quando o menu abre */

  .top-nav .nav-links a,
  .top-nav .nav-links a:not(:last-child) {
    display: block;
    width: 100%;
    padding: 14px 12px;
    font-size: 15px;
    line-height: 22px;
    text-align: left;
  }

  .top-nav .nav-links a + a {
    border-top: 1px solid rgba(161, 99, 28, .12);
  }

  /* Menu aberto */

  .top-nav.is-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}





/* =========================================
   NAVEGAÇÃO TRADICIONAL E MOVIMENTO SUAVE
========================================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  overflow-x: hidden;
}

main {
  overflow: clip;
}

.top-nav {
/*  position: fixed;*/
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: transform .35s ease, opacity .35s ease;
}

section[id], .final-section[id] {
  scroll-margin-top: 88px;
}

.hero {
  min-height: max(760px, 100svh);
}

/*.hero-image {
  inset: -7% 0;
  height: 114%;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.04);
  will-change: transform;
}*/

.hero-image {
  inset: -0% 0;
  height: 100%;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.04);
  will-change: transform;
}

.aerial-break {
  position: relative;
  overflow: hidden;
}

.aerial-break img {
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 180%;           /* 60% de folga em cima e embaixo para o movimento */
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--aerial-parallax, 0px), 0);
  will-change: transform;
}

/* Entradas de conteúdo ao chegar à seção */
.motion-ready [data-reveal] {
  opacity: 0;
  transition: opacity .75s cubic-bezier(.22,.75,.25,1),
              transform .85s cubic-bezier(.22,.75,.25,1),
              filter .85s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.motion-ready [data-reveal="fade"] { transform: translateY(24px); }
.motion-ready [data-reveal="left"] { transform: translateX(34px); }
.motion-ready [data-reveal="right"] { transform: translateX(-34px); }
.motion-ready [data-reveal="zoom"] { transform: scale(.96); filter: blur(3px); }
.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Galeria horizontal: quatro cards no desktop e arraste no toque */
.care-grid {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.care-track {
  width: max-content;
  min-width: 100%;
}

.care-card {
    flex: 0 0 calc((100vw - 20px) / 4);
    aspect-ratio: 5 / 7;
}

@media (max-width: 1050px) {
  .care-card { flex-basis: calc((100vw - 52px) / 2); }
}

@media (max-width: 720px) {
	
	
		.aerial-break img {
    position: absolute;
    left: 0;
    top: -20%;
    width: 100%;
    height: 160%;
    object-fit: cover;
    object-position: center;
    transform: translate3d(0, var(--aerial-parallax, 0px), 0);
    will-change: transform;
}
	
	
  html { scroll-padding-top: 76px; }
  .top-nav { position: fixed; }
  .hero { min-height: 680px; min-height: 100svh; }
  .care-card { flex-basis: calc((100vw - 52px) / 1.5); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-image, .aerial-break img { transform: none !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; filter: none; }
}

.video-card:hover .play-icon {
  transform: scale(1.08);
}

/* Imagens da seção de diagnósticos */

.diagnostic-image-wrapper {
  position: relative;
  overflow: hidden;
}

.diagnostic-image-wrapper .diagnostic-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
}

.diagnostic-image-wrapper .diagnostic-image.is-active {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.35s ease,
    visibility 0s;
}





/* =========================================
   HERO — ANIMAÇÃO DE ENTRADA E RETORNO
========================================= */

@keyframes heroImageEntrance {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

@keyframes heroTextEntrance {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estado inicial */
html.motion-ready .hero:not(.hero-visible) .hero-content h1,
html.motion-ready .hero:not(.hero-visible) .hero-content h2,
html.motion-ready .hero:not(.hero-visible) .hero-content p {
  opacity: 0;
  transform: translateY(28px);
}

/* Estado animado */
html.motion-ready .hero.hero-visible .hero-content h1,
html.motion-ready .hero.hero-visible .hero-content h2,
html.motion-ready .hero.hero-visible .hero-content p {
  animation: heroTextEntrance 0.9s ease-out both;
}

html.motion-ready .hero.hero-visible .hero-content h1 {
  animation-delay: 0.2s;
}

html.motion-ready .hero.hero-visible .hero-content h2 {
  animation-delay: 0.5s;
}

html.motion-ready .hero.hero-visible .hero-content p {
  animation-delay: 0.75s;
}

/* Imagem */
html.motion-ready .hero.hero-visible .hero-image {
  animation: heroImageEntrance 1.4s ease-out both;
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-content h1,
  .hero-content h2,
  .hero-content p {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}



/* =========================================
   DIAGNÓSTICOS — TROCA SUAVE (colar no FINAL do CSS)
========================================= */

/* A descrição passa a animar a altura em vez de aparecer/sumir de uma vez.
   O [hidden] continua sendo alternado pelo JS, mas aqui deixa de usar
   display:none (que causava o "pulo") e esconde com visibility. */
.diagnostic-service__description,
.diagnostic-service__description[hidden] {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.22, 0.75, 0.25, 1),
    opacity 0.3s ease,
    visibility 0s linear 0.55s;
}

.diagnostic-service.is-active .diagnostic-service__description {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.22, 0.75, 0.25, 1),
    opacity 0.45s ease 0.1s,
    visibility 0s;
}

.diagnostic-service__description p {
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  animation: none;
  transition: padding-bottom 0.55s cubic-bezier(0.22, 0.75, 0.25, 1);
}

.diagnostic-service.is-active .diagnostic-service__description p {
  padding-bottom: 28px;
}

/* Imagem: fade mais longo com leve zoom */
.diagnostic-image-wrapper .diagnostic-image {
  transform: scale(1.04);
  transition:
    opacity 0.6s ease,
    transform 0.9s cubic-bezier(0.22, 0.75, 0.25, 1),
    visibility 0s linear 0.6s;
}

.diagnostic-image-wrapper .diagnostic-image.is-active {
  transform: scale(1);
  transition:
    opacity 0.6s ease,
    transform 0.9s cubic-bezier(0.22, 0.75, 0.25, 1),
    visibility 0s;
}

@media (max-width: 720px) {
  .diagnostic-service.is-active .diagnostic-service__description p {
    padding-bottom: 22px;
  }
}








/* =========================================
   DIAGNÓSTICOS — TROCA DE IMAGEM EM "SCANNER"
   (colar no FINAL do CSS, depois do bloco anterior)
========================================= */

.diagnostic-image-wrapper {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Todas as imagens ficam empilhadas; só as ativas/saindo são visíveis */
.diagnostic-image-wrapper .diagnostic-image {
  position: absolute;
  inset: 0;
  opacity: 1;
  visibility: hidden;
  transform: none;
  transition: none;
  clip-path: inset(0 0 0 0);
  z-index: 0;
}

/* Imagem anterior fica por baixo até o scanner terminar */
.diagnostic-image-wrapper .diagnostic-image.is-leaving {
  visibility: visible;
  z-index: 1;
}

/* Imagem nova fica por cima */
.diagnostic-image-wrapper .diagnostic-image.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  z-index: 2;
}

/* A nova imagem é revelada de cima para baixo */
.diagnostic-image-wrapper .diagnostic-image.is-active.is-scanning {
  animation: diagnosticScanReveal var(--scan-time, 0.95s) cubic-bezier(0.65, 0, 0.35, 1) both;
}

/* Linha do scanner (criada pelo JS) */
.diagnostic-scanner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95) 20%, #fff 50%, rgba(255, 255, 255, 0.95) 80%, transparent);
  box-shadow: 0 0 14px 4px rgba(255, 255, 255, 0.55), 0 0 40px 10px rgba(255, 220, 170, 0.35);
}

/* Rastro de luz suave logo acima da linha */
.diagnostic-scanner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 90px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.28), transparent);
}

.diagnostic-image-wrapper.is-scanning .diagnostic-scanner {
  animation: diagnosticScanLine var(--scan-time, 0.95s) cubic-bezier(0.65, 0, 0.35, 1) both;
}

@keyframes diagnosticScanReveal {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes diagnosticScanLine {
  0%   { top: 0;    opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .diagnostic-scanner { display: none; }
}






/* =========================================
   GALERIA "PRONTO PRA RECEBER" — AUTO-ROLAGEM EM LOOP
   (colar no FINAL do CSS)
========================================= */

/* Sem "snap": o snap travaria a rolagem contínua.
   O arraste com mouse continua alinhando pelo JS. */
.care-grid {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.care-card {
  scroll-snap-align: none;
}


/* =========================================
   DIAGNÓSTICOS — MOBILE: IMAGEM ABAIXO DA DESCRIÇÃO
   (no desktop continua a imagem grande ao lado da lista)
========================================= */

.diagnostic-service__inner {
  min-height: 0;
  overflow: hidden;
}

.diagnostic-service__image {
  display: none;
}

@media (max-width: 720px) {
  /* esconde a imagem única do topo */
  .diagnostic-image-wrapper {
    display: none;
  }

  .diagnostic-service__description p {
    border-bottom: 0;
  }

  .diagnostic-service__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 0 24px;
  }
}