/**
 * JC das Motos - Homepage
 * Estilos isolados do tema. Todos os seletores usam o prefixo `jcdm-home-`
 * para evitar conflitos com o tema, Elementor e outros plugins.
 *
 * O escopo raiz é `.jcdm-home`, portanto nada aqui vaza para o restante do site.
 */

/* -------------------------------------------------------------------------
   1. Base e reset escopado
   ------------------------------------------------------------------------- */
.jcdm-home {
	/* Paleta */
	--jcdm-bg-dark: #081720;
	--jcdm-bg-dark-2: #0F202B;
	--jcdm-red: #FF252D;
	--jcdm-red-dark: #C01218;
	--jcdm-green: #00C853;
	--jcdm-green-dark: #00a344;
	--jcdm-light: #F5F7F9;
	--jcdm-light-2: #FFFFFF;
	--jcdm-text-light: #F8FAFC;
	--jcdm-text-dark: #122235;
	--jcdm-text-muted: #6B8291;
	--jcdm-border: #E3EAF0;

	/* Espaçamento e raio */
	--jcdm-gap: 24px;
	--jcdm-radius: 16px;
	--jcdm-radius-sm: 10px;
	--jcdm-container: 1180px;

	/* Tipografia de sistema (sem fontes externas) */
	--jcdm-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
		"Helvetica Neue", Arial, sans-serif;

	box-sizing: border-box;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;

	color: var(--jcdm-text-light);
	background-color: var(--jcdm-bg-dark);
	font-family: var(--jcdm-font);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

.jcdm-home *,
.jcdm-home *::before,
.jcdm-home *::after {
	box-sizing: inherit;
}

.jcdm-home h1,
.jcdm-home h2,
.jcdm-home h3,
.jcdm-home h4,
.jcdm-home p,
.jcdm-home ul,
.jcdm-home ol,
.jcdm-home li,
.jcdm-home figure,
.jcdm-home blockquote {
	margin: 0;
	padding: 0;
}

.jcdm-home ul,
.jcdm-home ol {
	list-style: none;
}

.jcdm-home a {
	color: inherit;
	text-decoration: none;
}

.jcdm-home img {
	max-width: 100%;
	height: auto;
	display: block;
}

.jcdm-home button {
	font-family: inherit;
	cursor: pointer;
	border: 0;
	background: none;
	color: inherit;
}

.jcdm-home :focus-visible {
	outline: 3px solid var(--jcdm-red);
	outline-offset: 2px;
	border-radius: 4px;
}

/* -------------------------------------------------------------------------
   2. Container e utilitários
   ------------------------------------------------------------------------- */
.jcdm-home-container {
	width: 100%;
	max-width: var(--jcdm-container);
	margin-inline: auto;
	padding-inline: 24px;
}

.jcdm-home-accent {
	color: var(--jcdm-red);
}

.jcdm-home__text-muted,
.jcdm-home-section-text,
.jcdm-home .jcdm-home-section-text {
	color: var(--jcdm-text-muted);
}

/* Etiqueta sobre título */
.jcdm-home-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--jcdm-red);
	margin-bottom: 14px;
}

.jcdm-home-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: var(--jcdm-red);
	border-radius: 2px;
}

.jcdm-home-eyebrow--dark {
	color: var(--jcdm-red);
}

/* Cabeçalho de seção */
.jcdm-home-section-head {
	max-width: 720px;
	margin-bottom: 40px;
}

.jcdm-home-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.jcdm-home-section-head--center .jcdm-home-eyebrow::before {
	display: none;
}

.jcdm-home-section-head--center .jcdm-home-eyebrow {
	justify-content: center;
}

.jcdm-home-section-title {
	font-size: clamp(1.65rem, 4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--jcdm-text-light);
	margin-bottom: 16px;
}

/*
 * Respiro do cabeçalho de seção.
 *
 * Sem isso, eyebrow + título + descrição ficam colados quando o tema zera
 * as margens de `p`/`h2`. O afastamento da seção seguinte também precisa
 * ser reafirmado para não colar os cards no texto de introdução.
 */
.jcdm-home .jcdm-home-eyebrow {
	margin: 0 0 14px !important;
}

.jcdm-home .jcdm-home-section-title {
	margin: 0 0 16px !important;
}

.jcdm-home .jcdm-home-section-text {
	margin: 0 !important;
}

.jcdm-home .jcdm-home-section-head {
	margin-bottom: 40px !important;
}

.jcdm-home-section-text {
	font-size: 1.05rem;
}

/* Seções sobre fundo claro ajustam título/texto */
.jcdm-home-how .jcdm-home-section-title,
.jcdm-home-videos .jcdm-home-section-title,
.jcdm-home-instagram .jcdm-home-instagram__title {
	color: var(--jcdm-text-dark);
}

