:root {
  --green: #177566;
  --green-dark: #174f48;
  --teal-dark: #155466;
  --text: #154c5c;
  --text-soft: #486c76;
  --white: #ffffff;
  --muted: #ededeb;
  --soft: #f7f6f3;
  --line: #d8dfdd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 61, 58, 0.08);
  --heading: "Caprasimo", serif;
  --body: "Roboto", Arial, Helvetica, sans-serif;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

/* Mantém os espaços visuais limpos enquanto src="#" ainda não foi substituído. */
img[src="#"] {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.image-shell {
  background:
    linear-gradient(
      135deg,
      rgba(249, 249, 241, 0.80),
      rgba(249, 249, 241, 0.15)
    ),
    #f9f5f1;
}

.image-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.site-header {
  position: relative;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(23, 79, 72, 0.07);
}

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  font-family: var(--heading);
  color: var(--green);
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  line-height: 1;
  font-weight: 400;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 0.82rem;
  font-weight: 700;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 7px;
  border: 0;
  padding: 0 22px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.faq-question:focus-visible,
.menu-toggle:focus-visible,
.main-nav a:focus-visible {
  outline: 3px solid rgba(23, 117, 102, 0.25);
  outline-offset: 3px;
}

.btn-header,
.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-header {
  justify-self: end;
  min-height: 42px;
  padding-inline: 20px;
}

.btn-primary:hover,
.btn-header:hover {
  background: #11685b;
  box-shadow: 0 8px 20px rgba(23, 117, 102, 0.18);
}

.wa-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.82rem;
}

.wa-icon img{
  width: 28px;
  height: 28px;
}


.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--green-dark);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 445px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #fff 0%, #fff 43%, rgba(255,255,255,0.94) 49%, rgba(255,255,255,0.08) 70%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  z-index: -2;
  right: 0;
  top: 0;
  width: 54%;
  height: 100%;
  border-radius: 0;
}

.hero-inner {
  min-height: 445px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: 56%;
  padding: 44px 0 34px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 400;
  font-style: normal;
}

.hero h1 {
  margin-bottom: 14px;
  max-width: 660px;
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--green);
}

.hero-text {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: 1.04rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-soft);
}

.hero-title-highlight {
  color: #154c5c;
}

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;

  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  border-radius: 50%;

  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.location-line {
  margin: 15px 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.77rem;
  font-weight: 700;
}

.location-line span {
  color: var(--green);
}

.hero-benefits {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.benefit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
}

.benefit-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.85rem;
  flex: 0 0 auto;
}

.section {
  padding: 30px 0;
}

.section-muted {
  background: var(--muted);
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  text-align: center;
  margin-bottom: 22px;
}

.section-heading.compact h2 {
  margin-bottom: 5px;
  color: var(--green);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.08;
}

.section-heading.compact p {
  margin-bottom: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-soft);
}

.symptoms {
  padding-top: 22px;
  padding-bottom: 22px;
}

.symptom-grid {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.symptom-card {
  min-height: 138px;
  padding: 10px 12px 12px;
  text-align: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(23, 79, 72, 0.05);
}

.symptom-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 3px;
  border-radius: 50%;
}

.symptom-card h3 {
  margin: 10;
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
}

.advantages {
  padding-top: 24px;
  padding-bottom: 24px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.advantage-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--green-dark);
  color: #fff;
}

.round-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
  font-size: 1.55rem;
}

.advantage-card h3 {
  margin-bottom: 2px;
  font-size: 1.08rem;
  color: #fff;
  line-height: 1;
}

.advantage-card p {
  margin-bottom: 0;
  font-size: 0.78rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.84);
}

