/* ── Design tokens ── */
:root {
  --pink: #F47A9B;
  --pink-dark: #e06688;
  --pink-light: #fdf0f4;
  --teal: #7FC8BE;
  --teal-dark: #5aad9f;
  --teal-light: #edf9f7;
  --navy: #1e2a44;
  --navy-muted: #4a5568;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(30, 42, 68, 0.06);
  --shadow-md: 0 8px 32px rgba(30, 42, 68, 0.1);
  --shadow-lg: 0 16px 48px rgba(30, 42, 68, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy-muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pink-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover { color: var(--pink); }

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.section--mint { background: var(--teal-light); }
.section--pink { background: var(--pink-light); }

/* ── Utility text colors (melhor contraste que o original) ── */
.text-navy { color: var(--navy); }
.text-pink { color: var(--pink-dark); }
.text-teal { color: var(--teal-dark); }

/* ── Skip link (acessibilidade) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 122, 155, 0.12);
  height: var(--header-h);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo img {
  display: block;
  height: 52px;
  width: auto;
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
}

.nav__links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(244, 122, 155, 0.35);
}

.btn--primary:hover {
  background: var(--pink-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 122, 155, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(30, 42, 68, 0.15);
}

.btn--ghost:hover {
  border-color: var(--pink);
  color: var(--pink-dark);
  transform: translateY(-2px);
}

.btn--small {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn--full { width: 100%; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--pink-light) 0%, var(--white) 60%);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero__content {
  max-width: 32rem;
  padding-right: clamp(0.25rem, 1.5vw, 1rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  background: rgba(127, 200, 190, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero__title span { display: block; }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 42, 68, 0.08);
}

.hero__trust li {
  display: flex;
  flex-direction: column;
}

.hero__trust strong {
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.2;
}

.hero__trust span {
  font-size: 0.85rem;
  color: var(--navy-muted);
}

.hero__media {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 1.5vw, 1rem);
  min-width: 0;
}

.hero__media-frame {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(253, 240, 244, 0.9), rgba(237, 249, 247, 0.95));
  box-shadow:
    0 28px 64px rgba(30, 42, 68, 0.12),
    0 12px 28px rgba(244, 122, 155, 0.12),
    0 0 0 1px rgba(127, 200, 190, 0.15);
}

.hero__media-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(42.5rem, 80vh);
  object-fit: contain;
  object-position: center center;
}

.hero__badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  border: 1px solid rgba(127, 200, 190, 0.2);
}

.hero__badge-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.hero__blob--pink {
  width: 360px;
  height: 360px;
  background: var(--pink);
  top: -80px;
  right: -80px;
  opacity: 0.22;
}

.hero__blob--teal {
  width: 280px;
  height: 280px;
  background: var(--teal);
  bottom: -60px;
  left: -60px;
  opacity: 0.2;
}

/* ── Mission ── */
.mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.mission__illustration {
  margin: 0;
  padding: 1rem;
}

.mission__illustration img {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

.section-title--center { text-align: center; }

.section-title span { display: inline; }

.section-text {
  font-size: 1.05rem;
  max-width: 52ch;
}

.section-text--center {
  text-align: center;
  margin-inline: auto;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.mission__values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mission__values li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mission__value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.mission__values strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.mission__values p {
  font-size: 0.925rem;
  margin: 0;
}

/* ── Services ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 42, 68, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-light);
  border-radius: var(--radius-sm);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.925rem;
  margin-bottom: 1rem;
}

.service-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.service-card__link:hover { text-decoration: underline; }

/* ── Convênios ── */
.convenios__slider {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  max-width: 960px;
  margin-inline: auto;
}

.convenios__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
}

.convenios__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.convenios__item {
  flex: 0 0 auto;
  width: calc((100cqi - 3.75rem) / 4);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(30, 42, 68, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.convenios__item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.convenios__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.convenios__nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(244, 122, 155, 0.35);
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
}

.convenios__nav:hover:not(:disabled) {
  background: var(--pink-dark);
  transform: scale(1.05);
}

.convenios__nav:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.convenios__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

/* ── Testimonials ── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 0;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--pink);
}

.testimonial p {
  font-style: italic;
  font-size: 0.975rem;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-muted);
}

/* ── Contact ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.975rem;
}

.contact__details a {
  color: var(--navy);
  text-decoration: none;
}

.contact__details a:hover { color: var(--pink); }

.contact__form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(30, 42, 68, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(127, 200, 190, 0.25);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.75rem;
  color: var(--navy-muted);
  text-align: center;
  margin: 0.75rem 0 0;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-status--success {
  background: rgba(127, 200, 190, 0.2);
  color: var(--teal-dark);
}

.form-status--error {
  background: rgba(244, 122, 155, 0.15);
  color: var(--pink-dark);
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer .nav__logo img {
  height: 48px;
}

.footer__brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 28ch;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__links a:hover { color: var(--white); }

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__social a:hover { color: var(--pink); }

.footer__copy {
  font-size: 0.8rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__grid,
  .mission__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: none;
    padding-right: 0;
  }

  .hero__media {
    padding: 0.5rem 0 1.5rem;
  }

  .hero__media-frame img {
    max-height: min(27.5rem, 70vw);
  }

  .hero__badge {
    bottom: -0.75rem;
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
    max-width: calc(100% - 2rem);
  }

  .mission__illustration { order: -1; }

  .services__grid,
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__panel {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    background: var(--white);
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  }

  .nav__panel.is-open { transform: translateX(0); }

  .nav__links {
    flex-direction: column;
    gap: 0;
  }

  .nav__links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(30, 42, 68, 0.06);
  }

  .nav__cta { text-align: center; margin-top: 1rem; }

  .nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

  .nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.5rem;
    font-size: 0.75rem;
  }

  .services__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p { margin-inline: auto; }

  .convenios__slider {
    flex-direction: row;
    gap: 0.5rem;
  }

  .convenios__nav {
    width: 40px;
    height: 40px;
  }

  .convenios__item {
    padding: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mission__illustration img { animation: none; }

  .hero__badge-dot { animation: none; }

  .btn:hover,
  .service-card:hover,
  .convenios__item:hover {
    box-shadow: var(--shadow-sm);
  }

  .convenios__track {
    transition: none;
  }

  .convenios__nav:hover:not(:disabled) {
    transform: none;
  }
}

/* ── Legal pages ── */
.legal {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.legal__content {
  max-width: 760px;
}

.legal__header {
  margin-bottom: 2.5rem;
}

.legal__header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.legal__updated {
  font-size: 0.95rem;
  color: var(--navy-muted);
  margin: 0;
}

.legal__body section {
  margin-bottom: 2rem;
}

.legal__body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.legal__list {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0 0 1em;
}

.legal__list li {
  margin-bottom: 0.35rem;
}

.legal__body a {
  color: var(--pink-dark);
  font-weight: 600;
}

.legal__back {
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(30, 42, 68, 0.08);
}

.footer__links a[aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}