.jcdm-home-how .jcdm-home-section-text,
.jcdm-home-videos .jcdm-home-section-text,
.jcdm-home-instagram .jcdm-home-instagram__text {
	color: var(--jcdm-text-muted);
}

/* Link acessível "pular para o conteúdo" */
.jcdm-home-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--jcdm-red);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 8px 0;
	font-weight: 700;
	z-index: 2000;
}

.jcdm-home-skip:focus {
	left: 0;
}

/* -------------------------------------------------------------------------
   3. Botões
   ------------------------------------------------------------------------- */
.jcdm-home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 15px 26px;
	border-radius: 999px;
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
	white-space: normal;
	text-align: center;
}

.jcdm-home-btn--whatsapp {
	background: var(--jcdm-green);
	color: #08210f;
	box-shadow: 0 8px 22px rgba(0, 200, 83, 0.28);
}

.jcdm-home-btn--whatsapp:hover {
	background: var(--jcdm-green-dark);
	transform: translateY(-2px);
}

/*
 * Destaque do CTA principal (hero): verde mais saturado, anel de foco visível
 * e leve pulsação para tirar o botão da mesmice dos demais CTAs.
 */
.jcdm-home-btn--highlight {
	background: linear-gradient(180deg, #25d366 0%, var(--jcdm-green) 100%);
	color: #052e14;
	box-shadow: 0 10px 28px rgba(0, 200, 83, 0.45), 0 0 0 4px rgba(37, 211, 102, 0.18);
	animation: jcdm-home-btn-pulse 2.6s ease-in-out infinite;
}

.jcdm-home-btn--highlight:hover,
.jcdm-home-btn--highlight:focus-visible {
	background: linear-gradient(180deg, var(--jcdm-green) 0%, var(--jcdm-green-dark) 100%);
	color: #04250f;
	box-shadow: 0 14px 34px rgba(0, 200, 83, 0.55), 0 0 0 5px rgba(37, 211, 102, 0.28);
	transform: translateY(-2px);
}

.jcdm-home-btn--highlight:active {
	transform: translateY(0);
}

@keyframes jcdm-home-btn-pulse {
	0%,
	100% {
		box-shadow: 0 10px 28px rgba(0, 200, 83, 0.45), 0 0 0 4px rgba(37, 211, 102, 0.18);
	}
	50% {
		box-shadow: 0 10px 28px rgba(0, 200, 83, 0.45), 0 0 0 8px rgba(37, 211, 102, 0.08);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jcdm-home-btn--highlight {
		animation: none;
	}
}

.jcdm-home-btn--whatsapp:active {
	transform: translateY(0);
}

.jcdm-home-btn--sm {
	padding: 10px 18px;
	font-size: 0.85rem;
}

.jcdm-home-btn--lg {
	padding: 18px 34px;
	font-size: 1.02rem;
}

.jcdm-home-btn__icon {
	flex: 0 0 auto;
}

.jcdm-home-btn--disabled {
	opacity: 0.85;
	background: #2a4656;
	color: var(--jcdm-text-light);
	box-shadow: none;
	cursor: help;
}

/*
 * Estados combinados: o CTA de destaque mantém a identidade verde mesmo quando
 * o contato ainda não está configurado, para não transmitir a impressão de
 * elemento "quebrado". O tom é levemente atenuado para sinalizar o estado.
 */
.jcdm-home-btn--whatsapp.jcdm-home-btn--disabled,
.jcdm-home-btn--whatsapp.jcdm-home-btn--highlight.jcdm-home-btn--disabled {
	background: linear-gradient(180deg, #3ddc7a 0%, #12a34a 100%);
	color: #04250f;
	box-shadow: 0 10px 28px rgba(0, 200, 83, 0.32), 0 0 0 4px rgba(37, 211, 102, 0.14);
	animation: none;
}

/* Aviso discreto exibido quando o contato não está configurado */
.jcdm-home-contact-hint {
	display: block;
	margin-top: 10px;
	font-size: 0.78rem;
	color: var(--jcdm-text-muted);
	max-width: 360px;
}

/* Link de simulação do hero */
.jcdm-home-simulate-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	font-weight: 600;
	font-size: 1rem;
	color: var(--jcdm-text-light);
	border-bottom: 2px solid var(--jcdm-red);
	padding-bottom: 4px;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.jcdm-home-simulate-link:hover {
	color: var(--jcdm-red);
	border-color: var(--jcdm-red);
}

.jcdm-home-simulate-link__icon {
	color: var(--jcdm-red);
}

/*
 * Botão-linha (YouTube / Instagram).
 *
 * O seletor `.jcdm-home a { color: inherit }` (reset deste arquivo) tem
 * especificidade 0,1,1 e vence `.jcdm-home-link-btn` (0,1,0). Sem o prefixo
 * `.jcdm-home`, o texto herdava branco do wrapper e ficava invisível sobre o
 * fundo claro da seção. Prefixar mantém a especificidade acima do reset
 * (0,2,0) e preserva a cor vermelha em repouso e branca no hover.
 */
.jcdm-home .jcdm-home-link-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 12px 22px;
	border-radius: 999px;
	border: 2px solid var(--jcdm-red);
	color: var(--jcdm-red);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.jcdm-home .jcdm-home-link-btn:hover,
.jcdm-home .jcdm-home-link-btn:focus-visible {
	background: var(--jcdm-red);
	border-color: var(--jcdm-red);
	color: #fff;
}

.jcdm-home .jcdm-home-link-btn--ghost {
	border-color: var(--jcdm-red);
	color: var(--jcdm-red);
}

.jcdm-home .jcdm-home-link-btn--ghost:hover,
.jcdm-home .jcdm-home-link-btn--ghost:focus-visible {
	background: var(--jcdm-red);
	border-color: var(--jcdm-red);
	color: #fff;
}

/* Ícone acompanha a cor do texto (currentColor) nos dois estados. */
.jcdm-home .jcdm-home-link-btn .jcdm-home-link-btn__icon {
	color: currentColor;
}

.jcdm-home .jcdm-home-link-btn--pending {
	opacity: 0.7;
	cursor: help;
}

.jcdm-home-pending-hint {
	display: block;
	margin-top: 8px;
	font-size: 0.78rem;
	color: var(--jcdm-text-muted);
}

/* -------------------------------------------------------------------------
   4. Ícones SVG
   ------------------------------------------------------------------------- */
.jcdm-home-icon {
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
}

/* -------------------------------------------------------------------------
   5. Cabeçalho (Seção 1)
   ------------------------------------------------------------------------- */
.jcdm-home-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(8, 23, 32, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* O menu mobile é posicionado em relação ao cabeçalho. */
.jcdm-home-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

/*
 * Garante o respiro lateral do cabeçalho e evita que o botão encoste na
 * borda superior. O `.jcdm-home-container` já tem `padding-inline: 24px`,
 * mas o tema/Elementor pode zerar; o escopo + `!important` protege o menu
 * e o botão do WhatsApp no topo.
 */
.jcdm-home .jcdm-home-header__inner {
	padding-inline: 24px !important;
	padding-block: 10px !important;
	box-sizing: border-box;
}

@media (max-width: 640px) {
	.jcdm-home-header__inner {
		min-height: 64px;
		gap: 16px;
	}

	.jcdm-home .jcdm-home-header__inner {
		padding-inline: 18px !important;
	}
}

.jcdm-home-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

/* Logotipo em imagem — mantém a proporção natural */
.jcdm-home-brand__logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 44px;
	object-fit: contain;
}

@media (max-width: 640px) {
	.jcdm-home-brand__logo {
		max-height: 36px;
	}
}

@media (max-width: 360px) {
	.jcdm-home-brand__logo {
		max-height: 32px;
	}
}

.jcdm-home-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 37, 45, 0.12);
	border: 1px solid rgba(255, 37, 45, 0.35);
	color: var(--jcdm-red);
}

.jcdm-home-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.jcdm-home-brand__name {
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: 0.02em;
	color: var(--jcdm-red);
}

.jcdm-home-brand__tagline {
	font-size: 0.72rem;
	color: var(--jcdm-text-muted);
	letter-spacing: 0.04em;
}

/* Menu */
.jcdm-home-nav {
	display: flex;
	align-items: center;
	gap: 22px;
}

.jcdm-home-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	/* Reset defensivo: o tema pode injetar padding/list-style em `ul`. */
	padding: 0;
	list-style: none;
}

