/*
 * Páginas secundárias de mama e contorno corporal.
 * Camada premium compartilhada, alinhada às páginas principais de conversão.
 */

html[data-secondary-premium="true"] {
  --secondary-ink: #2d211d;
  --secondary-muted: #6f625d;
  --secondary-paper: #fffaf7;
  --secondary-soft: #f4ece7;
  --secondary-warm: #eadbd2;
  --secondary-brown: #62473e;
  --secondary-deep: #3f2b25;
  --secondary-green: #147443;
  --secondary-green-dark: #0d5d35;
  --secondary-line: rgba(73, 49, 41, .15);
  --secondary-shadow: 0 22px 60px rgba(58, 37, 30, .11);
  --secondary-shell: min(1160px, calc(100% - 40px));
}

html[data-secondary-premium="true"] body {
  margin: 0;
  color: var(--secondary-ink);
  background: var(--secondary-paper);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

html[data-secondary-premium="true"] :is(h1, h2, h3) {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
}

html[data-secondary-premium="true"] h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(2.45rem, 5.6vw, 5.15rem);
}

html[data-secondary-premium="true"] h2 { font-size: clamp(2rem, 3.8vw, 3.55rem); }
html[data-secondary-premium="true"] h3 { font-size: clamp(1.22rem, 2vw, 1.65rem); }
html[data-secondary-premium="true"] .container { width: var(--secondary-shell); max-width: none; }

html[data-secondary-premium="true"] header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--secondary-line);
  background: rgba(255, 250, 247, .94);
  backdrop-filter: blur(15px);
}

html[data-secondary-premium="true"] header .nav {
  min-height: 78px;
  gap: 28px;
}

html[data-secondary-premium="true"] .brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 400;
}

html[data-secondary-premium="true"] .brand span {
  margin-top: 4px;
  color: var(--secondary-muted);
  font-size: .68rem;
  letter-spacing: .045em;
  text-transform: none;
}

html[data-secondary-premium="true"] header nav { gap: 18px; }
html[data-secondary-premium="true"] header nav > a:not(.btn) {
  color: #51433d;
  font-size: .88rem;
  font-weight: 600;
}

html[data-secondary-premium="true"] .breadcrumb { display: none; }

html[data-secondary-premium="true"] .btn {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  background: var(--secondary-green);
  box-shadow: 0 12px 28px rgba(20, 116, 67, .2);
  color: #fff;
  font-family: "Raleway", Arial, sans-serif;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.2;
}

html[data-secondary-premium="true"] .btn:hover {
  background: var(--secondary-green-dark);
  transform: translateY(-2px);
}

html[data-secondary-premium="true"] .btn.ghost {
  border: 1px solid rgba(20, 116, 67, .34);
  background: transparent;
  box-shadow: none;
  color: var(--secondary-green-dark);
}

html[data-secondary-premium="true"] .eyebrow {
  margin-bottom: 12px;
  color: var(--secondary-brown);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.3;
}

html[data-secondary-premium="true"] .hero {
  display: grid;
  width: var(--secondary-shell);
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(38px, 5vw, 64px);
  margin-inline: auto;
  padding: clamp(54px, 8vw, 110px) 0;
  overflow: visible;
  background: transparent;
}

html[data-secondary-premium="true"] .hero-copy,
html[data-secondary-premium="true"] .hero-inner {
  width: 100%;
  max-width: none;
  padding: 0;
}

html[data-secondary-premium="true"] .hero .lead {
  max-width: 760px;
  color: #554741;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.7;
}

html[data-secondary-premium="true"] .hero-actions { margin-top: 30px; }
html[data-secondary-premium="true"] .hero-note {
  margin: 24px 0 0;
  color: var(--secondary-muted);
  font-size: .86rem;
  font-weight: 600;
}

html[data-secondary-premium="true"] .hero-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--secondary-warm);
  box-shadow: 0 18px 48px rgba(63, 45, 38, .13);
}

html[data-secondary-premium="true"] .hero-media img {
  display: block;
  width: 100%;
  height: clamp(500px, calc(100svh - 155px), 660px);
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 12px;
  box-shadow: none;
  object-fit: cover;
  object-position: 50% 35%;
}

html[data-secondary-premium="true"] .trust {
  border-top: 1px solid var(--secondary-line);
  border-bottom: 1px solid var(--secondary-line);
  background: #fff;
}

html[data-secondary-premium="true"] .trust-grid { gap: 0; }
html[data-secondary-premium="true"] .trust-item {
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--secondary-line);
  padding: 22px clamp(16px, 2.3vw, 30px);
  background: transparent;
  box-shadow: none;
}

