/* style.css */
:root {
  --bg: #f6fef9;
  --text: #0f172a;
  --muted: #6b7280;
  --line: #e6f5ee;
  --primary: #22c55e;
  --primary-2: #16a34a;
  --card: #ffffff;
  --soft: rgb(242, 253, 247);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    sans-serif;
  color: var(--text);
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Previne scroll horizontal */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

/* Garante que todos os elementos respeitam o container */
* {
  max-width: 100%;
}

/* Elementos específicos que podem causar overflow */
.topbar__item span {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}

/* Topbar */
.topbar {
  color: var(--text);
  font-size: 13px;
  padding: 14px 0;
  border-bottom: none;
  background: transparent;
  position: relative;
}
.topbar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
}

.topbar__inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    #22c55e 0%, #22c55e 25%, 
    #6170d6 25%, #6170d6 50%, 
    #22c55e 50%, #22c55e 75%, 
    #6170d6 75%, #6170d6 100%
  );
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding-right: 20px;
  position: relative;
}
.topbar__item:first-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 16px;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.ico {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.ico svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}


/* Ajustes solicitados - Topbar e Header (sem alterar tipografia/textos) */
.topbar__item:first-child::after { display: none; } /* remove a barrinha separadora */
.topbar__item { padding-right: 0; }               /* remove espaço extra à direita */
.topbar__item:last-child { margin-left: auto; }   /* joga o telefone para o final da barra */

/* Remove visualmente o botão azul "Contato" no header, mantendo o espaço para não deslocar o menu */
.header .btn--pill { visibility: hidden; pointer-events: none; }

/* Header */
.header {
  position: relative;
  z-index: 20;
  background: transparent;
  backdrop-filter: none;
  border-top: none;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  position: relative;
  z-index: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  display: none;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  transform: rotate(45deg);
}
.brand__text strong {
  color: #fff;
  letter-spacing: 0.3px;
  font-weight: 600;
}

/* Logo moderno no header */
.brand__logo {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.brand__logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.28));
}

/* Logo moderno no footer */
.brand__logo--footer {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.brand__logo--footer:hover {
  opacity: 1;
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.nav > a {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav > a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav > a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}
.nav > a:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.dropdown .dropbtn::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.dropdown:hover .dropbtn {
  color: var(--primary);
  transform: translateY(-2px);
}

.dropdown:hover .dropbtn::after {
  width: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 280px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 12px;
  padding: 12px 0;
  border: 1px solid var(--line);
}

.dropdown-content a {
  color: var(--text);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #f6fef9;
  color: var(--primary);
  padding-left: 24px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
}
.btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.btn:active {
  transform: scale(0.97);
}
.btn--pill {
  border-radius: 999px;
  padding: 11px 22px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.btn--pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}
.btn--pill:active {
  transform: translateY(-1px) scale(0.98);
}
.btn--primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 999px;
  padding: 13px 28px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}
.btn--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}
.btn--primary:active {
  transform: translateY(-1px) scale(0.98);
}
.btn--full {
  width: 100%;
}
.btn--wide {
  width: min(320px, 100%);
}

/* Hero */
.hero {
  padding: 26px 0 26px;
}
.heroCard {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 300px;
}
.heroCard__content {
  padding: 30px 48px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.heroCard__content h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.heroCard__content p {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.6;
  font-size: 16px;
}
.heroCard__media {
  position: relative;
  background: transparent;
  overflow: hidden;
}
.heroCard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  display: block;
}
.heroCard__fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px 420px at 30% 40%,
    rgba(255, 255, 255, 0),
    transparent 60%
  );
  display: none;
}

/* Quick cards */
.quick {
  padding: 80px 0;
  background: rgb(242, 253, 247);
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.quick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quick__flex {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.quick__flex .card {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  display: flex;
  flex-direction: column;
}
.quick__flex .card .hours {
  margin-top: auto;
}
.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid #e0f0e8;
  padding: 28px 24px;
}
.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.card__head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
}
.card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.icobadge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #eef9f3;
  border-radius: 12px;
  border: 1px solid #dce4f0;
  flex-shrink: 0;
}
.icobadge svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}
.hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: #374151;
  font-size: 14px;
}
.pill {
  padding: 6px 12px;
  border-radius: 8px;
  background: #eef9f3;
  border: 1px solid #dce4e0;
  color: #166534;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.pill--muted {
  background: #f1f5f9;
  color: #64748b;
}
.phone {
  display: inline-block;
  margin: 8px 0 12px;
  font-weight: 800;
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
}