.jcdm-home-nav__link {
	display: inline-block;
	padding: 8px 12px;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--jcdm-text-light);
	border-radius: 8px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.jcdm-home-nav__link:hover {
	color: var(--jcdm-red);
	background: rgba(255, 37, 45, 0.08);
}

.jcdm-home-nav__cta {
	flex: 0 0 auto;
}

/* Botão de menu mobile */
.jcdm-home-nav-toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.16);
}

/*
 * Esconde o toggle no desktop.
 *
 * O tema (Hello Elementor) e o Elementor aplicam `display: flex/inline-flex`
 * em `button`, entrando depois do plugin na cascata e fazendo o botão
 * hambúrguer aparecer no desktop. Escopo `.jcdm-home` + `!important`
 * mantém o toggle oculto acima de 1024px. O breakpoint abaixo reativa.
 */
.jcdm-home .jcdm-home-nav-toggle {
	display: none !important;
}

.jcdm-home-nav-toggle__bars {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.jcdm-home-nav-toggle__bars span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--jcdm-text-light);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.jcdm-home-nav-toggle__label {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--jcdm-text-light);
}

/* Estado aberto (animação das barras) */
.jcdm-home-nav-toggle[aria-expanded="true"] .jcdm-home-nav-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.jcdm-home-nav-toggle[aria-expanded="true"] .jcdm-home-nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.jcdm-home-nav-toggle[aria-expanded="true"] .jcdm-home-nav-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   6. Hero (Seção 2)
   ------------------------------------------------------------------------- */