html[data-secondary-premium="true"] .trust-item:last-child { border-right: 0; }
html[data-secondary-premium="true"] .trust-item strong {
  color: var(--secondary-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 400;
}
html[data-secondary-premium="true"] .trust-item span { color: var(--secondary-muted); font-size: .74rem; }

html[data-secondary-premium="true"] main > section:not(.hero),
html[data-secondary-premium="true"] main > .patient-language-section,
html[data-secondary-premium="true"] main > .contact-flow { padding: clamp(64px, 8vw, 112px) 0; }

html[data-secondary-premium="true"] main > :is(.patient-language-section, .comparison-section, .fit-check, .contact-flow):not(.secondary-practical) {
  background: var(--secondary-soft);
}

html[data-secondary-premium="true"] .section-head { max-width: 790px; margin-bottom: 36px; }
html[data-secondary-premium="true"] .section-head > p { max-width: 720px; color: var(--secondary-muted); font-size: 1.05rem; }

html[data-secondary-premium="true"] :is(.patient-language-grid, .panel-grid, .comparison-grid, .procedure-links, .contact-flow-grid) {
  gap: 18px;
}

html[data-secondary-premium="true"] :is(.patient-language-card, .panel, .comparison-card, .procedure-detail > div, .contact-step) {
  min-width: 0;
  border: 1px solid var(--secondary-line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 34px rgba(67, 42, 33, .055);
}

html[data-secondary-premium="true"] :is(.patient-language-card, .panel, .comparison-card, .procedure-detail > div, .contact-step) p {
  color: var(--secondary-muted);
}

html[data-secondary-premium="true"] .patient-language-footer,
html[data-secondary-premium="true"] .honesty,
html[data-secondary-premium="true"] .fit-check-inner {
  border: 1px solid var(--secondary-line);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--secondary-warm);
}

html[data-secondary-premium="true"] .procedure-hub-section .procedure-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

html[data-secondary-premium="true"] .procedure-cta { grid-column: 1 / -1; justify-self: start; }
html[data-secondary-premium="true"] .procedure-hub-section .honesty { margin-top: 22px; }

html[data-secondary-premium="true"] .results { background: var(--secondary-deep); color: #fffaf7; }
html[data-secondary-premium="true"] .results .eyebrow,
html[data-secondary-premium="true"] .results .section-head > p { color: #eadbd3; }

html[data-secondary-premium="true"] .result-grid { gap: 24px; }
html[data-secondary-premium="true"] .result-card {
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fffaf7;
  box-shadow: var(--secondary-shadow);
}

html[data-secondary-premium="true"] .result-card img {
  display: block;
  width: 100%;
  height: clamp(190px, 21vw, 275px);
  aspect-ratio: auto;
  padding: 10px;
  background: #2a211e;
  object-fit: contain;
  object-position: center;
}

html[data-secondary-premium="true"] .result-card > div { padding: 19px 22px 23px; }
html[data-secondary-premium="true"] .result-card > div p { color: var(--secondary-muted); }
html[data-secondary-premium="true"] .disclaimer { color: #e4d5ce; }

html[data-secondary-premium="true"] .procedure-video-section {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--secondary-deep);
  color: #fffaf7;
}

html[data-secondary-premium="true"] .procedure-video-section .section-head > p { color: #eadbd3; }
html[data-secondary-premium="true"] .procedure-video-grid { gap: 24px; }
html[data-secondary-premium="true"] .procedure-video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
}

html[data-secondary-premium="true"] .procedure-video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  background: #171312;
  object-fit: contain;
}

html[data-secondary-premium="true"] .results.consultation-section,
html[data-secondary-premium="true"] .results#consulta {
  background: var(--secondary-paper);
  color: var(--secondary-ink);
}

html[data-secondary-premium="true"] .results#consulta .eyebrow,
html[data-secondary-premium="true"] .results#consulta .section-head > p,
html[data-secondary-premium="true"] .results.consultation-section .eyebrow,
html[data-secondary-premium="true"] .results.consultation-section .section-head > p { color: var(--secondary-muted); }

html[data-secondary-premium="true"] #consulta .split {
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

html[data-secondary-premium="true"] #consulta .portrait {
  overflow: hidden;
  border-radius: 16px;
  background: #e9dfda;
  box-shadow: var(--secondary-shadow);
}

html[data-secondary-premium="true"] #consulta .portrait img {
  display: block;
  width: 100%;
  height: 520px;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center 22%;
}

