/* Service page premium layout (gestante). 2026-11-28.
   Editorial rhythm: alternating bands, two-column splits, one dark closing band.
   Builds on site.css (.container, .btn, headings) and blog-tools.css (tokens, .bt-wa). */

.gp {
  --gp-ink: var(--bf-navy, #0d1b2a);
  --gp-text: var(--bf-text, #1f2833);
  --gp-muted: var(--bf-muted, #5e6878);
  --gp-line: var(--bf-line, #dce2ea);
  --gp-soft: var(--bf-soft, #f7f9fc);
  --gp-gold: var(--bf-gold, #76591b);
  --gp-gold-soft: var(--bf-gold-soft, #e8d7a7);
}
.gp ::selection { background: var(--gp-ink); color: #fff; }

/* ---------- Hero: credentials card ---------- */
.gp .hero-card.gp-cred {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: none;
}
.gp .gp-cred picture,
.gp .gp-cred img {
  display: block;
  width: 132px;
  height: 176px;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 12px;
}
.gp .gp-cred__body { min-width: 0; }
.gp .gp-cred .gp-cred__name {
  display: block;
  margin: 2px 0 2px;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}
.gp .gp-cred__role {
  display: block;
  font-size: 14px;
  letter-spacing: .01em;
  color: var(--gp-gold-soft);
}
.gp .gp-cred__list {
  list-style: none;
  margin: 16px 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.gp .gp-cred__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .9);
}
.gp .gp-cred__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gp-gold-soft);
}
.gp .gp-cred__link {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.gp .gp-cred__link:hover { color: var(--gp-gold-soft); }
.gp .bt-hero-note { color: rgba(255, 255, 255, .82); }

/* ---------- Sections ---------- */
.gp-section { padding: 88px 0; background: #fff; }
.gp-section--soft { background: var(--gp-soft); border-top: 1px solid var(--gp-line); border-bottom: 1px solid var(--gp-line); }
.gp-section h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.gp-section p { font-size: 17px; line-height: 1.7; color: var(--gp-text); margin: 0 0 14px; max-width: 64ch; }
.gp-section .gp-lead { font-size: 19px; line-height: 1.6; color: var(--gp-ink); }
.gp-section .gp-muted { font-size: 15px; color: var(--gp-muted); }
.gp-after { margin-top: 26px !important; }

.gp-link {
  font-weight: 600;
  color: var(--gp-ink);
  text-decoration: underline;
  text-decoration-color: var(--gp-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.gp-link:hover { text-decoration-thickness: 2px; }

/* Split: main text + side element */
.gp-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: start;
}
.gp-split--narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }

/* Panel: the two paths */
.gp-panel {
  padding: 28px 28px 22px;
  border: 1px solid var(--gp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px -28px rgba(13, 27, 42, .35);
}
.gp-panel h3 {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--gp-ink);
}
.gp-option { padding: 16px 0; border-top: 1px solid var(--gp-line); }
.gp-option strong { display: block; font-size: 17px; color: var(--gp-ink); margin-bottom: 4px; }
.gp-option p { font-size: 15.5px; line-height: 1.55; margin: 0; color: var(--gp-text); }
.gp-panel .gp-panel__note {
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--gp-line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--gp-muted);
}

/* Two columns of steps */
.gp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.gp-two h2 { font-size: clamp(30px, 3.2vw, 40px); }
.gp-steps { list-style: none; counter-reset: gp; margin: 6px 0 18px; padding: 0; }
.gp-steps > li {
  counter-increment: gp;
  position: relative;
  padding: 0 0 20px 54px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--gp-text);
}
.gp-steps > li strong { color: var(--gp-ink); }
.gp-steps > li::before {
  content: counter(gp);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gp-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.gp-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17.5px;
  top: 40px;
  bottom: 4px;
  width: 1px;
  background: var(--gp-line);
}
.gp-steps--gold > li::before { background: #fff; color: var(--gp-gold); box-shadow: inset 0 0 0 1.5px var(--gp-gold); }

/* Horizontal CTA strip */
.gp-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 40px;
  padding: 22px 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--gp-line);
  box-shadow: 0 18px 40px -30px rgba(13, 27, 42, .4);
}
.gp-strip p { margin: 0; font-size: 16px; line-height: 1.55; max-width: 60ch; color: var(--gp-text); }
.gp-strip p strong { color: var(--gp-ink); }
.gp-strip .bt-wa { flex: none; }

/* Situations grid */
.gp-head { max-width: 760px; margin-bottom: 30px; }
.gp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gp-card {
  padding: 26px 26px 22px;
  border: 1px solid var(--gp-line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s ease-out, box-shadow .2s ease-out;
}
.gp-card:hover { border-color: var(--gp-gold-soft); box-shadow: 0 16px 36px -28px rgba(13, 27, 42, .4); }
.gp-card h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--gp-ink);
}
.gp-card p { font-size: 15.5px; line-height: 1.6; margin: 0; color: var(--gp-text); }

/* Pregnancy rights list */
.gp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--gp-line); }
.gp-list li { padding: 16px 0; border-bottom: 1px solid var(--gp-line); }
.gp-list strong { display: block; font-size: 17px; color: var(--gp-ink); margin-bottom: 3px; }
.gp-list span { display: block; font-size: 15.5px; line-height: 1.55; color: var(--gp-text); }

/* Documents checklist */
.gp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gp-checks li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  line-height: 1.45;
  color: var(--gp-ink);
}
.gp-checks li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--gp-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm3.7-9.7-1.4-1.4-3.55 3.54-1.04-1.04-1.42 1.42 2.46 2.45z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm3.7-9.7-1.4-1.4-3.55 3.54-1.04-1.04-1.42 1.42 2.46 2.45z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Closing dark band */
.gp-band {
  position: relative;
  padding: 72px 0;
  background: var(--gp-ink);
  color: #fff;
}
.gp-band::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gp-gold-soft), transparent);
  opacity: .6;
}
.gp-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; }
.gp-band h2 { color: #fff; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; margin: 0 0 12px; text-wrap: balance; }
.gp-band p { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.gp-band .gp-band__btn { flex: none; min-height: 56px; padding: 14px 26px; font-size: 17px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gp-section { padding: 56px 0; }
  .gp-split, .gp-split--narrow, .gp-two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .gp-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gp-strip, .gp-band__inner { flex-direction: column; align-items: stretch; }
  .gp-strip .bt-wa, .gp-band .gp-band__btn { width: 100%; }
  .gp-band { padding: 56px 0; }
}
@media (max-width: 560px) {
  .gp .hero-card.gp-cred { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .gp .gp-cred picture, .gp .gp-cred img { width: 96px; height: 128px; }
  .gp .gp-cred .gp-cred__name { font-size: 24px; }
  .gp .gp-cred__list li { font-size: 14px; }
  .gp-section h2 { font-size: clamp(30px, 8.5vw, 36px); }
  .gp-panel, .gp-card { padding: 20px 18px; }
  .gp-strip { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-card { transition: none; }
}

/* Match the service template's display face (Georgia 500) and tighten legacy sections */
.gp .gp-section h2, .gp .gp-band h2, .gp .gp-panel h3, .gp .gp-card h3, .gp .gp-cred .gp-cred__name {
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -.015em;
}
.gp .gp-panel h3 { font-size: 23px; }
.gp .gp-card h3 { font-size: 22px; }
.gp .gp-cred .gp-cred__name { font-size: 25px; }
.gp .section { padding: 72px 0; }
.gp .section.link-contextual { padding: 0 0 48px; }
.gp .section.link-contextual p { max-width: 70ch; color: var(--gp-muted); font-size: 15px; }
@media (max-width: 900px) { .gp .section { padding: 52px 0; } }
.gp .gp-cred .gp-cred__name { text-transform: none; letter-spacing: -.01em; }
.gp .gp-cred__role .nowrap { white-space: nowrap; }
/* v2 (28/11): CTA do hero dentro da primeira tela no desktop */
@media (min-width: 901px) { .gp .hero { padding-top: clamp(40px, 6vh, 72px); } .gp .hero h1 { margin-top: 8px; } }
