/* =========================================================
   Instituto Cuidar do Cuidador — Estilos
   ========================================================= */

:root {
  /* Cores da marca */
  --pink:   #e6207a;
  --pink-d: #c8146a;
  --teal:   #14aca6;
  --green:  #6cbf3f;
  --orange: #f7941d;
  --purple: #7b2fbe;
  --yellow: #ffd24d;

  --green-wa: #25a85d;
  --green-wa-d: #1e9150;

  /* Neutros */
  --ink:    #2b2b3a;
  --muted:  #6b6b7a;
  --line:   #ececf2;
  --bg:     #ffffff;
  --bg-soft:#f6f5fb;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 18px rgba(40, 30, 70, .06);
  --shadow-md: 0 14px 40px rgba(40, 30, 70, .10);

  --container: 1180px;
  --header-h: 78px;
}

/* =================== Reset / base =================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Poppins", sans-serif; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Cores de texto utilitárias */
.text-pink   { color: var(--pink); }
.text-teal   { color: var(--teal); }
.text-green  { color: var(--green); }
.text-orange { color: var(--orange); }
.text-purple { color: var(--purple); }
.text-yellow { color: var(--yellow); }

/* =================== Botões =================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--green { background: var(--green-wa); color: #fff; box-shadow: 0 8px 20px rgba(37,168,93,.28); }
.btn--green:hover { background: var(--green-wa-d); }
.btn--outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.15); }

/* =================== Header =================== */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 18px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__img { height: 50px; width: auto; display: block; }

