:root {
  --petrol: #07586a;
  --petrol-dark: #063d49;
  --cyan: #18a8c5;
  --cream: #f8f3e9;
  --sand: #ede3d3;
  --ink: #203036;
  --muted: #627176;
  --white: #fffdfc;
  --line: rgba(7, 88, 106, .15);
  --shadow: 0 24px 60px rgba(23, 61, 72, .10);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1000;
  pointer-events: none;
  background: transparent;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--petrol), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--petrol-dark);
  color: white;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.section { padding: 110px 0; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--petrol);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow-light { color: #bfe8ef; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 5.8rem); margin-bottom: 26px; }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.2rem); margin-bottom: 24px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 252, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-color: rgba(7, 88, 106, .08);
  box-shadow: 0 8px 30px rgba(7, 61, 73, .06);
  background: rgba(255, 253, 252, .95);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--petrol);
  flex: 0 0 auto;
}
.brand-mark svg { width: 29px; height: 29px; }
.brand-mark path:first-child { fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linejoin: round; }
.brand-mark .pulse { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.18; }
.brand-copy strong { font-size: .96rem; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .65rem; }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; }
.desktop-nav a {
  position: relative;
  color: #45585e;
  font-size: .86rem;
  font-weight: 600;
  transition: color .2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.desktop-nav a:hover { color: var(--petrol); }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-cta { margin-left: 6px; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button > span[aria-hidden="true"] { transition: transform .22s ease; }
.button:hover > span[aria-hidden="true"] { transform: translateX(4px); }
.button-small { min-height: 44px; padding: 0 17px; background: var(--petrol); color: white; }
.button-primary { background: var(--petrol); color: white; box-shadow: 0 12px 28px rgba(7, 88, 106, .18); }
.button-primary:hover { background: var(--petrol-dark); }
.button-secondary { border-color: rgba(7, 88, 106, .22); color: var(--petrol); background: transparent; }
.button-secondary:hover { border-color: var(--petrol); background: rgba(7, 88, 106, .04); }
.button-light { background: var(--cream); color: var(--petrol-dark); }
.button-light:hover { background: white; }
.button-large { min-height: 60px; padding: 0 26px; }
.button-icon { width: 22px; height: 22px; fill: currentColor; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--petrol);
  font-weight: 800;
  font-size: .9rem;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }

.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 100px;
}
.hero-wash {
  position: absolute;
  inset: 0 0 auto 0;
  height: 74%;
  background:
    radial-gradient(circle at 82% 18%, rgba(24, 168, 197, .11), transparent 30%),
    linear-gradient(180deg, var(--cream) 0%, rgba(248, 243, 233, .55) 72%, rgba(255, 253, 252, 0) 100%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 68px; align-items: center; }
.hero-copy { max-width: 700px; }
.hero h1 { max-width: 760px; }
.hero h1 em {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  color: var(--petrol);
}
.hero-lead { max-width: 610px; font-size: 1.08rem; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 36px; }
.location-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: .84rem;
  font-weight: 700;
  color: #52686e;
}
.location-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(24, 168, 197, .10); animation: location-pulse 2.8s ease-out infinite; }

.scribble-circle { position: relative; display: inline-block; white-space: nowrap; z-index: 1; }
.scribble-circle::after {
  content: "";
  position: absolute;
  inset: -9px -16px -7px -14px;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  transform: rotate(-2deg) scaleX(.35);
  transform-origin: center;
  z-index: -1;
  opacity: 0;
}
.scribble-circle::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 10%;
  bottom: -8px;
  height: 3px;
  background: var(--cyan);
  border-radius: 999px;
  transform: rotate(1deg) scaleX(0);
  transform-origin: left center;
  opacity: 0;
}

.hero-visual { position: relative; min-height: 620px; }
.photo-frame { overflow: hidden; background: #ddd; }
.hero-photo {
  width: 83%;
  height: 590px;
  margin-left: auto;
  border-radius: 180px 24px 160px 24px;
  box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.09); will-change: transform; }
