/*
Theme Name: Osheeps
Theme URI: https://osheeps.com
Author: Osheeps
Description: Tema oficial do Osheeps — discipulado afetivo visual para famílias cristãs.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: osheeps
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.os-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Botões "inflados" ---------- */
.wp-block-button .wp-block-button__link,
.os-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 26px; border-radius: 999px;
	font-weight: 800; font-size: 17px; line-height: 1.2; text-decoration: none;
	border: 4px solid #fff; transition: transform .15s ease;
}
.wp-block-button .wp-block-button__link:hover, .os-btn:hover { transform: translateY(-2px); }
.wp-block-button .wp-block-button__link:focus-visible, .os-btn:focus-visible { outline: 3px solid #1F2A44; outline-offset: 3px; }
.is-style-os-azul .wp-block-button__link, .os-btn--azul { background: #1C7FBF; color: #fff; box-shadow: 0 0 0 2px #1C7FBF, 0 6px 0 #135D8E; }
.is-style-os-rosa .wp-block-button__link, .os-btn--rosa { background: #D81B60; color: #fff; box-shadow: 0 0 0 2px #D81B60, 0 6px 0 #A3134A; }
.is-style-os-contorno .wp-block-button__link, .os-btn--contorno { background: #fff; color: #1F2A44; border: 3px solid #1F2A44; box-shadow: none; }
.is-style-os-link .wp-block-button__link { background: transparent; color: #135D8E; border: 0; box-shadow: none; padding: 0 8px; }
.wp-block-button .wp-block-button__link:hover { color: inherit; }
.is-style-os-azul .wp-block-button__link:hover, .is-style-os-rosa .wp-block-button__link:hover { color: #fff; }

/* ---------- Cabeçalho ---------- */
.os-header { background: #fff; box-shadow: 0 2px 0 #F1E9DC; position: relative; z-index: 20; }
.os-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 12px; }
.os-header .os-logo img { height: 52px; width: auto; display: block; }
.os-header .wp-block-navigation { font-weight: 800; font-size: 16px; }
.os-header .wp-block-navigation a { text-decoration: none; color: #1F2A44; }
.os-header .wp-block-navigation a:hover { color: #1C7FBF; }

/* ---------- Selos e etiquetas ---------- */
.os-selo { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; border: 3px solid #fff; }
.os-selo--amarelo { background: #FFC72C; color: #1F2A44; }
.os-selo--branco { background: #fff; color: #A3134A; }
.os-kicker { font-weight: 800; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: #135D8E; margin: 0; }

/* ---------- Hero ---------- */
.os-hero {
	position: relative;
	background-image: linear-gradient(90deg, rgba(255,251,245,.95) 0%, rgba(255,251,245,.82) 42%, rgba(255,251,245,0) 70%), var(--os-cenario);
	background-size: cover; background-position: center 30%;
}
.os-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding-block: 64px 120px; }
.os-hero__texto { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.os-hero__arte { flex: 1 1 460px; min-width: 0; display: flex; justify-content: center; }
.os-hero__arte img { width: 100%; max-width: 580px; display: block; }
.os-hero h1 { margin: 0; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.5px; }
.os-hero h1 .os-destaque { color: #1C8CC8; }
.os-hero__lead { margin: 0; font-size: 20px; line-height: 1.55; max-width: 520px; color: #3A4560; }
.os-hero__assinatura { margin: 0; font-size: 15px; font-weight: 700; color: #3A4560; }
.os-nuvem { position: absolute; left: 0; bottom: -1px; width: 100%; height: 80px; display: block; }
@media (max-width: 781px) {
	.os-hero { background-image: linear-gradient(180deg, rgba(255,251,245,.94) 0%, rgba(255,251,245,.86) 55%, rgba(255,251,245,.2) 100%), var(--os-cenario); }
	.os-hero__inner { padding-block: 40px 96px; }
}

/* ---------- Cartões ---------- */
.os-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.os-card { background: #fff; border-radius: 28px; padding: 28px; border: 4px solid #fff; display: flex; flex-direction: column; gap: 10px; }
.os-card h2, .os-card h3 { margin: 0; font-size: 26px; }
.os-card p { margin: 0; font-size: 17px; line-height: 1.55; color: #3A4560; }
.os-card--azul { box-shadow: 0 0 0 2px #CFEBF8, 0 10px 24px rgba(28,127,191,.10); }
.os-card--rosa { box-shadow: 0 0 0 2px #FBD3E2, 0 10px 24px rgba(216,27,96,.10); }
.os-card--amarelo { box-shadow: 0 0 0 2px #FFE7A6, 0 10px 24px rgba(214,160,0,.12); }
.os-icone { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; }
.os-icone svg { width: 28px; height: 28px; }

/* ---------- Seções ---------- */
.os-secao { padding-block: 80px; }
.os-secao--azul { background: #E3F4FC; }
.os-secao--rosa { background: #FDE7EF; }
.os-secao h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.05; }
.os-secao__cabeca { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; }
.os-secao__cabeca p { margin: 0; font-size: 18px; line-height: 1.6; max-width: 620px; color: #3A4560; }
.os-duas { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.os-duas > * { flex: 1 1 420px; min-width: 0; }
.os-texto { display: flex; flex-direction: column; gap: 18px; }
.os-texto > p { margin: 0; font-size: 18px; line-height: 1.6; color: #3A4560; }

/* ---------- Desafio ---------- */
.os-moldura { position: relative; background: #fff; border-radius: 40px; border: 6px solid #fff; box-shadow: 0 0 0 3px #9ED8F2, 0 18px 40px rgba(28,127,191,.18); padding: 24px; box-sizing: border-box; display: flex; justify-content: center; max-width: 480px; margin-inline: auto; }
.os-moldura img { width: 100%; max-width: 420px; height: auto; border-radius: 24px; }
.os-moldura__selo { position: absolute; top: -20px; left: 24px; padding: 10px 18px; border-radius: 999px; background: #FFC72C; border: 4px solid #fff; font-family: var(--wp--preset--font-family--baloo); font-weight: 800; font-size: 18px; color: #1F2A44; transform: rotate(-4deg); }
.os-passos { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.os-passos li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 20px; padding: 14px 18px; font-size: 17px; }
.os-passos__n { flex: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-family: var(--wp--preset--font-family--baloo); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.os-passos li:nth-child(1) .os-passos__n { background: #1C7FBF; }
.os-passos li:nth-child(2) .os-passos__n { background: #D81B60; }
.os-passos li:nth-child(3) .os-passos__n { background: #FFC72C; color: #1F2A44; }
.os-acoes { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.os-link-forte { font-weight: 800; font-size: 17px; color: #135D8E; }

/* ---------- Personagens ---------- */
.os-personagens { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.os-personagem { border-radius: 28px; border: 4px solid #fff; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .2s ease; }
.os-personagem:hover { transform: translateY(-6px) rotate(-1deg); }
.os-personagem img { height: 170px; width: auto; object-fit: contain; }
.os-personagem span { font-family: var(--wp--preset--font-family--baloo); font-weight: 800; font-size: 22px; color: #1F2A44; }
.os-bg-azul { background: #E3F4FC; box-shadow: 0 0 0 2px #9ED8F2; }
.os-bg-rosa { background: #FDE7EF; box-shadow: 0 0 0 2px #F7B3CC; }
.os-bg-amarelo { background: #FFF4D1; box-shadow: 0 0 0 2px #FFE08A; }
.os-bg-verde { background: #E6F6EA; box-shadow: 0 0 0 2px #A9DDB6; }
@media (prefers-reduced-motion: reduce) { .os-personagem, .wp-block-button .wp-block-button__link { transition: none; } }

/* ---------- Em breve (Álbum) ---------- */
.os-destaque-azul { background: #1C7FBF; border-radius: 48px; border: 6px solid #fff; box-shadow: 0 0 0 3px #1C7FBF, 0 24px 48px rgba(19,93,142,.25); padding: 56px 48px; box-sizing: border-box; color: #fff; }
.os-destaque-azul h2 { color: #fff; }
.os-destaque-azul p { color: #EAF6FD; font-size: 19px; line-height: 1.6; margin: 0; }
.os-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.os-checks li { display: flex; gap: 10px; align-items: center; }
.os-checks svg { flex: none; width: 22px; height: 22px; }
.os-album-arte { position: relative; min-height: 400px; display: flex; align-items: flex-end; justify-content: center; }
.os-album-arte > img { position: relative; z-index: 1; height: 380px; width: auto; }
.os-figurinha { position: absolute; width: 140px; height: 176px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.os-figurinha img { height: 150px; width: auto; }
.os-figurinha--1 { right: 6%; top: 10px; border: 6px solid #FFC72C; transform: rotate(8deg); }
.os-figurinha--2 { left: 4%; top: 40px; border: 6px solid #FBD3E2; transform: rotate(-9deg); }
.os-mini { background: #fff; border-radius: 28px; padding: 24px 28px; border: 2px solid #F1E9DC; display: flex; flex-direction: column; gap: 6px; }
.os-mini h3 { margin: 0; font-size: 23px; }
.os-mini p { margin: 0; font-size: 16px; line-height: 1.5; color: #3A4560; }
.os-mini__tag { font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
@media (max-width: 600px) { .os-destaque-azul { padding: 36px 24px; border-radius: 32px; } .os-album-arte > img { height: 300px; } .os-album-arte { min-height: 320px; } }

/* ---------- Formulário ---------- */
.os-form { background: #fff; border-radius: 36px; border: 6px solid #fff; box-shadow: 0 0 0 3px #F7B3CC, 0 18px 40px rgba(216,27,96,.14); padding: 36px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; }
.os-form h3 { margin: 0 0 6px; font-size: 26px; }
.os-form label { font-weight: 800; font-size: 15px; }
.os-form input[type=text], .os-form input[type=email] { min-height: 52px; border-radius: 16px; border: 2px solid #CFC4B3; padding: 0 16px; font: inherit; font-size: 17px; margin-bottom: 6px; }
.os-form input:focus-visible { outline: 3px solid #1C7FBF; outline-offset: 1px; border-color: #1C7FBF; }
.os-form .os-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.5; color: #3A4560; }
.os-form .os-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.os-form button { margin-top: 8px; cursor: pointer; font-family: inherit; }
.os-form__nota { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #5A6378; }
.os-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.os-aviso { border-radius: 18px; padding: 14px 18px; font-weight: 700; font-size: 16px; }
.os-aviso--ok { background: #E6F6EA; color: #1E5E2F; }
.os-aviso--erro { background: #FDE7EF; color: #8E1240; }
.os-trio { display: flex; gap: 6px; align-items: flex-end; margin-top: 8px; }
.os-trio img { height: 130px; width: auto; }

/* ---------- Depoimentos ---------- */
.os-depo { margin: 0; background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.os-depo blockquote { margin: 0; font-size: 18px; line-height: 1.6; }
.os-depo figcaption { font-weight: 800; font-size: 15px; color: #135D8E; }

/* ---------- Rodapé ---------- */
.os-footer { background: #1F2A44; color: #E6EAF2; }
.os-footer a { color: #E6EAF2; text-decoration: none; }
.os-footer a:hover { color: #fff; text-decoration: underline; }
.os-footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-block: 56px 32px; }
.os-footer__marca { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.os-footer__marca img { height: 56px; width: auto; align-self: flex-start; }
.os-footer__marca p { margin: 0; font-size: 16px; line-height: 1.6; max-width: 380px; }
.os-footer__links { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px 24px; font-size: 16px; list-style: none; margin: 0; padding: 0; }
.os-footer__base { border-top: 1px solid #36425E; padding-block: 18px 32px; font-size: 14px; color: #B9C2D3; }

/* ---------- Blog ---------- */
.os-blog-cabeca { padding-block: 56px 32px; background: #E3F4FC; }
.os-blog-cabeca h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); }
.os-cards .wp-block-post { background: #fff; border-radius: 28px; overflow: hidden; border: 2px solid #F1E9DC; display: flex; flex-direction: column; }
.os-cards .wp-block-post-featured-image { margin: 0; background: #E3F4FC; }
.os-cards .wp-block-post-featured-image img { aspect-ratio: 4/3; object-fit: contain; width: 100%; }
.os-cards .wp-block-post-title { margin: 18px 22px 6px; font-size: 24px; line-height: 1.15; }
.os-cards .wp-block-post-title a { text-decoration: none; color: #1F2A44; }
.os-cards .wp-block-post-excerpt { margin: 0 22px 22px; color: #3A4560; }
.os-artigo { padding-block: 48px 72px; }
.os-artigo .wp-block-post-title { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; margin: 8px 0 24px; }
.os-artigo .wp-block-post-featured-image img { border-radius: 32px; background: #E3F4FC; }
.os-artigo .wp-block-post-content { font-size: 19px; line-height: 1.7; }
.os-artigo .wp-block-post-content h2 { font-size: 30px; margin-top: 1.6em; }
.os-artigo .wp-block-post-content blockquote { margin: 1.5em 0; padding: 20px 24px; background: #FFF4D1; border-radius: 20px; border: 0; font-weight: 700; }
.os-artigo .wp-block-post-content .os-caixa { background: #E3F4FC; border-radius: 24px; padding: 24px 28px; }