.treatments {
  padding-top: 20px;
  padding-bottom: 26px;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.treatment-card {
  overflow: hidden;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 0 rgba(23, 79, 72, 0.04);
}

.treatment-image {
  height: 118px;
  border-radius: 0;
}

.treatment-body {
  min-height: 90px;
  padding: 12px 13px 14px;
  text-align: center;
}

.treatment-card h3 {
  margin-bottom: 5px;
  color: var(--green);
  font-size: 0.94rem;
  line-height: 1.04;
}

.treatment-card p {
  margin-bottom: 0;
  font-size: 0.75rem;
  line-height: 1.24;
  font-weight: 700;
  color: var(--text-soft);
}

.centered-action {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.results {
  padding-top: 28px;
  padding-bottom: 36px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.result-card {
  padding: 9px 9px 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.result-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}

.result-image span {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 6px;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(255,255,255,0.9);
  font-family: var(--body);
  font-size: 0.64rem;
  font-weight: 800;
}

.result-card > p {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
}

.team {
  padding-top: 32px;
  padding-bottom: 38px;
}

.team-grid {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.doctor-card {
  min-height: 210px;

  display: grid;
  grid-template-columns: 40% 60%;

  background: #eeece9;
  border-radius: 14px;
  overflow: hidden;
}

.doctor-image {
  height: 100%;
  min-height: 184px;
  border-radius: 0;
}

.doctor-copy {
  padding: 22px 20px 18px;
}

.doctor-copy h3 {
  margin-bottom: 5px;
  color: var(--green);
  font-size: 1.15rem;
}


.doctor-copy p {
  font-size: 0.72rem;
  line-height: 1.24;
  font-weight: 700;
  margin-bottom: 10px;
}

.doctor-copy .doctor-role,
.doctor-copy .crm {
  margin-bottom: 14px;
}

.faq {
  background: var(--green);
  padding-top: 34px;
  padding-bottom: 40px;
}

.section-heading.light h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.faq-grid {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.faq-item {
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 14px;
  border: 0;
  background: #f5f5f3;
  color: var(--text);
  font-size: 1.0rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  background: #fff;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  font-weight: 500;
  padding: 0 14px;
  font-size: 0.88rem;
  line-height: 1.42;
  color: var(--text-soft);
  transition: padding 0.25s ease;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding: 12px 14px 14px;
}

.closing-cta {
  background: var(--teal-dark);
  color: #fff;
  padding: 32px 0;
}

.closing-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.closing-inner h2 {
  margin-bottom: 7px;
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  line-height: 1.05;
}

.closing-inner p {
  margin-bottom: 0;
  font-size: 0.78rem;
  font-weight: 700;
}

.closing-actions {
  justify-self: end;
}

.closing-actions p {
  margin-top: 9px;
  text-align: center;
  font-size: 0.67rem;
}

.btn-light {
  background: #fff;
  color: var(--green);
  min-width: 360px;
}

.site-footer {
  padding: 34px 0 38px;
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 46px;
}

.footer-brand .brand {
  margin-bottom: 4px;
  font-size: 1.7rem;
}

.footer-brand p {
  margin-bottom: 0;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.22;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-contact-info small {
  display: block;
}

.footer-contact-info strong {
  display: block;
  font-size: 18px;
}

.footer-address {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}

.footer-address:hover {
  opacity: 1;
}


.footer-wa {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.footer-wa img{
  width: 22px;
  height: 22px;
}


.footer-contact small,
.footer-contact strong {
  display: block;
}

.footer-contact small {
  margin-bottom: 2px;
  font-size: 0.65rem;
}

.footer-contact strong {
  font-size: 1.02rem;
}

.footer-legal {
  padding-left: 28px;
  border-left: 2px solid var(--text);
}

.footer-legal p {
  margin-bottom: 6px;
  font-size: 0.56rem;
  line-height: 1.34;
  color: #274b55;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}


.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -5px;

  border: 2px solid rgba(37, 211, 102, 0.45);
  border-radius: 50%;

  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.25);
    opacity: 0;
  }

  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}



@media (max-width: 680px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    gap: 20px;
  }

  .hero-copy {
    width: 61%;
  }

  .advantage-grid {
    gap: 18px;
  }

  .advantage-card {
    grid-template-columns: 58px 1fr;
    padding: 14px;
  }

  .round-icon {
    width: 54px;
    height: 54px;
  }

  .treatment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .treatment-card:nth-child(4),
  .treatment-card:nth-child(5) {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .btn-header {
    display: none;
  }

  .main-nav {
    position: fixed;
    z-index: 100;
    top: 73px;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(8, 54, 51, 0.12);
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 320px;
  }

  .main-nav a {
    padding: 17px 24px;
    border-bottom: 1px solid #eef1ef;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 520px;
  }

  .hero-inner {
    min-height: 520px;
  }

  .hero-copy {
    width: 62%;
  }

  .hero-benefits {
    align-items: flex-start;
  }

  .benefit {
    max-width: 170px;
  }

  .symptom-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .symptom-card:nth-child(4),
  .symptom-card:nth-child(5) {
    max-width: none;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }

  .advantage-card {
    grid-template-columns: 72px 1fr;
  }

  .round-icon {
    width: 64px;
    height: 64px;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }

  .closing-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .closing-actions {
    justify-self: center;
  }

  .footer-contact {
    justify-content: center;
  }

  .footer-legal {
    max-width: 500px;
    margin: 0 auto;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 1.65rem;
  }

  .main-nav {
    top: 65px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero::after {
    background: linear-gradient(180deg, #fff 0%, #fff 53%, rgba(255,255,255,0.9) 61%, rgba(255,255,255,0) 100%);
  }

  .hero-inner {
    min-height: 0;
    display: block;
  }

  .hero-copy {
    width: 100%;
    padding: 34px 0 280px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-media {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 275px;
  }

  .hero-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .benefit {
    max-width: none;
  }

  .section {
    padding: 28px 0;
  }

  .section-heading.compact h2 {
    font-size: 1.65rem;
  }

  .symptom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .symptom-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }

  .treatment-grid,
  .results-grid,
  .team-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .team .container {
  max-width: 1280px;
}

  .result-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .treatment-grid {
    gap: 14px;
  }

  .treatment-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 132px;
  }

  .treatment-image {
    height: 100%;
    min-height: 132px;
  }

  .treatment-body {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 16px;
  }

  .results-grid,
  .team-grid {
    gap: 16px;
  }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

  .result-image {
    height: 145px;
  }

.doctor-card {
  display: flex;
  align-items: center;
  gap: 20px;

  padding: 20px;
  border-radius: 14px;
  background: #fff;
}

  .faq-grid {
    gap: 7px;
  }

  .closing-cta {
    padding: 30px 0;
  }

  .closing-inner {
    gap: 22px;
  }

  .closing-inner h2 br {
    display: none;
  }

  .btn-light {
    min-width: 0;
    width: 100%;
  }

  .site-footer {
    padding: 30px 0;
  }

  .footer-inner {
    gap: 25px;
  }
}

@media (max-width: 420px) {
  .hero-copy {
    padding-bottom: 252px;
  }

  .hero-media {
    height: 250px;
  }

  .btn {
    width: 100%;
    padding-inline: 16px;
  }

  .location-line {
    align-items: flex-start;
  }

  .symptom-grid {
    grid-template-columns: 1fr 1fr;
  }

  .symptom-card {
    padding-inline: 8px;
  }

  .symptom-card h3 {
    font-size: 0.92rem;
  }

  .advantage-card {
    grid-template-columns: 54px 1fr;
    gap: 12px;
  }

  .round-icon {
    width: 50px;
    height: 50px;
  }

  .treatment-card {
    grid-template-columns: 38% 62%;
  }

  .doctor-card {
    grid-template-columns: 1fr;
  }

 .doctor-image {
  width: 145px;
  height: 175px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-copy {
  flex: 1;
  min-width: 0;
}
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