.hero-note {
  position: absolute;
  left: 0;
  bottom: 46px;
  width: 275px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(7, 88, 106, .10);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(29, 63, 72, .13);
}
.hero-note svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.8; flex: 0 0 auto; }
.hero-note span { font-size: .82rem; font-weight: 700; line-height: 1.55; color: #3f555b; }
.hero-doodle { position: absolute; right: -20px; bottom: -18px; width: 160px; height: 90px; }
.hero-doodle path { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; opacity: .8; }

.trust-strip { padding: 0 0 34px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid > div { display: flex; align-items: center; gap: 15px; padding: 22px 24px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { font-size: .86rem; }
.trust-icon { color: var(--cyan); font-size: .72rem; font-weight: 800; }

.services { background: #fbfaf7; }
.services-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.section-heading { position: sticky; top: 132px; }
.section-heading p:not(.eyebrow) { max-width: 460px; }
.service-list { border-top: 1px solid var(--line); }
.service-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.service-number { padding-top: 3px; color: var(--cyan); font-size: .76rem; font-weight: 800; }
.service-title-row { display: flex; align-items: center; gap: 14px; }
.service-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--petrol); }
.service-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-content p { margin: 8px 0 0; max-width: 640px; }

.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-photo-wrap { position: relative; min-height: 570px; display: grid; place-items: center; }
.about-photo-shape { position: absolute; width: 82%; height: 88%; border-radius: 46% 46% 22px 22px; background: rgba(24, 168, 197, .13); transform: rotate(-4deg); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.about-photo-stage {
  position: relative;
  width: min(420px, 86%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 44% 44% 24px 24px;
  background: linear-gradient(155deg, #efe8dc 0%, #f8f3e9 52%, #d8eef1 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.about-photo-stage::before {
  content: "";
  position: absolute;
  inset: -16%;
  z-index: -1;
  background: url("assets/caregiver-ai.webp") center / cover no-repeat;
  filter: blur(25px) saturate(.75);
  opacity: .18;
  transform: scale(1.12);
}
.about-photo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(248,243,233,.24));
}
.about-photo {
  position: relative;
  z-index: 1;
  width: 72%;
  height: 80%;
  object-fit: contain;
  object-position: center center;
  border-radius: 30% 30% 18px 18px;
  box-shadow: 0 18px 44px rgba(23, 61, 72, .14);
  transition: transform .65s cubic-bezier(.2,.8,.2,1);
}
.about-photo-wrap:hover .about-photo { transform: scale(1.025); }
.about-photo-wrap:hover .about-photo-shape { transform: rotate(-2deg) scale(1.015); }
.about-badge { position: absolute; left: 5%; bottom: 50px; z-index: 3; padding: 11px 15px; border-radius: 999px; background: var(--white); color: var(--petrol); font-size: .75rem; font-weight: 800; box-shadow: 0 12px 30px rgba(23, 61, 72, .12); animation: badge-float 5s ease-in-out infinite; }
.about-copy p:not(.eyebrow) { max-width: 650px; font-size: 1.02rem; }
.about-copy .button { margin-top: 14px; }

.benefits-heading { max-width: 820px; margin-bottom: 52px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit { min-height: 250px; padding: 30px 28px; border-right: 1px solid var(--line); }
.benefit:last-child { border-right: 0; }
.benefit-index { display: block; margin-bottom: 45px; color: var(--cyan); font-size: .76rem; font-weight: 800; }
.benefit p { margin-bottom: 0; font-size: .9rem; }

.emotional-band { padding: 76px 0; background: var(--petrol-dark); color: white; overflow: hidden; }
.emotional-inner { position: relative; display: grid; grid-template-columns: .55fr 1.45fr; gap: 60px; align-items: end; }
.emotional-inner p { margin: 0; color: #bfe8ef; font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.emotional-inner h2 { margin: 0; color: white; max-width: 760px; }
.emotional-line { position: absolute; width: 360px; height: 160px; border: 2px solid rgba(24, 168, 197, .6); border-color: rgba(24,168,197,.6) transparent transparent transparent; border-radius: 50%; transform: rotate(-8deg); right: -100px; top: -30px; }

.process-heading { max-width: 700px; margin-bottom: 58px; }
.process-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 22px; }
.process-step { position: relative; padding: 30px 28px 34px; background: #fbfaf7; border: 1px solid rgba(7, 88, 106, .10); border-radius: 20px; }
.step-number { position: absolute; top: 18px; right: 20px; color: rgba(7, 88, 106, .36); font-size: .72rem; font-weight: 800; }
.step-icon { width: 48px; height: 48px; margin-bottom: 34px; display: grid; place-items: center; background: var(--cream); color: var(--petrol); border-radius: 14px; }
.step-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.process-step p { margin-bottom: 0; font-size: .9rem; }
.process-arrow { display: grid; place-items: center; color: var(--cyan); font-size: 1.5rem; }
.process-cta { margin-top: 38px; text-align: center; }

.hospital-section { padding: 90px 0; background: var(--petrol); color: white; }
.hospital-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; }
.hospital-copy h2, .hospital-copy p { color: white; }
.hospital-copy p:not(.eyebrow) { color: #dcebed; max-width: 620px; }
.hospital-copy .button { margin-top: 18px; }
.hospital-photo { border-radius: 26px 150px 26px 26px; overflow: hidden; min-height: 460px; box-shadow: 0 30px 60px rgba(0,0,0,.14); }
.hospital-photo img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08); will-change: transform; }

.area-section { background: #fbfaf7; padding-top: 80px; padding-bottom: 80px; }
.area-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 42px 44px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.area-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--cream); color: var(--petrol); }
.area-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.area-card h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin-bottom: 10px; }
.area-card p { margin-bottom: 0; }

.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq-heading { position: sticky; top: 132px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; border: 0; background: transparent; text-align: left; color: var(--ink); font-weight: 700; cursor: pointer; }
.faq-question:hover { color: var(--petrol); }
.faq-plus { font-size: 1.55rem; color: var(--cyan); transition: transform .2s ease; }
.faq-question[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-answer > p { overflow: hidden; margin: 0; padding-right: 52px; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 24px; }

.final-cta { padding-top: 40px; }
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; min-height: 430px; padding: 64px; border-radius: 32px; background: var(--petrol-dark); color: white; }
.cta-copy { position: relative; z-index: 2; max-width: 760px; }
.cta-copy h2, .cta-copy p { color: white; }
.cta-copy p:not(.eyebrow) { color: #d8e7e9; font-size: 1.02rem; max-width: 620px; }
.cta-microcopy { margin: 14px 0 0; font-size: .78rem !important; color: #b8ced2 !important; }
.cta-decoration { position: relative; min-height: 250px; }
.cta-heart { position: absolute; right: 90px; top: 10px; font-family: Georgia, serif; font-size: 8rem; line-height: 1; color: rgba(24, 168, 197, .55); transform: rotate(-8deg); }
.cta-decoration svg { position: absolute; right: -80px; bottom: -80px; width: 330px; }
.cta-decoration path { fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; opacity: .75; }

.site-footer { padding: 54px 0 26px; background: #f5f1e9; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr .8fr; gap: 48px; align-items: start; }
.footer-brand .brand-mark { width: 38px; height: 38px; }
.footer-contact, .footer-note { font-size: .82rem; }
.footer-contact p, .footer-note p { margin-bottom: 8px; }
.footer-contact a { color: var(--petrol); font-weight: 800; }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: .76rem; color: #718084; }
.footer-bottom a { color: var(--petrol); font-weight: 700; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 14px;
  background: #1f9d63;
  color: white;
  font-size: .84rem;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(18, 88, 56, .24);
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); background: #178553; }
.whatsapp-float svg { width: 22px; height: 22px; fill: currentColor; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1), filter .75s ease;
}
.reveal-left { transform: translate3d(-34px, 14px, 0); }
.reveal-right { transform: translate3d(34px, 14px, 0); }
.reveal-scale { transform: translateY(18px) scale(.965); }
.reveal-pop { transform: translateY(22px) scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }


/* Motion system: discreto, funcional e respeitando prefers-reduced-motion */
.hero-copy.is-visible .scribble-circle::after { animation: scribble-ring .82s .38s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-copy.is-visible .scribble-circle::before { animation: scribble-line .58s .86s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-visual.is-visible .hero-note { animation: note-float 5.5s 1s ease-in-out infinite; }
.hero-doodle path { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.hero-visual.is-visible .hero-doodle path { animation: doodle-draw 1.15s .55s ease-out forwards; }

.service-item { transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.service-item:hover { transform: translateX(8px); border-color: rgba(24,168,197,.34); }
.service-item:hover .service-icon { transform: rotate(-5deg) scale(1.06); background: rgba(24,168,197,.15); }
.service-icon { transition: transform .3s ease, background .3s ease; }

.benefit { transition: transform .3s ease, background .3s ease; }
.benefit:hover { transform: translateY(-6px); background: linear-gradient(180deg, rgba(24,168,197,.06), transparent); }
.benefit-index { transition: transform .3s ease, color .3s ease; }
.benefit:hover .benefit-index { transform: translateX(5px); color: var(--petrol); }

.emotional-line { animation: emotional-drift 7s ease-in-out infinite alternate; }

.process-step { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.process-step:hover { transform: translateY(-7px); border-color: rgba(24,168,197,.28); box-shadow: 0 18px 40px rgba(23,61,72,.08); }
.process-step:hover .step-icon { transform: rotate(-4deg) scale(1.08); background: rgba(24,168,197,.12); }
.step-icon { transition: transform .3s ease, background .3s ease; }
.process-arrow { animation: arrow-nudge 2.4s ease-in-out infinite; }

.hospital-photo { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hospital-photo:hover { transform: translateY(-6px) rotate(.25deg); }

.area-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.area-card:hover { transform: translateY(-5px); border-color: rgba(24,168,197,.25); box-shadow: 0 18px 42px rgba(23,61,72,.07); }

.faq-question span:first-child { transition: transform .22s ease; }
.faq-question:hover span:first-child { transform: translateX(4px); }

.cta-heart { animation: heart-float 5.6s ease-in-out infinite; }
.cta-decoration svg { animation: cta-line-drift 8s ease-in-out infinite alternate; }

.whatsapp-float { animation: whatsapp-breathe 5.8s ease-in-out infinite; }
.whatsapp-float:hover { animation-play-state: paused; }

@keyframes location-pulse {
  0%, 55%, 100% { box-shadow: 0 0 0 6px rgba(24,168,197,.10); }
  72% { box-shadow: 0 0 0 11px rgba(24,168,197,0); }
}
@keyframes scribble-ring {
  from { opacity: 0; transform: rotate(-5deg) scaleX(.28) scaleY(.82); }
  to { opacity: .95; transform: rotate(-2deg) scaleX(1.02) scaleY(1); }
}
@keyframes scribble-line {
  from { opacity: 0; transform: rotate(1deg) scaleX(0); }
  to { opacity: .8; transform: rotate(1deg) scaleX(1); }
}
@keyframes doodle-draw { to { stroke-dashoffset: 0; } }
@keyframes note-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-.35deg); } }
@keyframes badge-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes emotional-drift { from { transform: rotate(-8deg) translateX(0); } to { transform: rotate(-4deg) translateX(-24px); } }
@keyframes arrow-nudge { 0%,100% { transform: translateX(0); opacity: .75; } 50% { transform: translateX(5px); opacity: 1; } }
@keyframes heart-float { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-10px) rotate(-5deg); } }
@keyframes cta-line-drift { from { transform: translate3d(0,0,0) rotate(0); } to { transform: translate3d(-18px,-8px,0) rotate(-3deg); } }
@keyframes arrow-down { 0%,100% { transform: rotate(90deg) translateX(0); opacity: .75; } 50% { transform: rotate(90deg) translateX(5px); opacity: 1; } }
@keyframes whatsapp-breathe {
  0%, 76%, 100% { box-shadow: 0 16px 36px rgba(18,88,56,.24); }
  86% { box-shadow: 0 16px 36px rgba(18,88,56,.24), 0 0 0 9px rgba(31,157,99,.09); }
}

:focus-visible { outline: 3px solid rgba(24, 168, 197, .45); outline-offset: 3px; }

@media (max-width: 1020px) {
  .desktop-nav, .header-cta { display: none; }
  .header-inner { min-height: 72px; }
  .menu-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 12px;
    cursor: pointer;
  }
  .menu-toggle span { width: 19px; height: 2px; background: var(--petrol); border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 24px;
    background: rgba(255, 253, 252, .98);
    overflow: hidden;
    transition: grid-template-rows .25s ease, padding .25s ease;
  }
  .mobile-menu::before { content: ""; min-height: 0; }
  .mobile-menu.open { grid-template-rows: 1fr; padding-top: 6px; padding-bottom: 22px; }
  .mobile-menu a:not(.button) { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
  .mobile-menu .button { margin-top: 16px; background: var(--petrol); color: white; }

  .hero-grid, .about-grid, .hospital-grid, .faq-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { min-height: 560px; max-width: 680px; width: 100%; margin-inline: auto; }
  .hero-photo { height: 535px; width: 82%; }
  .services-grid { grid-template-columns: 1fr; gap: 54px; }
  .section-heading, .faq-heading { position: static; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .emotional-inner { grid-template-columns: 1fr; gap: 18px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-arrow { transform: rotate(90deg); padding: 0; animation: arrow-down 2.4s ease-in-out infinite; }
  .area-card { grid-template-columns: auto 1fr; }
  .area-link { grid-column: 2; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-decoration { position: absolute; inset: 0 0 0 auto; width: 42%; opacity: .52; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body { padding-bottom: 74px; }
  .container { width: min(100% - 40px, var(--container)); }
  .section { padding: 78px 0; }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: .9rem; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.65rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .eyebrow { margin-bottom: 14px; }

  .hero { padding-top: 54px; padding-bottom: 72px; }
  .hero-grid { gap: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-lead { font-size: 1rem; }
  .scribble-circle { white-space: normal; }
  .scribble-circle::after { inset: -5px -8px -4px -8px; border-width: 2px; }
  .hero-visual { min-height: 445px; }
  .hero-photo { width: 88%; height: 420px; border-radius: 120px 20px 100px 20px; }
  .hero-note { width: 235px; left: 0; bottom: 24px; padding: 15px; }
  .hero-note span { font-size: .74rem; }
  .hero-doodle { width: 120px; right: -22px; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 8px; }
  .trust-grid > div:last-child { border-bottom: 0; }

  .service-item { grid-template-columns: 42px 1fr; gap: 14px; padding: 24px 0; }
  .service-title-row { align-items: flex-start; }
  .service-icon { width: 32px; height: 32px; }

  .about-grid { gap: 44px; }
  .about-photo-wrap { min-height: 460px; }
  .about-photo-stage { width: min(360px, 91%); }
  .about-photo { width: 74%; height: 80%; }
  .about-badge { left: 0; bottom: 24px; }

  .benefits-heading { margin-bottom: 34px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 6px; }
  .benefit:last-child { border-bottom: 0; }
  .benefit-index { margin-bottom: 20px; }

  .emotional-band { padding: 60px 0; }
  .emotional-line { width: 240px; height: 120px; right: -90px; }

  .process-step { padding: 26px 22px 28px; }
  .process-arrow { font-size: 1.25rem; }
  .process-cta .button { width: 100%; }

  .hospital-section { padding: 74px 0; }
  .hospital-grid { gap: 40px; }
  .hospital-photo { min-height: 330px; border-radius: 22px 90px 22px 22px; }
  .hospital-photo img { min-height: 330px; }
  .hospital-copy .button { width: 100%; }

  .area-card { grid-template-columns: 1fr; padding: 30px 24px; }
  .area-link { grid-column: auto; }

  .faq-question { padding: 21px 0; }
  .faq-answer > p { padding-right: 12px; }

  .final-cta { padding-top: 24px; }
  .cta-card { min-height: 0; padding: 42px 24px; border-radius: 24px; }
  .cta-card .button { width: 100%; }
  .cta-decoration { width: 68%; opacity: .30; }
  .cta-heart { right: 24px; top: 20px; font-size: 6rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-note { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }

  .whatsapp-float {
    left: 12px;
    right: 12px;
    bottom: 10px;
    justify-content: center;
    min-height: 54px;
    border-radius: 14px;
  }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 2.58rem; }
  .hero-photo { width: 91%; }
  .hero-note { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .parallax-media { transform: scale(1.04) !important; }
}


/* Portfolio demo helpers */
.portfolio-demo-badge {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 89;
  padding: 8px 11px;
  border: 1px solid rgba(7, 88, 106, .13);
  border-radius: 999px;
  background: rgba(255, 253, 252, .90);
  backdrop-filter: blur(12px);
  color: #52686e;
  font-size: .68rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(7, 61, 73, .08);
}
.demo-contact { color: var(--petrol); font-weight: 800; }
.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 140;
  max-width: min(520px, calc(100% - 32px));
  padding: 13px 17px;
  border-radius: 14px;
  background: var(--petrol-dark);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 18px 44px rgba(7, 61, 73, .22);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 720px) {
  .portfolio-demo-badge { left: 12px; bottom: 72px; font-size: .62rem; }
  .demo-toast { bottom: 142px; }
}
