/* ------------------------------------------------------------------
 * SOPHOS - páginas individuais de e-book (sexo-sem-pressao / prazer-sem-culpa)
 * Usa as variáveis de cor definidas em sophos.css
 * ------------------------------------------------------------------ */

/* Hero: fundo marinho limpo (sem a foto de cidade do template) */
.sp-page header#idz-header {
    background: var(--navy-dark) url('../images/pattern-diagonal.png') repeat;
    min-height: 0;
    padding-bottom: 80px;
}
.sp-page .idz-gradient-overlay { opacity: .9; background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #5a3418 130%); }
.sp-page .idz-overlay { background: transparent; }
.sp-hero { padding-top: 70px; position: relative; z-index: 2; }
.sp-hero-text { padding-top: 20px; }
.sp-eyebrow { color: var(--copper-light); text-transform: uppercase; letter-spacing: 3px; font: 500 13px/20px 'Poppins', sans-serif; margin: 0 0 18px; }
.sp-hero h1 { font-size: 46px; line-height: 56px; font-weight: 600; margin: 0 0 18px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.sp-guia { color: var(--copper-light); font-family: 'Poppins', sans-serif; font-style: italic; font-size: 18px; line-height: 28px; margin: 0 0 14px; }
.sp-lead { color: rgba(255,255,255,.88); font-size: 18px; line-height: 30px; max-width: 580px; margin: 0 0 30px; }
.sp-hero-cta .uk-button { white-space: normal; line-height: 24px; padding-top: 14px; padding-bottom: 14px; }
.sp-chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.sp-chips li { color: rgba(255,255,255,.85); font-size: 14px; line-height: 22px; }
.sp-chips li i { color: var(--copper-light); margin-right: 6px; }
.sp-chips strong { color: #fff; font-size: 18px; }
.sp-from { text-transform: uppercase; letter-spacing: 1px; font-size: 11px; opacity: .8; }

.sp-cover-wrap { position: relative; display: inline-block; margin-top: 10px; }
.sp-cover { display: block; width: 100%; max-width: 360px; height: auto; border-radius: 6px;
    box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(227,176,134,.35); transform: rotate(2deg); }
.sp-badge { position: absolute; left: -14px; bottom: 26px; max-width: 220px; text-align: left;
    background: var(--copper); color: #fff; font: 500 12px/17px 'Poppins', sans-serif; letter-spacing: .5px;
    padding: 10px 14px; border-radius: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }

/* Seções */
.sp-section { padding: 80px 0; }
.sp-h2 { font-size: 36px; line-height: 46px; font-weight: 300; margin: 0 0 40px; color: var(--navy); }
.sp-h2 strong { font-weight: 700; }
.sp-white { color: #fff; }
.sp-note { max-width: 780px; margin: 40px auto 0; color: #5d6470; font-size: 17px; line-height: 29px; }
.sp-note-left { color: #5d6470; font-size: 17px; line-height: 29px; margin: -10px 0 28px; }

/* Cards de identificação */
.sp-cards { list-style: none; margin-left: -15px; padding: 0; }
.sp-cards > li { margin-bottom: 15px; }
.sp-card { background: #fff; border-radius: 6px; padding: 26px 20px 22px; height: 100%; text-align: center;
    box-shadow: 0 4px 14px rgba(10,43,74,.08); border-top: 3px solid var(--copper); }
.sp-card i { color: var(--copper); font-size: 30px; margin-bottom: 12px; }
.sp-card h4 { font-size: 16px; line-height: 22px; font-weight: 600; margin: 0 0 8px; color: var(--navy); }
.sp-card p { font-size: 14px; line-height: 22px; margin: 0; color: #5d6470; }

/* Checklist de temas */
.sp-checklist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.sp-checklist li { break-inside: avoid; display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e9e1d6; color: var(--navy); font-size: 16px; line-height: 24px; }
.sp-checklist li i { color: var(--copper); margin-top: 4px; font-size: 14px; }

/* Benefícios */
.sp-benefits { list-style: none; margin-left: -20px; padding: 0; }
.sp-benefits > li { margin-bottom: 20px; }
.sp-benefit { display: flex; gap: 18px; background: #fff; border-radius: 6px; padding: 24px; height: 100%; box-shadow: 0 4px 14px rgba(10,43,74,.07); }
.sp-ico { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--copper-light); text-align: center; line-height: 52px; font-size: 20px; }
.sp-benefit h4 { margin: 0 0 6px; font-size: 17px; line-height: 24px; font-weight: 600; color: var(--navy); }
.sp-benefit p { margin: 0; font-size: 15px; line-height: 24px; color: #5d6470; }

/* Diferenciais (faixa marinho) */
.sp-navy { background: var(--navy); color: #fff; }
.sp-stat { border: 2px solid var(--copper); border-radius: 50%; width: 220px; height: 220px; margin: 10px auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sp-stat span { font: 600 84px/84px 'Poppins', sans-serif; color: var(--copper-light); }
.sp-stat small { text-transform: uppercase; letter-spacing: 3px; font-size: 13px; color: #fff; margin-top: 6px; }
.sp-dif { list-style: none; margin: 0; padding: 0; }
.sp-dif li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.92); font-size: 17px; line-height: 26px; }
.sp-dif li i { color: var(--copper-light); margin-top: 5px; }

/* Preços */
.sp-prices { background: var(--navy-dark) url('../images/pattern.png') repeat; }
.sp-price-grid { justify-content: center; align-items: stretch; margin-top: 10px; }
.sp-price-card { position: relative; background: #fff; border-radius: 8px; padding: 34px 28px 30px; text-align: center; height: 100%; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.sp-price-card h3 { font: 600 17px/24px 'Poppins', sans-serif; color: var(--navy); margin: 14px 0 4px; letter-spacing: .5px; }
.sp-price-desc { color: #5d6470; font-size: 15px; line-height: 23px; margin: 0 0 8px; }
.sp-thumb { width: 110px; height: auto; border-radius: 4px; box-shadow: 0 8px 18px rgba(10,43,74,.3); }
.sp-price { font: 700 64px/72px 'Poppins', sans-serif; color: var(--navy); margin: 6px 0 14px; }
.sp-price small { font-size: 22px; font-weight: 500; vertical-align: top; margin-right: 4px; position: relative; top: 8px; }
.sp-price sup { font-size: 26px; font-weight: 600; vertical-align: top; position: relative; top: 8px; }
.sp-price-card .uk-button { white-space: normal; }
.sp-combo { border: 3px solid var(--copper); }
.sp-ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--copper); color: #fff; text-transform: uppercase; letter-spacing: 2px; font: 600 12px/18px 'Poppins', sans-serif; padding: 6px 18px; border-radius: 20px; white-space: nowrap; }
.sp-combo-covers { display: flex; justify-content: center; }
.sp-combo-covers img { width: 98px; height: auto; border-radius: 4px; box-shadow: 0 8px 18px rgba(10,43,74,.3); }
.sp-combo-covers img + img { margin-left: -14px; transform: rotate(4deg); }
.sp-combo-covers img:first-child { transform: rotate(-4deg); position: relative; z-index: 1; }
.sp-save { color: var(--copper-dark); font-weight: 500; font-size: 14px; margin: -6px 0 16px; }
.sp-combo-msg { color: rgba(255,255,255,.75); max-width: 760px; margin: 40px auto 0; font-size: 15px; line-height: 26px; }
.sp-price-grid > div { margin-bottom: 20px; }

/* Aviso */
.sp-aviso-sec { padding: 50px 0; }
.sp-aviso { max-width: 860px; margin: 0 auto; display: flex; gap: 18px; background: #f6f1ea; border-left: 4px solid var(--copper); border-radius: 4px; padding: 22px 26px; }
.sp-aviso i { color: var(--copper); font-size: 28px; line-height: 28px; margin-top: 2px; }
.sp-aviso p { margin: 0; font-size: 15px; line-height: 25px; color: #4a5260; }

/* FAQ */
.sp-faq { max-width: 820px; margin: 0 auto; }
.sp-faq-item { background: #fff; border-radius: 6px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(10,43,74,.06); }
.sp-faq-item summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font: 500 17px/26px 'Poppins', sans-serif; color: var(--navy); position: relative; }
.sp-faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-item summary:after { content: "+"; position: absolute; right: 22px; top: 50%; margin-top: -14px; font-size: 26px; line-height: 28px; color: var(--copper); }
.sp-faq-item[open] summary:after { content: "\2212"; }
.sp-faq-item[open] summary { color: var(--copper-dark); }
.sp-faq-item p { margin: 0; padding: 0 22px 20px; font-size: 16px; line-height: 27px; color: #5d6470; }

/* CTA final */
.sp-final-h { font-weight: 300; line-height: 52px; margin-bottom: 18px; color: var(--navy); }
.sp-final-h .bold { font-weight: 700; }
.sp-final-p { max-width: 640px; margin: 0 auto 30px; color: #5d6470; font-size: 18px; line-height: 30px; }
.sp-final-sub { margin-top: 22px; font-size: 15px; color: #5d6470; }
.sp-final-sub a { color: var(--copper-dark); }
#cta-final .uk-button { white-space: normal; }

/* Menu: item do outro e-book destacado */
nav#idz-nav .uk-navbar-nav > li > a { padding: 0 14px; }

/* Responsivo */
@media (max-width: 959px) {
    .sp-hero h1 { font-size: 38px; line-height: 48px; }
    .sp-cover-wrap { margin-top: 30px; }
    .sp-checklist { columns: 1; }
}
@media (max-width: 767px) {
    .sp-hero { padding-top: 30px; }
    .sp-hero h1 { font-size: 30px; line-height: 40px; }
    .sp-guia, .sp-lead { font-size: 16px; line-height: 26px; }
    .sp-section { padding: 56px 0; }
    .sp-h2 { font-size: 28px; line-height: 38px; margin-bottom: 28px; }
    .sp-cover { max-width: 260px; }
    .sp-badge { left: 0; bottom: 14px; max-width: 170px; font-size: 11px; line-height: 15px; }
    .sp-stat { width: 170px; height: 170px; }
    .sp-stat span { font-size: 64px; line-height: 64px; }
    .sp-price { font-size: 52px; line-height: 60px; }
    .sp-final-h { font-size: 28px; line-height: 38px; }
    .sp-cards, .sp-benefits { margin-left: 0; }
    .sp-hero-cta .uk-button { width: 100%; font-size: 15px; }
    #cta-final .uk-button { width: 100%; font-size: 15px; }
}

/* ---- Correções de layout (flexbox no lugar do grid do UIkit) ---- */
.sp-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 0; padding: 0; }
.sp-cards > li { flex: 1 1 190px; max-width: 228px; margin: 0; }
.sp-card { height: 100%; }
.sp-note { margin-top: 56px; }

.sp-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 0; padding: 0; }
.sp-benefits > li { flex: 0 1 calc(33.333% - 15px); min-width: 290px; margin: 0; display: flex; }
.sp-benefit { width: 100%; align-items: flex-start; }

.sp-price-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 28px; margin: 20px 0 0; }
.sp-price-col { flex: 1 1 320px; max-width: 420px; display: flex; }
.sp-price-col-combo { max-width: 500px; }
.sp-price-grid > div { margin-bottom: 0; }
.sp-price-card { width: 100%; height: auto; display: flex; flex-direction: column; align-items: center; }
.sp-price-card .uk-button { margin-top: auto; }
.sp-combo-msg { margin-top: 48px; }

/* Selo da capa: abaixo da imagem, sem cobrir o texto da capa */
.sp-cover-wrap { display: inline-flex; flex-direction: column; align-items: center; max-width: 100%; }
.sp-badge { position: static; max-width: 340px; text-align: center; margin-top: 22px; border-radius: 20px; padding: 8px 18px; }
@media (max-width: 767px) {
    .sp-benefits > li { flex-basis: 100%; min-width: 0; }
    .sp-price-col { flex-basis: 100%; }
    .sp-badge { max-width: 280px; }
}

/* Altura igual sem estourar o li */
.sp-cards > li { display: flex; }
.sp-card { height: auto; flex: 1 1 auto; }
.sp-benefit { height: auto; flex: 1 1 auto; }

@media (max-width: 767px) {
    #idz-footer .uk-grid > .uk-width-1-4 { width: 100%; }
    #idz-footer .idz-footer-widget { margin-bottom: 10px; }
}

/* ---- Preço individual (1 ebook por página) ---- */
.sp-price-card.sp-single { flex-direction: row; align-items: center; gap: 34px; max-width: 720px; padding: 36px 40px; text-align: left; }
.sp-single .sp-thumb { flex: 0 0 170px; width: 170px; max-width: 170px; }
.sp-single-body { flex: 1 1 auto; min-width: 0; }
.sp-single-body h3 { margin-top: 0; font-size: 20px; }
.sp-old { color: #8a909a; text-decoration: line-through; font-size: 16px; line-height: 20px; margin-top: 8px; }
.sp-single .sp-price { margin: 0 0 4px; }
.sp-price-note { color: var(--copper-dark); font-weight: 500; font-size: 14px; margin: 0 0 16px; }
.sp-single .sp-price-desc { margin-bottom: 4px; }
.sp-fine { color: #7a808b; font-size: 13px; margin: 12px 0 0; text-align: center; }
.sp-chips s { opacity: .65; }
.sp-hero h1.sp-long { font-size: 40px; line-height: 50px; }

/* Rodapé legal */
#idz-footer .sp-legal .copyright { margin: 0 0 8px; line-height: 22px; font-size: 13px; }
#idz-footer .sp-legal .sp-dev { letter-spacing: 1px; font-size: 12px; margin-top: 4px; color: rgba(255,255,255,.65); }
#idz-footer .sp-legal .sp-dev a { color: var(--copper-light); font-weight: 600; }
#idz-footer .sp-legal .sp-dev a:hover { color: #fff; }

@media (max-width: 767px) {
    .sp-price-card.sp-single { flex-direction: column; text-align: center; padding: 30px 22px; gap: 20px; }
    .sp-single .sp-thumb { flex-basis: auto; width: 150px; }
    .sp-hero h1.sp-long { font-size: 27px; line-height: 36px; }
}