/* Sections */
.section {
  padding: 80px 0;
  background: #fff;
}
.section--soft {
  background: rgb(242, 253, 247);
}
.kicker {
  display: inline-block;
  color: #6170d6;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.4px;
  line-height: 1.2;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.sectionHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.centerHead {
  text-align: center;
  margin-bottom: 26px;
}

/* Services grid */
.servicesGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
}
.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}
.service img {
  border-radius: 12px;
  height: 132px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 12px;
}
.service h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--primary);
  padding-left: 10px;
  border-left: 4px solid var(--primary);
}
.service p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13.5px;
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}
.split__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 520px;
  box-shadow: var(--shadow-soft);
  align-self: stretch;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.softFade {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 520px at 25% 40%,
    rgba(255, 255, 255, 0.9),
    transparent 62%
  );
  display: none;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
details {
  background: #f6fef9;
  border: 1px solid #dbe6e0;
  border-radius: 12px;
  overflow: hidden;
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
  color: #1f2a66;
}
summary::-webkit-details-marker {
  display: none;
}
.chev {
  width: 14px;
  height: 14px;
  border-right: 2px solid #6170d6;
  border-bottom: 2px solid #6170d6;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
details[open] .chev {
  transform: rotate(-135deg);
}
.accBody {
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

/* Stats bar */
.statsBar {
  margin-top: 40px;
  background: #6170d6;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 26px 18px;
  text-align: center;
  color: #fff;
}
.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.stat strong {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.6px;
}
.stat span {
  opacity: 0.9;
  font-size: 13px;
  font-weight: 600;
}

/* Professionals */
.prosGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pro {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.pro img {
  border-radius: 14px;
  height: 240px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 12px;
}
.pro h3 {
  margin: 0 0 8px;
  color: var(--primary);
}
.pro p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Features */
.featuresGrid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.feature__icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--primary);
  border: 0;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  position: relative;
  flex-shrink: 0;
}
.feature__icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: #fff;
  border-radius: 14px;
  z-index: -1;
  border: 1px solid var(--line);
}
.feature__icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13.5px;
}

/* CTA */
.cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cta__text {
  padding: 34px;
}
.cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 60px 0 20px;
}
.footer__grid {
  padding: 0 0 30px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 30px;
  align-items: start;
}
.brand__mark--footer {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid rgba(15, 23, 42, 0.3);
  position: relative;
  flex-shrink: 0;
}
.brand__mark--footer::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 6px;
  border: 2px solid rgba(15, 23, 42, 0.25);
  transform: rotate(45deg);
}
.footerBrand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footerBrand > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 3px solid var(--primary);
  padding-left: 10px;
  height: 40px; /* Altura aproximada do logo no rodapé */
}

.footerBrand p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  margin-top: 8px;
}
.footerBrand strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  color: #1a1a1a;
}
.footerBrand p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.footerCol h4 {
  margin: 0 0 15px;
  font-size: 16px;
  color: #1a1a1a;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.footerCol p {
  margin: 0 0 8px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.footerCol p:last-child {
  margin-bottom: 0;
}

.footerCol a {
  padding: 0;
  color: inherit;
  display: block;
  margin-bottom: 8px;
}

.footerCol a:hover {
  color: var(--text);
}
.social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.socialBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1877F2;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  padding: 0;
  position: relative;
}
.socialBtn svg {
  fill: #fff;
}
.socialBtn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #1877F2;
  opacity: 0;
  transition: all 0.3s ease;
}
.socialBtn:hover {
  background: #0d6efd;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}
.socialBtn:hover::after {
  opacity: 1;
  inset: -8px;
}
.socialBtn:active {
  transform: translateY(0) scale(1);
}
.socialBtn svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.socialBtn:hover svg {
  transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
}

.footerCol p a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.footerCol p a svg,
.footerCol p a img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.whatsappCard {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn--whatsapp {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
  font-weight: 600;
  text-decoration: none;
}

.btn--whatsapp svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.btn--whatsapp strong {
  display: block;
  font-size: 16px;
}

.btn--whatsapp span {
  display: block;
  font-size: 13px;
  opacity: 0.9;
}

.btn--whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
}

.treatment-page {
  padding: 80px 0;
  background: #ffffff;
}

.treatment-header {
  text-align: left;
  margin-bottom: 60px;
}

.treatment-header .kicker {
  display: block;
  margin-bottom: 8px;
}

.treatment-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 20px;
  color: var(--text);
  letter-spacing: -0.6px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  display: inline-block;
}

.treatment-content {
  max-width: 900px; /* Alinhado com a largura da imagem */
  margin: 0 auto;
  line-height: 1.8;
  color: var(--muted);
  text-align: justify;
}

