/* Base */
:root {
  --bg: #f5e0c8;
  --bg-alt: #f9efe3;
  --surface: #ffffff;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --primary: #25D366;
  /* verde CTA (WhatsApp) */
  --primary-ink: #0d5c24;
  --whatsapp: #25D366;
  /* barra superior */
  --accent: #d2a661;
  /* dourado suave */
  --accent-ink: #3a2a12;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1120px;
  --barH: 44px;
}

* {
  box-sizing: border-box;
  /* Section { padding: 40px 0 } adds bottom space on mobile; keep hero flush */
  .section.hero { padding-bottom: 0; }
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  /* Section { padding: 36px 0 } adds bottom space on very small phones; keep hero flush */
  .section.hero { padding-bottom: 0; }
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: #eee;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* WhatsApp top bar */
.whatsapp-bar {
  background: var(--whatsapp);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.whatsapp-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

.whatsapp-text { font-weight: 700; }

/* Countdown chips styling */
.countdown-chips { display: inline-flex; align-items: center; gap: 8px; }
.countdown-chips .chip {
  background: #121212;
  color: #fff;
  border-radius: 10px;
  padding: 4px 8px;
  font-weight: 800;
  display: inline-block;
}
.countdown-chips .chip.unit { font-weight: 700; padding: 4px 6px; }

.cta-light {
  background: #fff;
  color: var(--primary-ink);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* Header */
.site-header {
  background: var(--bg-alt);
  position: sticky;
  top: var(--barH);
  z-index: 10;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  font-weight: 700;
}

/* Sections */
.section {
  padding: 56px 0;
  background: #ffffff;
}

.section-alt {
  background: var(--bg);
}

.hero {
  padding-top: 24px;
  padding-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.two-col .col.media img {
  width: 100%;
  box-shadow: var(--shadow);
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: transparent;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg);
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }

/* Slightly smaller carousel in the section-alt (glúteos) block */
.section.section-alt.service .col.media { display: flex; justify-content: center; }
.section.section-alt.service .col.media .carousel {
  width: 100%;
  max-width: 400px; /* shrink a bit compared to full column */
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 12px;
}
.hero-content h1 {
  position: relative;
  padding-left: 24px;
}
.hero-content h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 6px;
  background: var(--accent);
  border-radius: 3px;
}

.hero-content p {
  color: var(--muted);
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-actions .cta { margin: 0 auto; }
.hero-actions .link { display: inline-block; }

.hero-media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: transparent;
}

.hero-media img[data-img-key="hero_doctor"] {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.hero-logo {
  height: 100px;
  margin: 0 auto 10px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.hl {
  background: #AE7A3E;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: none;
  display: inline-block;
  line-height: 1;
}

.btn-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Buttons */
.cta,
.cta-outline,
.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
}

.cta {
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  box-shadow: 0 6px 14px rgba(37, 211, 102, .25);
}

.cta:hover {
  filter: brightness(0.95);
}

.cta-outline {
  border: 2px solid var(--primary);
  color: var(--primary-ink);
  padding: 10px 18px;
  background: #fff;
}

.link {
  color: var(--primary-ink);
}

/* WhatsApp CTA attention animation */
.whatsapp-cta {
  position: relative;
  animation: whatsappPulse 2.2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(37,211,102,0.0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.0); }
}

.whatsapp-cta:hover { filter: brightness(0.95); animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .whatsapp-cta { animation: none; }
}

.cta.big {
  padding: 14px 26px;
  font-size: 18px;
  margin-top: 25px;
}

/* Eye-catching effects for WhatsApp CTAs */
.cta[href*="wa.me"],
.whatsapp-cta {
  position: relative;
  animation: whatsappPulse 3s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.35); }
  40% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(37,211,102,0.0), 0 10px 24px rgba(37,211,102,0.25); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.0); }
}

/* Shine sweep on hover */
.cta[href*="wa.me"]::after,
.whatsapp-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  height: 100%;
  width: 30%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
}
.cta[href*="wa.me"]:hover::after,
.whatsapp-cta:hover::after {
  animation: whatsappSheen 900ms ease;
}
@keyframes whatsappSheen {
  0% { left: -30%; opacity: 0; }
  10% { opacity: 0.9; }
  100% { left: 130%; opacity: 0; }
}

