/* Navigation: summaries retain native keyboard and touch behavior. */
.nav-group { position: relative; border: 0; }
.nav-group > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font: inherit;
  font-size: .85rem;
  padding: 12px 0;
  white-space: nowrap;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after {
  content: "";
  position: static;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.nav-group[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.nav-group > summary:focus-visible, .nav-panel a:focus-visible {
  outline: 2px solid #92714d;
  outline-offset: 3px;
}
.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(575px, 92vw);
  padding: 20px 24px 15px;
  z-index: 32;
  border: 1px solid #c7b599;
  border-radius: 15px;
  background: #fcf9f1;
  box-shadow: 0 20px 48px #122d2629;
}
.nav-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.nav-columns p { font-weight: 600; color: #605942; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-columns ul { list-style: none; padding: 0; margin: 6px 0 0; }
.nav-columns li a, .nav-overview {
  display: block;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: .84rem;
  line-height: 1.4;
}
.nav-columns li a:hover, .nav-columns li a[aria-current="page"] { background: #e9eee4; color: #1b4833; }
.nav-overview {
  border-top: 1px solid #e0d7c7;
  margin-top: 12px;
  padding-top: 10px;
  color: #214d3a;
  font-weight: 600;
}
.nav-overview:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Contact buttons and luminous booking actions. */
.btn { border-radius: 999px; }
.btn[href$="#agendamento"], .btn[href^="https://wa.me/"], .booking-form .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: linear-gradient(117deg, #315a47, #184231 53%, #102b22);
  box-shadow: inset 0 1px 0 #ffffff38, 0 5px 16px #16372825;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.btn.gold-btn, .final-cta .btn.light[href$="#agendamento"] {
  color: #10281f;
  background: linear-gradient(115deg, #f7e8c9, #dbb680 63%, #f2d9b2);
  border-color: #e4c495;
  box-shadow: inset 0 1px 0 #ffffff9e, 0 6px 19px #c99e6230;
}
.btn[href$="#agendamento"]:hover, .btn[href^="https://wa.me/"]:hover, .booking-form .btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #ffffff61, 0 8px 24px #9a794749;
}
.btn[href$="#agendamento"]:active, .booking-form .btn:active { transform: scale(.98); }
.campaign-hero .btn[href="#agendamento"], .cinema-hero .btn[href$="#agendamento"] {
  animation: booking-glow 2.2s ease-out 1s 2;
}
.campaign-hero .btn[href="#agendamento"]::after, .cinema-hero .btn[href$="#agendamento"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, #fff9e583 49%, transparent 62%);
  background-size: 270% 100%;
  background-position: 100% 0;
  animation: booking-shine 2.2s ease-in-out 1s 2;
}
@keyframes booking-glow {
  0%, 100% { box-shadow: inset 0 1px 0 #ffffff55, 0 0 0 0 #cba47200; }
  25% { box-shadow: inset 0 1px 0 #ffffff88, 0 0 0 3px #cba47266, 0 0 19px #e0bf8450; }
  65% { box-shadow: inset 0 1px 0 #ffffff55, 0 0 0 10px #cba47200; }
}
@keyframes booking-shine {
  0%, 8% { background-position: 100% 0; opacity: 0; }
  20% { opacity: .65; }
  65%, 100% { background-position: 0 0; opacity: 0; }
}
.contact-dock { gap: 10px; bottom: 24px; right: max(18px, env(safe-area-inset-right)); }
.contact-dock a {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #ffffff80;
  color: white;
  transition: transform .23s, filter .23s;
}
.contact-dock a:hover { filter: brightness(1.1); transform: translateY(-3px); }
.contact-dock a svg { width: 25px; height: 25px; }
.contact-dock .dock-instagram { background: radial-gradient(circle at 24% 95%, #e6a158 1%, #c6447b 51%, #6247a6 100%); }
.contact-dock .dock-whatsapp { background: linear-gradient(145deg, #2a9b65, #106247); }

/* Visual catalogs and landing page reading rhythm. */
.services-intro {
  background: radial-gradient(ellipse at 80% 50%, #3a5546, #102b24 65%);
  color: #f9f3e9;
  padding-block: clamp(34px, 6vw, 87px);
}
.services-intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 7vw, 100px); }
.services-intro h1 { font-size: clamp(3rem, 5.5vw, 5.6rem); max-width: 14ch; text-wrap: initial; line-height: .98; }
.services-intro .eyebrow { color: #e6cca6; }
.services-intro p { color: #e3e7dc; margin-top: 25px; max-width: 43ch; }
.services-intro .text-link { color: #fff7e8; }
.services-intro figure { position: relative; border: 1px solid #e3cda483; border-radius: 16px; padding: 8px; }
.services-intro figure img { border-radius: 10px; aspect-ratio: 1.3; object-fit: cover; object-position: 42% center; }
.services-intro figcaption { right: 17px; bottom: 17px; border-radius: 4px; }
.services-list h2 { max-width: 24ch; margin-bottom: 28px; }
.services-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.featured-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card {
  border: 1px solid #d9d0bf;
  background: #fffaf2;
  border-radius: 17px;
  transition: translate .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.service-card:hover { translate: 0 -3px; box-shadow: 0 14px 30px #182c2317; }
.service-card a { display: flex; height: 100%; flex-direction: column; }
.service-card a:focus-visible { outline-offset: -4px; }
.service-card-media { overflow: hidden; }
.service-card-media img {
  aspect-ratio: 1.93;
  object-fit: cover;
  object-position: var(--card-position, center);
  transition: transform .46s ease;
}
.service-card-featured .service-card-media img { object-position: center 38%; }
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-copy { padding: 17px clamp(15px, 2vw, 25px) 24px; display: flex; gap: 10px; flex: 1; flex-direction: column; }
.service-card h3 { font-size: clamp(1.7rem, 2.75vw, 2.65rem); }
.service-card p { color: var(--muted); font-size: .89rem; line-height: 1.55; }
.service-card-action { width: fit-content; margin-top: auto; padding-top: 9px; border-bottom: 1px solid #52745d; font-size: .79rem; font-weight: 600; }
.symptoms-catalog { background: #eaece3; }
.campaign-lead { font-size: clamp(.97rem, 1.25vw, 1.13rem); }
.campaign-lead strong { color: #fff8ec; font-weight: 600; }
.campaign-definition { margin-top: 17px; max-width: 50ch; font-size: .93rem; color: #374a3f; }
.campaign-overview h2 { max-width: 17ch; }
.service-conversion { padding-block: 18px; }
.service-conversion-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: clamp(19px, 4vw, 38px);
  background: #e8ecdf;
  border: 1px solid #bbc8b4;
  border-radius: 16px;
}
.service-conversion h2 { font-size: clamp(1.8rem, 2.9vw, 2.7rem); max-width: none; }
.service-conversion p { color: #3b5245; margin-top: 7px; font-size: .89rem; }
.service-conversion .btn { flex-shrink: 0; text-align: center; }
.bio-editorial { width: min(100%, 345px); margin-inline: auto; position: relative; }
.bio-editorial img { aspect-ratio: .86; object-fit: cover; object-position: center 23%; border-radius: 42% 42% 11px 11px; }

@media (max-width: 900px) {
  .site-nav.is-open { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .nav-group > summary { justify-content: space-between; padding-block: 8px; font-size: inherit; }
  .nav-panel { position: static; transform: none; width: 100%; box-shadow: none; padding: 12px 14px 8px; }
  .contact-dock { display: grid; bottom: 88px; right: 13px; gap: 7px; }
  .contact-dock a { width: 44px; height: 44px; }
  .contact-dock a svg { width: 22px; height: 22px; }
  .booking-in-view .contact-dock { display: none; }
  .services-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .nav-columns { grid-template-columns: 1fr; gap: 11px; }
  .services-intro-grid, .services-cards, .featured-cards { grid-template-columns: minmax(0, 1fr); }
  .services-intro h1 { max-width: none; }
  .services-intro figure img { aspect-ratio: 1.65; }
  .service-conversion-inner { flex-direction: column; align-items: flex-start; }
  .contact-dock { bottom: 83px; }
}
@media (prefers-reduced-motion: reduce) {
  .campaign-hero .btn[href="#agendamento"], .cinema-hero .btn[href$="#agendamento"],
  .campaign-hero .btn[href="#agendamento"]::after, .cinema-hero .btn[href$="#agendamento"]::after { animation: none; }
  .service-card, .service-card-media img, .nav-group > summary::after { transition: none; }
}
@media (min-width: 901px) {
  .nav-group:last-of-type .nav-panel { left: auto; right: -96px; transform: none; }
}
@media (min-width: 681px) and (max-width: 900px) {
  .contact-dock { bottom: 22px; }
}

.nav-group > summary::marker { content: ""; }
@media (max-width: 680px) {
  .mobile-cta { padding-right: max(122px, calc(env(safe-area-inset-right) + 110px)); padding-left: 15px; }
  .mobile-cta .btn { padding-inline: 10px; text-align: center; font-size: .8rem; line-height: 1.2; }
  .contact-dock { display: flex; bottom: 14px; gap: 8px; right: max(12px, env(safe-area-inset-right)); }
  .booking-in-view .contact-dock, body:has(.site-nav.is-open) .contact-dock,
  body:has(.site-nav.is-open) .mobile-cta { display: none; }
}