.jcdm-home-hero {
	position: relative;
	/* Imagem de fundo do hero (caminho relativo ao CSS do plugin) */
	background:
		/* Topo levemente abaixo do centro: preserva o rosto do especialista */
		url("../imgs/fundo_hero.png") center 42% / cover no-repeat,
		var(--jcdm-bg-dark);
	overflow: hidden;
	padding: clamp(56px, 8vw, 110px) 0;
}

.jcdm-home-hero__glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(600px 400px at 85% 20%, rgba(255, 37, 45, 0.14), transparent 70%),
		radial-gradient(500px 400px at 10% 90%, rgba(0, 200, 83, 0.08), transparent 70%);
}

/* Legibilidade do texto sobre a imagem de fundo */
.jcdm-home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(8, 23, 32, 0.78), rgba(8, 23, 32, 0.45) 55%, rgba(8, 23, 32, 0.35));
}

.jcdm-home-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	/* Coluna única: o placeholder fotográfico foi removido do hero. */
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 48px;
}

/* Mantém a legibilidade sem esticar a linha em telas muito largas. */
.jcdm-home-hero__content {
	max-width: 720px;
}

.jcdm-home-hero__title {
	font-size: clamp(2rem, 5.2vw, 3.2rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--jcdm-text-light);
	margin-bottom: 22px;
}

.jcdm-home-hero__lead {
	font-size: 1.08rem;
	color: #C7D4DD;
	max-width: 560px;
	margin-bottom: 28px;
}

.jcdm-home-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	margin-top: 8px;
}

/*
 * Respiro do hero.
 *
 * O reset global zera `margin` de `h1`/`p` e o tema + Elementor podem
 * reinjetar valores depois do plugin. Escopo `.jcdm-home` + `!important`
 * garante o afastamento entre título, texto e botões.
 */
.jcdm-home .jcdm-home-hero__title {
	margin: 0 0 22px !important;
}

.jcdm-home .jcdm-home-hero__lead {
	margin: 0 0 28px !important;
}

.jcdm-home .jcdm-home-hero__actions {
	margin-top: 8px !important;
}

/* Placeholder fotográfico (compartilhado) */
.jcdm-home-photo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--jcdm-radius);
	background: linear-gradient(150deg, #0F202B, #081720);
	border: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.jcdm-home-photo__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 32px 32px;
}

.jcdm-home-photo__ring {
	position: absolute;
	width: 68%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid rgba(255, 37, 45, 0.25);
	box-shadow: 0 0 0 18px rgba(255, 37, 45, 0.04);
}

.jcdm-home-photo__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	padding: 24px;
}

.jcdm-home-photo__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(255, 37, 45, 0.16);
	border: 1px solid rgba(255, 37, 45, 0.4);
	color: var(--jcdm-red);
}

.jcdm-home-photo__label {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--jcdm-text-light);
}

.jcdm-home-photo__hint {
	font-size: 0.82rem;
	color: var(--jcdm-text-muted);
}

/* -------------------------------------------------------------------------
   7. Benefícios (Seção 3)
   ------------------------------------------------------------------------- */
.jcdm-home-benefits {
	background: var(--jcdm-bg-dark-2);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: clamp(52px, 7vw, 84px) 0;
}

.jcdm-home-benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	/* Afastamento do topo herdado do `.jcdm-home-section-head` para não somar vãos. */
	margin: 0 auto;
	/* Reset defensivo: tema/Elementor costumam injetar padding/list-style em ul. */
	padding: 0;
	list-style: none;
}

.jcdm-home-benefit {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	height: 100%;
	box-sizing: border-box;
	padding: 32px 28px;
	border-radius: var(--jcdm-radius);
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 0.15s ease, border-color 0.15s ease;
}

/*
 * Reforço de espaçamento interno.
 *
 * O tema (Hello Elementor) e o Elementor definem padding/margin em `li`
 * e em `.elementor-widget-container`, e esses estilos entram depois do
 * plugin na cascata. Para garantir o respiro do card, as regras abaixo
 * usam seletor com o escopo `.jcdm-home` + `!important`.
 * Ficam restritas aos elementos do plugin, sem vazar para o site.
 */
.jcdm-home .jcdm-home-benefit {
	padding: 32px 28px !important;
}

.jcdm-home .jcdm-home-benefit__icon {
	margin: 0 0 20px !important;
}

.jcdm-home .jcdm-home-benefit__title {
	margin: 0 0 10px !important;
}

.jcdm-home .jcdm-home-benefit__text {
	margin: 0 !important;
}

.jcdm-home-benefit:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 37, 45, 0.35);
}