/* Accessibility: pause animation on hover and disable for reduced motion */
.cta[href*="wa.me"]:hover,
.whatsapp-cta:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .cta[href*="wa.me"],
  .whatsapp-cta { animation: none; }
  .cta[href*="wa.me"]::after,
  .whatsapp-cta::after { animation: none; }
}

/* Accent label */
.label {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

/* Inline label inside hero heading */
.hero-wrap h1 .label { margin-bottom: 0; margin-left: 8px; }

/* Force single-line tagline */
.one-line { white-space: nowrap; }

/* Center the single-line tagline section */
.section.section-alt .hero-wrap {
  grid-template-columns: 1fr;
  justify-items: center;
}
.section.section-alt .hero-wrap h1.one-line { text-align: center; }

.callout {
  display: inline-block;
  background: #f0cf96;
  color: #2a2a2a;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 6px 0 10px;
}

.divider {
  height: 16px;
  background: #d4a550;
  border-radius: 6px;
  margin: 8px 0 18px;
}

/* Start banner below "Protocolos e profissional" */
.section.banner-start {
  background: #d4a550;
  padding: 12px 0;
}
.banner-start .start-text {
  margin: 0;
  color: #fff;
  font-weight: 800;
  text-align: center;
}
.banner-start .start-highlight {
  background: #fff;
  color: var(--accent-ink);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* Lists */
.list {
  margin: 25px 0 30PX;
  padding-left: 18px;
  color: var(--muted);
}

.bullets {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.bullets li {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 8px 0;
  box-shadow: var(--shadow);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.features.four {
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.feature .icon {
  font-size: 24px;
}

/* Diferenciais (trust) redesign to match provided image */
#diferenciais .trust-heading {
  text-align: center;
  font-weight: 700;
}
#diferenciais .trust-heading .hl-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 4px 8px;
  border-radius: 6px;
}
#diferenciais .features.trust {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}
#diferenciais .feature {
  border: 2px solid var(--accent);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
#diferenciais .feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
}
#diferenciais .feature .icon::before {
  content: "✓";
}
#diferenciais .feature h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
#diferenciais .feature p {
  color: var(--muted);
}

/* FAQ */
/* Scoped redesign to match mock in #profissional */
#profissional .faq details {
  background: #fff;
  padding: 0;
  border-radius: 6px;
  box-shadow: none;
  border: 1px solid #d6d6d6;
  margin-bottom: 12px;
}

#profissional .faq summary {
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f4f4;
  padding: 10px 12px;
  border-bottom: 1px solid #e0e0e0;
}

#profissional .faq summary::before {
  content: "+";
  width: 18px;
  height: 18px;
  border: 1.5px solid #333;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 12px;
  line-height: 1;
}

#profissional .faq .proto-content {
  padding: 12px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery.small {
  grid-template-columns: repeat(3, 1fr);
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.testimonials img {
  background: var(--surface);
  padding: 8px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Global highlight tag used in headings */
.hl-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 4px 8px;
  border-radius: 6px;
}

/* Testimonials (Depoimentos) heading and kicker */
#galeria .kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 6px;
  font-size: 20px;
}
#galeria .gallery-heading {
  text-align: center;
  font-weight: 700;
  margin: 30px 0 8px;
}
#galeria .gallery-sub {
  text-align: center;
  color: var(--muted);
  margin: 60px 0 18px;
}

/* "Mais do que estética" section */
.section.more { background: var(--bg); }
.more-heading {
  text-align: center;
  font-weight: 700;
  margin: 0 0 8px;
}
.more-note {
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 24px;
}
.more-note::before {
  content: "❯";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
}

/* Contact */
.contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 760px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-form label span {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 16px;
}

.form-actions {
  display: flex;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: #a87645; /* brown per mock */
  color: #fff;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 0;
}