.treatment-header {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: left;
}

.treatment-content p {
  margin-bottom: 20px;
}

.treatment-content p.subtitle {
  font-weight: 600;
  color: var(--text);
  padding-left: 10px;
  border-left: 4px solid var(--primary);
  margin-bottom: 12px;
  margin-top: 24px;
}

.image-placeholder {
  background: transparent;
  border: none;
  border-radius: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  color: var(--muted);
  font-size: 14px;
}

.image-placeholder img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 900px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Ícones do rodapé com estilo de caixa */
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #e5e7eb;
  border-radius: 6px;
  margin-right: 10px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}

.footerCol p {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  line-height: 1.5;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 40px 0;
}

.gallery-item {
  background: transparent;
  border: none;
  border-radius: 16px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

/* Ajuste para fotos verticais aparecerem inteiras com a cor de fundo correta */
.gallery-item--vertical {
  height: 450px !important;
}

.gallery-item--vertical img {
  object-fit: contain !important;
  background-color: #ffffff !important;
}

@media (max-width: 768px) {
  .gallery-item--vertical {
    height: 350px !important;
  }
}

.contact-page {
  padding: 80px 0;
  background: #ffffff;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 20px;
  color: var(--text);
  letter-spacing: -0.6px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  display: inline-block;
}

.map-container {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  height: 450px;
  margin-bottom: 40px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Hover no link de e-mail dentro dos cards de contato */
.contact-page .quick__grid .card a[href^="mailto"] {
  display: inline-block;
  color: #000;
  font-weight: 400;
  cursor: pointer;
}

/* Animação de hover nos cards de telefone e e-mail (igual aos Principais Serviços) */
.contact-page .quick__grid .card--contact-link {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.contact-page .quick__grid .card--contact-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* ============================== */
/* MOBILE RESPONSIVE - OTIMIZADO */
/* ============================== */

@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .heroCard {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .heroCard__media {
    min-height: 260px;
    order: -1;
  }
  .heroCard__content {
    order: 1;
  }
  .quick__grid {
    grid-template-columns: 1fr;
  }
  .servicesGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .prosGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featuresGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Topbar responsivo mobile */
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .topbar__item {
    padding-right: 0;
  }
  .topbar__item:first-child::after {
    display: none;
  }
  .statsBar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.topbar__item span {
  font-size: 12px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.header__inner {
  flex-wrap: wrap;
}

.topbar__item {
  max-width: 100%;
  flex: 1;
}

@media (max-width: 640px) {
  .servicesGrid {
    grid-template-columns: 1fr;
  }
  .prosGrid {
    grid-template-columns: 1fr;
  }
  .featuresGrid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .statsBar {
    grid-template-columns: 1fr;
  }

  .heroCard__content {
    padding: 40px 24px;
  }
  .heroCard__content h1 {
    font-size: 28px;
  }

  .section {
    padding: 60px 0;
  }
  .quick {
    padding: 60px 0;
  }

  .sectionHead {
    flex-direction: column;
    align-items: flex-start;
  }

  .card {
    padding: 24px 20px;
  }

  .split__media {
    min-height: 300px;
  }

  .cta__text {
    padding: 28px 24px;
  }

  .pro img {
    height: 200px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .topbar__item span {
    font-size: 11px;
    line-height: 1.3;
  }

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

  /* Ajustes finos mobile */
  @media (max-width: 480px) {
    .heroCard__content h1 {
      font-size: 24px;
      margin-bottom: 14px;
    }

    .heroCard__content p {
      font-size: 15px;
      margin-bottom: 20px;
    }

    .section h2 {
      font-size: 24px;
    }

    .btn--primary {
      padding: 12px 24px;
      font-size: 14px;
    }

    .btn--pill {
      padding: 10px 20px;
      font-size: 14px;
    }

    .stat strong {
      font-size: 32px;
    }
    .stat span {
      font-size: 12px;
    }
  }

  /* Menu mobile hamburger (caso queira adicionar) */
  .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  @media (max-width: 980px) {
    .menu-toggle {
      display: flex;
    }
  }
}

/* Botão hamburger */
/* ============================== */
/* MOBILE MENU - CSS MODERNO */
/* ============================== */

/* Botão hamburger */
.menu-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.menu-hamburger:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.menu-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #000;
  margin: 0 auto;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 980px) {
  .menu-hamburger {
    display: flex;
  }
  .btn--pill {
    display: none;
  }
  .treatment-content .btn--pill {
    display: inline-flex;
  }
}

/* Overlay escuro */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Menu lateral - FUNDO BRANCO */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(420px, 90vw);
  height: 100vh;
  background: #ffffff;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  right: 0;
}

/* Header do menu - SEM LOGO */
.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

/* X simples sem fundo */
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.mobile-menu-close:hover {
  color: var(--text);
  transform: rotate(90deg);
}

/* Navegação */
.mobile-menu-nav {
  flex: 1;
  padding: 0;
  background: #fff;
}

/* Seções - FUNDO BRANCO */
.mobile-menu-section {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.mobile-menu-section summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: all 0.3s ease;
  position: relative;
  background: #fff;
}

.mobile-menu-section summary::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.mobile-menu-section summary:hover::before {
  transform: scaleY(1);
}

.mobile-menu-section summary:hover {
  background: #f9fafb;
  padding-left: 24px;
}

.mobile-menu-section summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  color: #9ca3af;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-section[open] .mobile-menu-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

/* Links - FUNDO BRANCO */
.mobile-menu-links {
  padding: 8px 20px 16px 20px;
  background: #fff;
}

.mobile-menu-links a {
  display: block;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.mobile-menu-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:active {
  color: var(--primary);
  background: #f0fdf4;
  padding-left: 20px;
  font-weight: 600;
}

.mobile-menu-links a:hover::before,
.mobile-menu-links a:active::before {
  transform: scaleY(1);
}

/* Botão "Agendar Consulta" - AZUL */
.mobile-menu-footer {
  padding: 24px 20px 28px;
  display: flex !important;
  visibility: visible !important;
  border-top: 1px solid var(--line);
  background: #fff;
}

.btn-mobile-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 28px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-mobile-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
}

.btn-mobile-cta:hover::before,
.btn-mobile-cta:active::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.btn-mobile-cta:hover,
.btn-mobile-cta:active {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.btn-mobile-cta:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-mobile-cta svg {
  flex-shrink: 0;
}

/* Scrollbar */
.mobile-menu::-webkit-scrollbar {
  width: 6px;
}

.mobile-menu::-webkit-scrollbar-track {
  background: #f9fafb;
}

.mobile-menu::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
  background: var(--primary-2);
}

/* ===== AJUSTE TOPBAR DESKTOP ===== */
@media (min-width: 981px) {
  .topbar__inner {
    justify-content: flex-start;
  }

  .topbar__item {
    flex: initial;
  }

  .topbar__item:last-child {
    margin-left: auto;
    text-align: right;
  }
}


/* MOBILE – alinhar endereço e telefone à esquerda (topbar) */
@media (max-width: 980px) {
  .topbar__inner {
    align-items: flex-start;
  }

  .topbar__item {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .topbar__item .ico {
    margin-right: 8px;
  }

  .topbar__item span {
    text-align: left;
  }
}


/* DESKTOP – centralizar o catálogo (dropdown Tratamentos) */
@media (min-width: 981px) {
  .dropdown-content {
    left: 50%;
    transform: translateX(-50%);
  }
}


/* DESKTOP – centralizar menu principal (Sobre, Tratamentos, etc) */
@media (min-width: 981px) {
  .header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .nav {
    justify-self: center;
  }
}

/* ===== Botão Fixo WhatsApp join.chat ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65);
  animation: none;
}

@keyframes whatsapp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================== */
/* CARROSSEL DA CLÍNICA */
/* ============================== */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel__inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}
.carousel__item.active {
  opacity: 1;
  z-index: 2;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.carousel__btn:hover {
  background: var(--primary-2);
  transform: translateY(-50%) scale(1.1);
}
.carousel__btn--prev {
  left: 16px;
}
.carousel__btn--next {
  right: 16px;
}
@media (max-width: 640px) {
  .carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* Estilo customizado para o botão da seção Referência em Atendimento */
.btn--hero {
  background: #6170d6 !important;
  box-shadow: 0 14px 30px rgba(97, 112, 214, 0.32) !important;
}

.btn--hero:hover {
  background: #4f5eb8 !important;
  box-shadow: 0 20px 45px rgba(97, 112, 214, 0.45) !important;
}

/* Animação personalizada para o bloco de Emergência */
.card-hover-animation {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover-animation:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* Barra divisora moderna (Verde, Azul, Verde, Azul) */
.divider-bar {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    #22c55e 0%, #22c55e 25%, 
    #6170d6 25%, #6170d6 50%, 
    #22c55e 50%, #22c55e 75%, 
    #6170d6 75%, #6170d6 100%
  );
  position: relative;
  z-index: 10;
}

/* Ajuste específico para as últimas imagens da galeria em estrutura.html */
.gallery-item.white-bg,
.gallery-item.white-bg img {
  background-color: #ffffff !important;
}