.jcdm-home-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(255, 37, 45, 0.12);
	color: var(--jcdm-red);
	margin: 0 0 20px;
}

.jcdm-home-benefit__title {
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--jcdm-text-light);
	margin: 0 0 10px;
}

.jcdm-home-benefit__text {
	margin: 0;
	line-height: 1.6;
	font-size: 0.95rem;
	color: #a0aec0;
}

/* -------------------------------------------------------------------------
   8. Como funciona (Seção 4)
   ------------------------------------------------------------------------- */
.jcdm-home-how {
	background: var(--jcdm-light);
	color: var(--jcdm-text-dark);
	padding: clamp(56px, 8vw, 96px) 0;
}

.jcdm-home-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--jcdm-gap);
	/* Afastamento herdado do `.jcdm-home-section-head` para não somar vãos. */
	margin-top: 0;
	/* Reset defensivo: tema/Elementor costumam injetar padding/list-style em ul. */
	padding: 0;
	list-style: none;
}

.jcdm-home-step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--jcdm-border);
	border-radius: var(--jcdm-radius);
	padding: 36px 30px 32px;
	min-height: 100%;
	box-sizing: border-box;
	box-shadow: 0 8px 26px rgba(18, 34, 53, 0.05);
}

/*
 * Reforço de espaçamento interno dos cards de etapa.
 * Mesmo motivo dos benefícios: o padding/margin do tema e do Elementor
 * entra depois na cascata. Escopo `.jcdm-home` + `!important` garante
 * o respiro sem vazar para o resto do site.
 */
.jcdm-home .jcdm-home-step {
	padding: 36px 30px 32px !important;
}

.jcdm-home .jcdm-home-step__icon {
	margin: 0 56px 22px 0 !important;
}

.jcdm-home .jcdm-home-step__title {
	margin: 0 0 12px !important;
}

.jcdm-home .jcdm-home-step__text {
	margin: 0 !important;
}

.jcdm-home-step__number {
	position: absolute;
	top: 22px;
	right: 22px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--jcdm-red);
	color: #fff;
	font-weight: 800;
	font-size: 1.05rem;
}

.jcdm-home-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 14px;
	background: rgba(255, 37, 45, 0.1);
	color: var(--jcdm-red);
	margin: 0 56px 22px 0;
}

.jcdm-home-step__title {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--jcdm-text-dark);
	margin: 0 0 12px;
}

.jcdm-home-step__text {
	color: var(--jcdm-text-muted);
	font-size: 0.98rem;
	line-height: 1.7;
	margin: 0;
}

.jcdm-home-how__note {
	margin: 28px auto 0;
	max-width: 620px;
	text-align: center;
	font-size: 0.82rem;
	line-height: 1.5;
	color: #718096;
	padding: 16px 20px;
	border-radius: 10px;
	background: #fff;
	border: 1px dashed var(--jcdm-border);
	box-sizing: border-box;
}

/*
 * Reforço da nota da seção "Como funciona".
 * Tema/Elementor aplicam margem em `p`; escopo `.jcdm-home` preserva o
 * respiro entre os cards de etapa e a nota.
 */
.jcdm-home .jcdm-home-how__note {
	margin: 28px auto 0 !important;
	padding: 16px 20px !important;
}

/* -------------------------------------------------------------------------
   9. Sobre o especialista (Seção 5)
   ------------------------------------------------------------------------- */
.jcdm-home-about {
	background: var(--jcdm-bg-dark);
	padding: clamp(56px, 8vw, 96px) 0;
}

.jcdm-home-about__inner {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: center;
	gap: 56px;
}

.jcdm-home-photo--portrait {
	min-height: 460px;
	border-radius: 22px;
}

.jcdm-home-about__text {
	color: #C7D4DD;
	font-size: 1.05rem;
	margin-bottom: 16px;
}

.jcdm-home-about .jcdm-home__text-muted {
	color: var(--jcdm-text-muted);
	font-size: 1rem;
	margin-bottom: 28px;
}

/*
 * Reforço de espaçamento da seção "Sobre".
 * Tema/Elementor aplicam margin em `p`; escopo `.jcdm-home` mantém o ritmo.
 */
.jcdm-home .jcdm-home-about__text {
	margin: 0 0 16px !important;
}

.jcdm-home .jcdm-home-about .jcdm-home__text-muted {
	margin: 0 0 28px !important;
}

.jcdm-home-award {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	border-radius: var(--jcdm-radius);
	background: rgba(255, 37, 45, 0.08);
	border: 1px solid rgba(255, 37, 45, 0.28);
	max-width: 460px;
}

.jcdm-home-award__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgba(255, 37, 45, 0.14);
	color: var(--jcdm-red);
}

.jcdm-home-award__body {
	display: flex;
	flex-direction: column;
}

.jcdm-home-award__title {
	font-weight: 700;
	color: var(--jcdm-text-light);
}