.footer-info { color: #fff; display: flex; align-items: center; }
.footer-info .footer-line { display: flex; align-items: center; gap: 10px; width: 100%; flex-wrap: wrap; }
.footer-info .brand { font-weight: 700; }
.footer-info .sep { opacity: .9; }
.footer-info .rights { opacity: .95; }
.footer-info .copyright { margin-left: auto; font-weight: 700; }

.footer-contact {
  display: grid;
  gap: 10px;
  text-align: left;
  color: #fff;
  margin-left: auto;
  justify-items: start;
}
.footer-contact .item {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  column-gap: 10px;
}
.footer-contact .item span:last-child {
  line-height: 1.35;
  text-align: left;
  max-width: 380px;
  display: block;
  justify-self: start;
}
.footer-contact .icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 999px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-contact .icon i { color: #fff; font-size: 13px; line-height: 1; }

/* Portrait fix */
.portrait img {
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Doctor portrait: transparent and flush to section bottom in #profissional */
#profissional .two-col { align-items: stretch; }
#profissional .col.media.portrait { position: relative; }
#profissional .portrait img {
  position: absolute;
  right: 0;
  bottom: -56px; /* overflow the section padding to sit flush */
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  max-width: 100%;
  height: auto;
}

/* Service section spacing tweak */
.service .col.text {
  padding: 10px 0;
  text-align: center;
}

/* Keep feature lists left-aligned inside centered text blocks */
.service .col.text .list { text-align: left; }

/* Center the "Serviços" label at the start of #procedimentos */
#procedimentos .two-col > div:first-child {
  grid-column: 1 / -1;
  text-align: center;
}
#procedimentos .two-col > div:first-child .label,
#procedimentos .two-col > div:first-child .serv {
  margin-bottom: 16px;
}

#procedimentos .two-col > .serv-tagline {
  grid-column: 1 / -1;
  text-align: center;
  margin: -4px 0 12px;
}

/* Accent heading style for Serviços */
.serv {
  font-size: 20px;
  color: var(--accent);
}

/* Protocols */
.protocols {
  display: grid;
  grid-template-columns: 4fr;
  gap: 12px;
  margin: 12px 0 18px;
}

.proto-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.proto-card h3 {
  margin: 0 0 8px;
}

.proto-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

/* Ensure protocols boxes stack vertically */
.proto-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proto-box {
  width: 100%;
}

/* Center the "Protocolos e profissional" section heading and CTA */
#profissional .col.text { text-align: center; }
#profissional .cta { display: inline-flex; margin: 14px auto 0; }

/* Small header styling above the PROTOCOLOS label */
#profissional .col.text > div:first-child {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Keep details/content left-aligned inside the centered section */
#profissional .proto-card { text-align: left; }

/* Smaller label variant for notes */
.label.label-note {
  font-size: 16px;
  padding: 4px 10px;
  display: inline-flex;
  width: fit-content;
}

/* Center the "Não se esqueça" note label under #profissional */
#profissional .col.text .label.label-note {
  display: block;
  width: fit-content;
  margin: 50px auto 14px;
}

/* Protocols note under "Não se esqueça" */
.proto-note {
  max-width: 900px;
  margin: 8px auto 14px;
  color: var(--muted);
  background: transparent;
}

/* CTA block with image */
.cta-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.cta-block-media img {
  width: 100%;
  border-radius: 12px;
}

.cta-block-content p {
  margin: 6px 0 14px;
  color: var(--muted);
}

/* Clinic CTA section — match reference design */
#clinica {
  background: var(--surface);
}
#clinica .cta-block {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  align-items: center;
}
#clinica .cta-block-media img {
  border-radius: 10px;
  box-shadow: none;
  max-width: 400px;
}
#clinica .cta-block-content { text-align: center; }
#clinica .cta-block-content .label {
  display: inline-block;
  margin-bottom: 12px;
}
#clinica .cta-block-content p {
  max-width: 560px;
  margin: 0 auto 16px;
}
#clinica .cta.big {
  padding: 18px 32px;
  font-size: 20px;
  box-shadow: 0 12px 24px rgba(37, 211, 102, .25);
}

/* Responsive */
@media (max-width: 980px) {

  .hero-wrap,
  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
  }

  /* Allow taglines to wrap on medium screens */
  .one-line { white-space: normal; }

  /* Reset portrait positioning earlier to avoid overlap on tablets */
  #profissional .portrait img { position: static; right: auto; bottom: auto; margin-top: 16px; }

  .cards,
  .features,
  .gallery,
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }

  /* Keep protocols stacked even on medium screens */
  .protocols {
    grid-template-columns: 1fr;
  }

  .features.four {
    grid-template-columns: 1fr 1fr;
  }

  .cta-block {
    grid-template-columns: 1fr;
  }

  /* Ensure clinic CTA stacks even with higher specificity */
  #clinica .cta-block { grid-template-columns: 1fr; }
  #clinica .cta-block-content { text-align: center; }
}