html[data-secondary-premium="true"] .steps { gap: 12px; }
html[data-secondary-premium="true"] .step {
  border: 1px solid var(--secondary-line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

html[data-secondary-premium="true"] .internal-trust-section,
html[data-secondary-premium="true"] .liv-reference-section { background: var(--secondary-paper); }

html[data-secondary-premium="true"] :is(.internal-trust-card, .location-card, .safety-note) {
  border: 1px solid var(--secondary-line);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 42px);
  background: rgba(255, 255, 255, .68);
  box-shadow: none;
}

html[data-secondary-premium="true"] .faq-grid { max-width: 900px; gap: 12px; }
html[data-secondary-premium="true"] .faq-item {
  border: 1px solid var(--secondary-line);
  border-radius: 18px;
  padding: 0 22px;
  background: rgba(255, 255, 255, .68);
  color: var(--secondary-ink);
}

html[data-secondary-premium="true"] .faq-item summary { min-height: 66px; }
html[data-secondary-premium="true"] .faq-item summary h3 {
  margin: 0;
  font-family: "Raleway", Arial, sans-serif;
  font-size: .97rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
}

html[data-secondary-premium="true"] .faq-answer { color: var(--secondary-muted); }

html[data-secondary-premium="true"] .contact-facts {
  overflow: hidden;
  border: 1px solid var(--secondary-line);
  border-radius: 16px;
  background: #fff;
}

html[data-secondary-premium="true"] .contact-facts > div { border-color: var(--secondary-line); }

html[data-secondary-premium="true"] .cta {
  background: var(--secondary-deep);
  color: #fffaf7;
}

html[data-secondary-premium="true"] .cta-wrap {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

html[data-secondary-premium="true"] .cta-wrap p { color: #eadbd3; }
html[data-secondary-premium="true"] .cta .btn { background: #fff; color: var(--secondary-deep); box-shadow: none; }

html[data-secondary-premium="true"] .secondary-practical {
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--secondary-deep);
  color: #fffaf7;
}

html[data-secondary-premium="true"] .secondary-practical__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .68fr);
  gap: clamp(26px, 5vw, 62px);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 58px);
  background: var(--secondary-brown);
  box-shadow: var(--secondary-shadow);
}

html[data-secondary-premium="true"] main .secondary-practical :is(.eyebrow, h2, p) {
  color: #fffaf7;
}
html[data-secondary-premium="true"] .secondary-practical h2 { margin-bottom: 16px; }
html[data-secondary-premium="true"] .secondary-practical .btn { margin-top: 18px; background: #fff; color: var(--secondary-deep); box-shadow: none; }

html[data-secondary-premium="true"] .secondary-practical__facts {
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, .1);
}