.jcdm-home-award__subtitle {
	font-size: 0.88rem;
	color: var(--jcdm-text-muted);
}

/* -------------------------------------------------------------------------
   10. Vídeos (Seção 6)
   ------------------------------------------------------------------------- */
.jcdm-home-videos {
	background: var(--jcdm-light);
	padding: clamp(56px, 8vw, 96px) 0;
}

.jcdm-home-videos__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--jcdm-gap);
	/* Afastamento herdado do `.jcdm-home-section-head` para não somar vãos. */
	margin-top: 0;
	/* Reset defensivo: tema/Elementor costumam injetar padding/list-style em ul. */
	padding: 0;
	list-style: none;
}

.jcdm-home-video {
	background: #fff;
	border: 1px solid var(--jcdm-border);
	border-radius: var(--jcdm-radius);
	overflow: hidden;
	box-shadow: 0 8px 26px rgba(18, 34, 53, 0.05);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jcdm-home-video:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(18, 34, 53, 0.1);
}

.jcdm-home-video__thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	padding: 20px;
	background: linear-gradient(150deg, #0F202B, #122235);
	color: #fff;
}

.jcdm-home-video__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--jcdm-red);
	color: #fff;
	box-shadow: 0 8px 20px rgba(255, 37, 45, 0.35);
}

.jcdm-home-video__thumb-title {
	position: absolute;
	bottom: 14px;
	left: 14px;
	right: 14px;
	font-weight: 700;
	font-size: 0.82rem;
	line-height: 1.3;
	color: #fff;
}

.jcdm-home-video__body {
	padding: 18px;
}

.jcdm-home-video__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--jcdm-text-dark);
	margin: 0 0 6px;
}

.jcdm-home-video__text {
	font-size: 0.88rem;
	color: var(--jcdm-text-muted);
	margin: 0;
}

/*
 * Reforço de espaçamento dos cards de vídeo.
 * Tema/Elementor injetam padding em `li` e margin em `h3`/`p`.
 * Escopo `.jcdm-home` + `!important`, sem vazar para o site.
 */
.jcdm-home .jcdm-home-video {
	box-sizing: border-box;
	height: 100%;
}

.jcdm-home .jcdm-home-video__body {
	padding: 18px !important;
}

.jcdm-home .jcdm-home-video__title {
	margin: 0 0 6px !important;
}

.jcdm-home .jcdm-home-video__text {
	margin: 0 !important;
}

.jcdm-home-videos__cta {
	margin-top: 40px;
	text-align: center;
}

/* -------------------------------------------------------------------------
   11. Instagram (Seção 7)
   ------------------------------------------------------------------------- */
.jcdm-home-instagram {
	background: var(--jcdm-light);
	padding: clamp(48px, 6vw, 72px) 0;
}

.jcdm-home-instagram__inner {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: 48px;
}

.jcdm-home-instagram__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
	color: #fff;
	margin-bottom: 18px;
}

.jcdm-home-instagram__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--jcdm-text-dark);
	margin-bottom: 10px;
}

.jcdm-home-instagram__text {
	color: var(--jcdm-text-muted);
	margin-bottom: 22px;
	max-width: 420px;
}

.jcdm-home-instagram__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	/* Reset defensivo: tema/Elementor costumam injetar padding/list-style em ul. */
	padding: 0;
	list-style: none;
}

.jcdm-home-instagram__item {
	aspect-ratio: 1;
	border-radius: 50%;
	background: linear-gradient(150deg, #e8eef3, #d7e0e8);
	border: 1px solid var(--jcdm-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--jcdm-text-muted);
	overflow: hidden;
	position: relative;
}

.jcdm-home-instagram__item::before {
	content: "";
	position: absolute;
	width: 42%;
	height: 42%;
	border-radius: 8px;
	border: 2px solid rgba(18, 34, 53, 0.18);
}

.jcdm-home-instagram__item-index {
	position: absolute;
	top: 4px;
	right: 8px;
	font-size: 0.6rem;
	font-weight: 700;
	opacity: 0.5;
}

/*
 * Feed real do Instagram (quando um plugin de feed está ativo).
 * Centraliza e limita a largura; o layout interno continua sendo
 * controlado pelo próprio plugin de feed.
 */
.jcdm-home-instagram__feed {
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	overflow: hidden;
}

.jcdm-home-instagram__feed > * {
	margin-inline: auto;
}

.jcdm-home-instagram__feed img {
	max-width: 100%;
	height: auto;
}

/* -------------------------------------------------------------------------
   12. Depoimentos (Seção 8)
   ------------------------------------------------------------------------- */
.jcdm-home-testimonials {
	background: var(--jcdm-bg-dark);
	padding: clamp(56px, 8vw, 96px) 0;
}

.jcdm-home-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--jcdm-gap);
	/*
	 * O afastamento do cabeçalho de seção já vem de `.jcdm-home-section-head`
	 * (`margin-bottom: 40px`). Repetir aqui somaria os dois valores e abriria
	 * um vão excessivo antes dos cards.
	 */
	margin-top: 0;
	/* Reset defensivo: tema/Elementor costumam injetar padding/list-style em ul. */
	padding: 0;
	list-style: none;
}