@media (max-width: 640px) {

  .cards,
  .features,
  .gallery,
  .testimonials,
  .protocols {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .serv {
    font-size: 25px;
    color: var(--accent);
  }

  /* Tighter section spacing on small screens */
  .section { padding: 40px 0; }

  /* Smaller carousel controls on mobile */
  .carousel-control { width: 30px; height: 30px; }

  /* Footer stacks on mobile */
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .footer-contact { margin-left: 0; justify-items: start; }
  .footer-contact .item span:last-child { max-width: 100%; }
  .footer-info .footer-line span { font-size: 14px; }

  /* Reset portrait positioning to avoid overflow */
  #profissional .portrait img { position: static; right: auto; bottom: auto; margin-top: 16px; }

  /* Full-width CTA on small screens */
  .cta.big { width: 100%; max-width: 480px; }

  /* Make the glúteos CTA easier to tap on small phones */
  .section.section-alt.service .col.text .cta {
    width: 100%;
    max-width: 360px;
    margin: 10px auto 0;
    display: inline-flex;
  }

  /* Clinic CTA image full-width and centered */
  #clinica .cta-block-media img { max-width: 100%; margin: 0 auto; }

  /* Countdown chips wrap */
  .countdown-chips { flex-wrap: wrap; }
  .countdown-chips .chip { padding: 3px 7px; }

  /* Extra breathing room under the top WhatsApp bar on mobile */
  .whatsapp-wrap { padding-bottom: 14px; }

  /* When media is moved inside text on mobile, give it spacing */
  .service .col.text .carousel { margin: 10px 0 16px; }
  /* Extra gap between image and CTA */
  .service .col.text .cta { margin-top: 12px; }

  /* Bring hero image closer to text on mobile */
  .hero-wrap { gap: 12px; }

  /* Protocolos: make portrait flush with section bottom on mobile */
  #profissional { padding-bottom: 0; }
  #profissional .portrait img { margin-bottom: 0; }
}

/* Target very small phones (iPhone XR width ~414px) */
@media (max-width: 430px) {
  .container { padding: 0 14px; }

  /* Top bar: allow wrap to avoid overflow */
  .whatsapp-wrap { flex-wrap: wrap; gap: 6px; }
  .whatsapp-text { font-size: 14px; }
  .countdown-chips .chip { padding: 2px 6px; font-size: 13px; }

  /* Hero adjustments */
  .hero-logo { height: 72px; }
  .hero-content h1 { font-size: 30px; line-height: 1.2; }
  .hero-content p { font-size: 15px; }
  .hero-actions { gap: 8px; }
  .cta { padding: 11px 18px; }

  /* Grid gaps tighter */
  .two-col { gap: 18px; }
  .cards, .features, .gallery, .testimonials, .protocols { gap: 10px; }

  /* Section padding slightly tighter */
  .section { padding: 36px 0; }

  /* Portrait ensure normal flow */
  #profissional .portrait img { position: static; right: auto; bottom: auto; margin-top: 14px; }

  /* Footer address can break long words safely */
  .footer-contact .item span:last-child { word-break: break-word; }
  .footer-info .footer-line { gap: 6px; }
  .footer-info .footer-line span { font-size: 13px; }

  /* Clinic CTA micro-tuning for very small phones */
  #clinica .cta-block { gap: 14px; }
  #clinica .cta-block-media img { max-width: 320px; margin: 0 auto; }
  #clinica .cta.big { width: 100%; max-width: 360px; margin: 0 auto; }
  #clinica .cta-block-content p { max-width: 360px; margin: 0 auto 14px; }

  /* Tighten hero spacing further on very small phones */
  .hero-wrap { gap: 10px; }

  /* Keep portrait flush at very small widths */
  #profissional { padding-bottom: 0; }
  #profissional .portrait img { margin-bottom: 0; }

  /* Slightly more bottom padding for very small phones */
  .whatsapp-wrap { padding-bottom: 16px; }
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  filter: blur(2px);
  transition: transform 0.85s cubic-bezier(.22,1,.36,1), opacity 0.85s ease, filter 0.85s ease;
  will-change: transform, opacity, filter;
}
.reveal-up { transform: translateY(32px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-scale { transform: scale(0.92); }
.reveal.in-view { opacity: 1; transform: none; filter: none; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}