html[data-secondary-premium="true"] .secondary-practical__facts div {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
html[data-secondary-premium="true"] .secondary-practical__facts div:last-child { border-bottom: 0; }
html[data-secondary-premium="true"] .secondary-practical__facts span {
  display: block;
  color: #dbc7bd;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
html[data-secondary-premium="true"] .secondary-practical__facts strong { display: block; margin-top: 3px; }

html[data-secondary-premium="true"] :is(.auxiliary-team-section, .auxiliary-content-section, .auxiliary-clinic-section) {
  padding: clamp(64px, 8vw, 112px) 0;
}

html[data-secondary-premium="true"] .auxiliary-team-section { background: var(--secondary-deep); color: #fffaf7; }
html[data-secondary-premium="true"] .auxiliary-team-section .section-head > p { color: #eadbd3; }

html[data-secondary-premium="true"] .auxiliary-team-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fffaf7;
}

html[data-secondary-premium="true"] .auxiliary-team-card :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  background: #171312;
  object-fit: contain;
}

html[data-secondary-premium="true"] .auxiliary-team-card figcaption { color: var(--secondary-ink); }
html[data-secondary-premium="true"] .auxiliary-hospital-note { color: #eadbd3; }

html[data-secondary-premium="true"] .auxiliary-content-section { background: var(--secondary-soft); }
html[data-secondary-premium="true"] .auxiliary-content-card {
  border: 1px solid var(--secondary-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 34px rgba(67, 42, 33, .055);
}

html[data-secondary-premium="true"] .auxiliary-clinic-media {
  overflow: hidden;
  border-radius: 16px;
  background: var(--secondary-warm);
}

html[data-secondary-premium="true"] .auxiliary-clinic-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

html[data-secondary-premium="true"] .auxiliary-clinic-video { border-radius: 14px; }

html[data-secondary-premium="true"] footer {
  border-top: 1px solid var(--secondary-line);
  padding: 56px 0 104px;
  background: #f0e6e0;
}

html[data-secondary-premium="true"] .footer-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-secondary-premium="true"] footer :is(a, span, strong, p, button) {
  color: #584940;
}
html[data-secondary-premium="true"] footer .footer-navigation .footer-nav-group > strong,
html[data-secondary-premium="true"] footer .footer-navigation .footer-nav-group a,
html[data-secondary-premium="true"] footer .footer-navigation .footer-nav-group a:hover,
html[data-secondary-premium="true"] footer .footer-navigation .footer-nav-group a:focus-visible {
  color: #584940;
}

html[data-secondary-premium="true"] .whatsapp-float {
  bottom: calc(8px + env(safe-area-inset-bottom));
  width: min(390px, calc(100% - 28px));
  min-height: 48px;
  border-radius: 999px;
  background: var(--secondary-green);
  box-shadow: 0 14px 38px rgba(11, 64, 36, .34);
  font-size: .88rem;
  font-weight: 700;
}

html[data-secondary-premium="true"] :is(.btn, .text-link, .mini-link, summary, header a):focus-visible {
  outline: 3px solid rgba(20, 116, 67, .35);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  html[data-secondary-premium="true"] .hero { grid-template-columns: 1fr; }
  html[data-secondary-premium="true"] .hero-media { width: min(560px, 100%); margin-inline: auto; }
  html[data-secondary-premium="true"] .hero-media img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-position: center 28%;
  }
  html[data-secondary-premium="true"] .secondary-practical__grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  html[data-secondary-premium="true"] { --secondary-shell: min(100% - 28px, 1160px); }
  html[data-secondary-premium="true"] body { padding-bottom: 82px; font-size: 15.5px; }
  html[data-secondary-premium="true"] header .nav { min-height: 68px; gap: 10px; }
  html[data-secondary-premium="true"] .brand { max-width: 190px; }
  html[data-secondary-premium="true"] .brand strong { font-size: 1rem; }
  html[data-secondary-premium="true"] .brand span { display: block; overflow: hidden; font-size: .59rem; white-space: nowrap; }
  html[data-secondary-premium="true"] .nav-cta { min-height: 42px; padding: 9px 12px; font-size: .72rem; }
  html[data-secondary-premium="true"] .hero { gap: 22px; padding: 24px 0 34px; }
  html[data-secondary-premium="true"] .hero h1 { font-size: clamp(2.35rem, 10vw, 3rem); }
  html[data-secondary-premium="true"] .hero .lead { font-size: 1rem; line-height: 1.58; }
  html[data-secondary-premium="true"] .hero-actions { margin-top: 21px; }
  html[data-secondary-premium="true"] .hero-actions .btn { width: 100%; }
  html[data-secondary-premium="true"] .hero-media,
  html[data-secondary-premium="true"] .hero-media img { border-radius: 10px; }
  html[data-secondary-premium="true"] .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-secondary-premium="true"] .trust-item { border-bottom: 1px solid var(--secondary-line); padding: 16px 14px; }
  html[data-secondary-premium="true"] .trust-item:nth-child(2) { border-right: 0; }
  html[data-secondary-premium="true"] .trust-item:nth-child(n+3) { border-bottom: 0; }
  html[data-secondary-premium="true"] .procedure-hub-section .procedure-detail { grid-template-columns: 1fr; }
  html[data-secondary-premium="true"] .result-grid {
    display: flex;
    margin-right: -14px;
    padding: 2px 14px 14px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  html[data-secondary-premium="true"] .result-grid::-webkit-scrollbar { display: none; }
  html[data-secondary-premium="true"] .result-card { flex: 0 0 min(86vw, 350px); scroll-snap-align: start; }
  html[data-secondary-premium="true"] .result-card img { height: 210px; padding: 8px; }
  html[data-secondary-premium="true"] #consulta .portrait img { height: 300px; object-position: center 20%; }
  html[data-secondary-premium="true"] .secondary-practical__grid { padding: 26px 20px; }
  html[data-secondary-premium="true"] .secondary-practical__facts { padding: 20px; }
  html[data-secondary-premium="true"] .auxiliary-team-card { flex-basis: min(86vw, 340px); }
  html[data-secondary-premium="true"] .auxiliary-clinic-media img { height: 290px; }
  html[data-secondary-premium="true"] .footer-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html[data-secondary-premium="true"] .btn { transition: none; }
}