.jcdm-home-testimonial {
	position: relative;
	background: var(--jcdm-bg-dark-2);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--jcdm-radius);
	padding: 30px 28px;
	box-sizing: border-box;
	height: 100%;
}

/*
 * Reforço de espaçamento dos depoimentos.
 *
 * O tema aplica margin default em `blockquote` (~1em nas laterais) e em `p`,
 * e o Elementor entra depois do plugin na cascata. Escopo `.jcdm-home`
 * + `!important` garante o alinhamento interno sem vazar para o site.
 */
.jcdm-home .jcdm-home-testimonial {
	padding: 30px 28px !important;
}

.jcdm-home .jcdm-home-testimonial__quote {
	margin: 0 0 22px !important;
}

.jcdm-home .jcdm-home-testimonial__quote p {
	margin: 0 !important;
}

.jcdm-home .jcdm-home-testimonial__author {
	margin: 0 !important;
}

.jcdm-home .jcdm-home-testimonials__note {
	margin: 36px auto 0 !important;
}

.jcdm-home-testimonial__quote-mark {
	position: absolute;
	top: 14px;
	right: 20px;
	font-size: 3.4rem;
	line-height: 1;
	color: rgba(255, 37, 45, 0.35);
	font-family: Georgia, serif;
}

.jcdm-home-testimonial__quote {
	font-size: 1.02rem;
	color: #D6E0E7;
	margin: 0 0 22px;
}

.jcdm-home-testimonial__author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.jcdm-home-testimonial__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--jcdm-text-muted);
}

.jcdm-home-testimonial__author-name {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--jcdm-text-muted);
}

.jcdm-home-testimonials__note {
	margin: 36px auto 0;
	max-width: 560px;
	text-align: center;
	font-size: 0.8rem;
	color: var(--jcdm-text-muted);
}

/* -------------------------------------------------------------------------
   13. CTA final (Seção 9)
   ------------------------------------------------------------------------- */
.jcdm-home-cta {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #7d0d12, #C01218 60%, #8c1115);
	color: #fff;
	padding: clamp(56px, 8vw, 96px) 0;
}

.jcdm-home-cta__shapes span {
	position: absolute;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.12);
}

.jcdm-home-cta__shapes span:nth-child(1) {
	width: 320px;
	height: 320px;
	top: -120px;
	right: -80px;
}

.jcdm-home-cta__shapes span:nth-child(2) {
	width: 200px;
	height: 200px;
	bottom: -80px;
	left: -60px;
}

.jcdm-home-cta__shapes span:nth-child(3) {
	width: 120px;
	height: 120px;
	top: 40%;
	right: 22%;
	border-style: dashed;
}

.jcdm-home-cta__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 48px;
}

.jcdm-home-cta .jcdm-home-eyebrow {
	color: #fff;
}

.jcdm-home-cta .jcdm-home-eyebrow::before {
	background: #fff;
}

.jcdm-home-cta__title {
	font-size: clamp(1.8rem, 4.5vw, 2.8rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 18px;
}

.jcdm-home-cta__text {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.88);
	max-width: 520px;
	margin-bottom: 28px;
}

.jcdm-home-cta__note {
	margin-top: 16px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.78);
}

/*
 * Reforço de espaçamento do CTA final.
 * Tema/Elementor aplicam margin em `h2`/`p`; escopo `.jcdm-home` mantém o ritmo.
 */
.jcdm-home .jcdm-home-cta__title {
	margin: 0 0 18px !important;
}

.jcdm-home .jcdm-home-cta__text {
	margin: 0 0 28px !important;
}

.jcdm-home .jcdm-home-cta__note {
	margin: 16px 0 0 !important;
}

.jcdm-home-photo--cta {
	min-height: 320px;
	background: rgba(0, 0, 0, 0.18);
	border-color: rgba(255, 255, 255, 0.16);
}

.jcdm-home-photo--cta .jcdm-home-photo__label,
.jcdm-home-photo--cta .jcdm-home-photo__hint {
	color: #fff;
}

.jcdm-home-photo--cta .jcdm-home-photo__badge {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

/* -------------------------------------------------------------------------
   14. Rodapé (Seção 10)
   ------------------------------------------------------------------------- */
.jcdm-home-footer {
	background: #06121a;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: clamp(48px, 6vw, 72px) 0 32px;
}

.jcdm-home-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
}

.jcdm-home-footer__brand {
	display: block;
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--jcdm-red);
	margin-bottom: 4px;
}

.jcdm-home-footer__tagline {
	color: var(--jcdm-text-muted);
	font-size: 0.9rem;
}