.nav { display: flex; gap: 26px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--ink); position: relative; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--pink); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--pink); transition: width .2s;
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header__cta { font-size: 14px; padding: 10px 18px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =================== Seção genérica =================== */
.section { padding: 80px 0; }
.section__eyebrow { text-align: center; font-family: "Poppins"; font-weight: 700; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.section__title { text-align: center; font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.section__title--left { text-align: left; }
.section__subtitle { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 46px; font-size: 17px; }

/* =================== Hero =================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 90% -10%, rgba(123,47,190,.08), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(20,172,166,.08), transparent 40%),
    #fff;
  padding: 50px 0 60px;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; letter-spacing: -1px; }
.hero__text { color: var(--muted); font-size: 18px; margin: 22px 0 28px; max-width: 460px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.pillars { display: flex; gap: 34px; flex-wrap: wrap; }
.pillar { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: "Poppins"; font-weight: 700; font-size: 14px; }
.pillar__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar--pink   { color: var(--pink); }   .pillar--pink   .pillar__icon { background: var(--pink); }
.pillar--teal   { color: var(--teal); }   .pillar--teal   .pillar__icon { background: var(--teal); }
.pillar--green  { color: var(--green); }  .pillar--green  .pillar__icon { background: var(--green); }
.pillar--orange { color: var(--orange); } .pillar--orange .pillar__icon { background: var(--orange); }

.hero__media { position: relative; }
.hero__image {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--pink), var(--purple) 60%, var(--teal));
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hero__image.is-placeholder::after {
  content: "Foto: cuidadora + idosa"; position: absolute; inset: 0;
  display: grid; place-items: center; color: rgba(255,255,255,.85); font-family: "Poppins"; font-weight: 600;
}

/* =================== Missão/Visão/Valores =================== */
.sobre { background: var(--bg-soft); }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.mvv__card { text-align: center; padding: 10px 18px; }
.mvv__icon { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 18px; }
.mvv__icon svg { width: 34px; height: 34px; }
.mvv__card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.mvv__card p { color: var(--muted); }

.icon-pink   { background: rgba(230,32,122,.12); color: var(--pink); }
.icon-teal   { background: rgba(20,172,166,.12); color: var(--teal); }
.icon-green  { background: rgba(108,191,63,.14); color: var(--green); }
.icon-orange { background: rgba(247,148,29,.14); color: var(--orange); }

.mvv__card:nth-child(1) h3 { color: var(--pink); }
.mvv__card:nth-child(2) h3 { color: var(--teal); }
.mvv__card:nth-child(3) h3 { color: var(--green); }

/* =================== Serviços =================== */
.servicos { background: #faf8fd; }
.services-group__title { text-align: center; font-size: 22px; font-weight: 700; margin-top: 44px; }
.services-grid { --cols: 6; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 24px; }
.services-grid .service-card { width: calc((100% - (var(--cols) - 1) * 18px) / var(--cols)); }
.services-grid--exames { --cols: 4; max-width: 800px; margin-inline: auto; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 26px 14px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; }
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 15px; font-weight: 700; min-height: 38px; display: flex; align-items: center; }
.btn-agendar {
  font-family: "Poppins"; font-weight: 600; font-size: 13px; padding: 7px 18px;
  border-radius: 50px; border: 1.5px solid currentColor; transition: .2s;
}
.btn-agendar:hover { color: #fff !important; }

.service-card--pink   .service-card__icon { background: rgba(230,32,122,.12); color: var(--pink); }
.service-card--pink   .btn-agendar { color: var(--pink); } .service-card--pink   .btn-agendar:hover { background: var(--pink); border-color: var(--pink); }
.service-card--teal   .service-card__icon { background: rgba(20,172,166,.12); color: var(--teal); }
.service-card--teal   .btn-agendar { color: var(--teal); } .service-card--teal   .btn-agendar:hover { background: var(--teal); border-color: var(--teal); }
.service-card--green  .service-card__icon { background: rgba(108,191,63,.14); color: var(--green); }
.service-card--green  .btn-agendar { color: var(--green); } .service-card--green  .btn-agendar:hover { background: var(--green); border-color: var(--green); }
.service-card--orange .service-card__icon { background: rgba(247,148,29,.14); color: var(--orange); }
.service-card--orange .btn-agendar { color: var(--orange); } .service-card--orange .btn-agendar:hover { background: var(--orange); border-color: var(--orange); }
.service-card--purple .service-card__icon { background: rgba(123,47,190,.12); color: var(--purple); }
.service-card--purple .btn-agendar { color: var(--purple); } .service-card--purple .btn-agendar:hover { background: var(--purple); border-color: var(--purple); }

/* =================== Diferenciais =================== */
.diferenciais { background: linear-gradient(180deg, #fff 0%, #fff7f0 100%); }
.diferenciais__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.diferenciais__badge { width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.diferenciais__badge svg { width: 22px; height: 22px; }
.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 36px; font-weight: 600; font-size: 17px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='m10 16-4-4 1.4-1.4 2.6 2.6 5.6-5.6L17 9z'/%3E%3C/svg%3E") center/18px no-repeat;
}
.diferenciais__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.diferenciais__media.is-placeholder {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 16/11;
  background: linear-gradient(135deg, #e7e2d6, #cfcabc); display: grid; place-items: center;
  color: #fff; font-family: "Poppins"; font-weight: 600;
}
.diferenciais__media.is-placeholder::after { content: "Foto: atendimento"; }

/* =================== Como agendar =================== */
.agendar { background: linear-gradient(180deg, #f3fbfa, #fff); text-align: center; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 50px 0 46px; flex-wrap: wrap; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 200px; }
.step__icon { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px; }
.step__icon svg { width: 44px; height: 44px; }
.step--teal   { background: rgba(20,172,166,.12); color: var(--teal); }
.step--pink   { background: rgba(230,32,122,.10); color: var(--pink); }
.step--orange { background: rgba(247,148,29,.12); color: var(--orange); }
.step__num { position: absolute; top: 78px; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-family: "Poppins"; font-weight: 700; display: grid; place-items: center; border: 4px solid #fff; }
.step--teal-bg { background: var(--teal); }
.step--pink-bg { background: var(--pink); }
.step--orange-bg { background: var(--orange); }
.step p { font-family: "Poppins"; font-weight: 600; font-size: 17px; margin-top: 6px; }
.step__sep { flex: none; width: 60px; height: 2px; border-top: 3px dashed #cfd8d7; margin-top: 48px; }

/* =================== Impacto =================== */
.impacto { background: linear-gradient(180deg, #f3faef, #fff); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
.stat { background: #fff; border-radius: var(--radius); padding: 30px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.stat__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 14px; }
.stat__icon svg { width: 30px; height: 30px; }
.stat__num { display: block; font-family: "Poppins"; font-size: 40px; font-weight: 800; line-height: 1; }
.stat:nth-child(1) .stat__num { color: var(--pink); }
.stat:nth-child(2) .stat__num { color: var(--teal); }
.stat:nth-child(3) .stat__num { color: var(--green); }
.stat:nth-child(4) .stat__num { color: var(--orange); }
.stat__label { color: var(--muted); font-weight: 600; font-size: 15px; display: block; margin-top: 8px; }

/* =================== Depoimentos =================== */
.depoimentos { background: var(--bg-soft); }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; }
.testimonial__quote { font-family: "Poppins"; font-size: 48px; font-weight: 800; color: var(--pink); line-height: .5; display: block; height: 26px; }
.testimonial p { color: var(--ink); font-style: italic; margin-bottom: 22px; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; display: grid; place-items: center; font-family: "Poppins"; font-weight: 700; font-size: 15px; object-fit: cover; flex: none; }
.testimonial__author strong { display: block; font-family: "Poppins"; font-size: 15px; }
.testimonial__author small { color: var(--muted); }
.testimonial__more { display: inline-block; margin-top: 16px; font-family: "Poppins"; font-weight: 600; font-size: 13px; color: var(--teal); border: 1.5px solid var(--teal); padding: 6px 16px; border-radius: 50px; transition: .2s; }
.testimonial__more:hover { background: var(--teal); color: #fff; }

/* =================== Doação =================== */
.cta-final {
  background: linear-gradient(115deg, #7b2fbe, #34349b 55%, #1e3a8a);
  color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.cta-final::before { content: ""; position: absolute; left: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-final__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; }
.cta-final h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; margin-bottom: 12px; }
.cta-final p { max-width: 520px; opacity: .95; }
.cta-final__actions { display: flex; flex-direction: column; gap: 14px; }

/* =================== Footer =================== */
.footer { background: #fbfbfd; padding: 64px 0; }
.footer-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 40px 44px;
}
.footer-card__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 44px; }

.logo--footer .logo__img { height: 46px; }
.footer-brand__tagline { color: var(--muted); margin: 18px 0 0; font-size: 15px; line-height: 1.5; }
.footer-brand__tagline strong { display: block; font-weight: 800; }
.footer-divider { border: none; border-top: 1px solid var(--line); margin: 20px 0; }
.footer-heading { font-family: "Poppins"; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.footer-heading--icon { display: flex; align-items: center; gap: 10px; }
.footer-icon { width: 26px; height: 26px; color: var(--purple); flex: none; }
.footer-icon--sm { width: 18px; height: 18px; margin-top: 2px; }
.footer-icon--pink { color: var(--pink); width: 30px; height: 30px; }
.footer-social { display: flex; gap: 12px; }
.footer-social__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .2s; }
.footer-social__icon:hover { transform: translateY(-2px); }
.footer-social__icon--instagram { background: radial-gradient(circle at 30% 110%, #ffd521, #f50000 35%, #d6249f 60%, #285aeb 90%); }
.footer-social__icon--facebook { background: #1877f2; }
.footer-brand__note { color: var(--muted); font-size: 14px; margin-top: 18px; line-height: 1.5; }

.footer-location__desc { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.footer-location__map { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.footer-location__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-location__address { display: flex; gap: 10px; margin-top: 18px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.footer-location__address strong { font-weight: 800; }

.footer-atendimento__days { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--purple); color: #fff;
  font-family: "Poppins"; font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 50px;
}
.footer-badge svg { width: 18px; height: 18px; }
.footer-atendimento__note { display: flex; gap: 14px; align-items: flex-start; }
.footer-atendimento__note p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.footer-atendimento__note strong { font-weight: 800; }

.footer-card__divider { border: none; border-top: 1px solid var(--line); margin: 36px 0 26px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; }
.footer-bottom__item { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.footer-bottom__item a:hover { color: var(--pink); }
.footer-bottom__icon {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(123,47,190,.1); color: var(--purple);
  display: grid; place-items: center; flex: none;
}
.footer-bottom__icon svg { width: 16px; height: 16px; }

/* =================== WhatsApp flutuante =================== */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,168,93,.45); transition: transform .2s;
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 10px 26px rgba(37,168,93,.45), 0 0 0 0 rgba(37,168,93,.45); }
  70%  { box-shadow: 0 10px 26px rgba(37,168,93,.45), 0 0 0 16px rgba(37,168,93,0); }
  100% { box-shadow: 0 10px 26px rgba(37,168,93,.45), 0 0 0 0 rgba(37,168,93,0); }
}

/* =================== Responsivo =================== */
@media (max-width: 980px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; padding: 10px 24px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow-md);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; margin: 0 auto; }
  .hero__text { max-width: none; }

  .mvv { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { --cols: 3; }
  .services-grid--exames { --cols: 2; }
  .diferenciais__inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .footer-card { padding: 34px; }
  .footer-card__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-final__inner { flex-direction: column; align-items: flex-start; }
  .cta-final__actions { width: 100%; }
}

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .services-grid { --cols: 2; }
  .step__sep { display: none; }
  .steps { gap: 30px; }
  .footer { padding: 40px 0; }
  .footer-card { padding: 26px 22px; }
  .footer-card__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pillars { justify-content: space-between; gap: 14px; }
  .btn--lg { width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; }
}