.jcdm-home-footer__heading {
	font-size: 1rem;
	font-weight: 700;
	color: var(--jcdm-text-light);
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.jcdm-home-footer__list,
.jcdm-home-footer__nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.jcdm-home-footer__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1.4;
}

.jcdm-home-footer__icon {
	color: var(--jcdm-red);
}

.jcdm-home-footer__list a,
.jcdm-home-footer__nav a,
.jcdm-home-footer__list span {
	color: #C7D4DD;
	font-size: 0.92rem;
}

.jcdm-home-footer__list a:hover,
.jcdm-home-footer__nav a:hover {
	color: var(--jcdm-red);
}

.jcdm-home-footer__pending {
	font-style: normal;
	font-size: 0.75rem;
	color: var(--jcdm-text-muted);
}

.jcdm-home-footer__social {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.jcdm-home-footer__social a,
.jcdm-home-footer__social-pending {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #C7D4DD;
	font-size: 0.92rem;
}

.jcdm-home-footer__social a:hover {
	color: var(--jcdm-red);
}

.jcdm-home-footer__social-icon {
	color: var(--jcdm-red);
}

.jcdm-home-footer__bottom {
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jcdm-home-footer__copyright {
	text-align: center;
	font-size: 0.82rem;
	color: var(--jcdm-text-muted);
}

/* -------------------------------------------------------------------------
   15. Responsividade
   ------------------------------------------------------------------------- */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
	.jcdm-home-hero__inner,
	.jcdm-home-about__inner,
	.jcdm-home-cta__inner {
		grid-template-columns: 1fr;
	}

	.jcdm-home-benefits__grid,
	.jcdm-home-steps,
	.jcdm-home-testimonials__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jcdm-home-videos__grid {
		grid-template-columns: 1fr 1fr;
	}

	.jcdm-home-instagram__inner {
		grid-template-columns: 1fr;
	}

	.jcdm-home-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Menu mobile (<= 1024px) */
@media (max-width: 1024px) {
	.jcdm-home-nav-toggle {
		display: flex;
	}

	/* Reativa o toggle dentro do breakpoint mobile, vencendo a regra do desktop. */
	.jcdm-home .jcdm-home-nav-toggle {
		display: flex !important;
	}

	/*
	 * No mobile o menu vira um painel suspenso. Escondido por padrão
	 * (`max-height: 0`) e revelado pela classe `.is-open` aplicada via JS.
	 */
	.jcdm-home .jcdm-home-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--jcdm-bg-dark);
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		padding: 16px 24px 24px;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		pointer-events: none;
		transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.28s ease;
	}

	.jcdm-home .jcdm-home-nav.is-open {
		max-height: 520px;
		opacity: 1;
		pointer-events: auto;
		padding: 16px 24px 24px;
	}

	.jcdm-home .jcdm-home-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin-bottom: 16px;
		padding: 0;
		list-style: none;
	}

	.jcdm-home .jcdm-home-nav__link {
		display: block;
		padding: 12px 14px;
		font-size: 1rem;
	}

	.jcdm-home .jcdm-home-nav__cta {
		width: 100%;
	}

	.jcdm-home .jcdm-home-nav__cta .jcdm-home-btn {
		width: 100%;
	}
}

/* Celular (<= 640px) */
@media (max-width: 640px) {
	.jcdm-home-container {
		padding-inline: 18px;
	}

	.jcdm-home-benefits__grid,
	.jcdm-home-steps,
	.jcdm-home-testimonials__grid,
	.jcdm-home-videos__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.jcdm-home .jcdm-home-benefit {
		padding: 28px 24px 30px !important;
	}

	.jcdm-home .jcdm-home-step {
		padding: 30px 26px !important;
	}

	.jcdm-home-how__note {
		margin-top: 20px;
	}

	.jcdm-home-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.jcdm-home-photo--portrait {
		min-height: 340px;
	}

	.jcdm-home-photo--cta {
		min-height: 240px;
	}

	.jcdm-home-instagram__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.jcdm-home-btn--lg {
		width: 100%;
	}

	.jcdm-home-hero__actions {
		align-items: stretch;
	}

	.jcdm-home-hero {
		/* Mais altura no celular para não cortar o rosto do especialista */
		background-position: center 35%;
	}

	.jcdm-home-simulate-link {
		justify-content: center;
	}
}

/* Telas muito estreitas (<= 360px) */
@media (max-width: 360px) {
	.jcdm-home-container {
		padding-inline: 14px;
	}

	.jcdm-home-brand__name {
		font-size: 1rem;
	}

	.jcdm-home-brand__mark {
		width: 38px;
		height: 38px;
	}

	.jcdm-home-instagram__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Acessibilidade: respeitar usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
	.jcdm-home *,
	.jcdm-home *::before,
	.jcdm-home *::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}
