.tac7-conteudo {
	--tac7-navy: #3D405B;
	--tac7-navy-dark: #2B2E44;
	--tac7-teal: #2A96A3;
	--tac7-teal-dark: #217e89;
	--tac7-ink: #11181C;
	--tac7-muted: #5f676d;
	--tac7-bg-soft: #f1f3f5;
	--tac7-white: #FFFFFF;
	--tac7-danger: #E53935;

	color: var(--tac7-ink);
	font-family: inherit;
	box-sizing: border-box;
}

.tac7-conteudo *,
.tac7-conteudo *::before,
.tac7-conteudo *::after {
	box-sizing: border-box;
}

.tac7-conteudo img {
	max-width: 100%;
	height: auto;
	display: block;
}

.tac7-conteudo a:focus-visible,
.tac7-conteudo button:focus-visible,
.tac7-conteudo input:focus-visible,
.tac7-conteudo select:focus-visible,
.tac7-conteudo textarea:focus-visible {
	outline: 3px solid var(--tac7-teal);
	outline-offset: 2px;
}

/* O fundo de cada seção precisa ocupar a largura inteira disponível (faixa), não ficar restrito
   a uma caixa de 1180px "flutuando" no centro — por isso o container usa padding-inline em vez
   de max-width + margin:auto. O conteúdo continua visualmente alinhado aos mesmos ~1180px. */
.tac7-ct-section {
	padding-block: 88px;
	padding-inline: max(20px, calc((100% - 1180px) / 2));
}

/* Alterna fundos muito discretos entre seções adjacentes para que cada bloco seja percebido
   como uma nova seção, sem depender de espaço vazio exagerado (usa as cores já existentes na
   paleta TAC7 — nenhuma cor nova foi introduzida). */
.tac7-ct-blog,
.tac7-ct-instagram,
.tac7-ct-youtube {
	background: var(--tac7-bg-soft);
}

.tac7-ct-section-head {
	max-width: 720px;
	margin: 0 auto 40px;
	text-align: center;
}

.tac7-ct-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tac7-teal-dark);
	background: rgba(42, 150, 163, 0.1);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.tac7-ct-section-title {
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.25;
	font-weight: 700;
	margin: 0 0 14px;
	color: var(--tac7-navy);
}

.tac7-ct-section-desc {
	font-size: 16px;
	line-height: 1.7;
	color: var(--tac7-muted);
	margin: 0;
}

.tac7-ct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.tac7-ct-btn--primary {
	background: var(--tac7-teal);
	color: var(--tac7-white);
}
.tac7-ct-btn--primary:hover { background: var(--tac7-teal-dark); color: var(--tac7-white); }

.tac7-ct-btn--secondary {
	background: transparent;
	color: var(--tac7-white);
	border-color: rgba(255,255,255,0.6);
}
.tac7-ct-btn--secondary:hover { background: rgba(255,255,255,0.12); color: var(--tac7-white); }

.tac7-ct-btn--outline {
	background: transparent;
	color: var(--tac7-navy);
	border-color: var(--tac7-navy);
}
.tac7-ct-btn--outline:hover { background: var(--tac7-navy); color: var(--tac7-white); }

.tac7-ct-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px;
}

.tac7-ct-section-footer {
	text-align: center;
	margin-top: 36px;
}

/* ---------- Seção 1: Newsletter ---------- */

.tac7-ct-newsletter {
	max-width: none;
	background: linear-gradient(135deg, var(--tac7-navy) 0%, var(--tac7-navy-dark) 100%);
	border-radius: 20px;
	position: relative;
	overflow: hidden;
	padding: 72px 20px;
}

.tac7-ct-newsletter::before {
	content: "";
	position: absolute;
	top: -120px;
	right: -120px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(42,150,163,0.35) 0%, rgba(42,150,163,0) 70%);
}

.tac7-ct-newsletter-inner {
	position: relative;
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.tac7-ct-newsletter .tac7-ct-badge {
	background: rgba(255,255,255,0.12);
	color: var(--tac7-white);
}

.tac7-ct-newsletter-title {
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.2;
	font-weight: 700;
	color: var(--tac7-white);
	margin: 0 0 18px;
}

.tac7-ct-newsletter-desc {
	font-size: 17px;
	line-height: 1.75;
	color: rgba(255,255,255,0.82);
	margin: 0 auto;
	max-width: 620px;
}

.tac7-ct-highlights {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 24px;
}

.tac7-ct-highlights li {
	color: var(--tac7-white);
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}

.tac7-ct-highlights li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tac7-teal);
	flex-shrink: 0;
}

.tac7-ct-newsletter .tac7-ct-cta-row {
	justify-content: center;
}

/* ---------- Seção 2: Blog ---------- */

.tac7-ct-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.tac7-ct-blog-card {
	display: flex;
	flex-direction: column;
	background: var(--tac7-white);
	border: 1px solid #e7e9ec;
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
}

.tac7-ct-blog-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--tac7-bg-soft);
	overflow: hidden;
}

.tac7-ct-blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tac7-ct-blog-thumb-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tac7-navy);
	opacity: 0.35;
}

.tac7-ct-blog-body {
	padding: 20px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.tac7-ct-blog-date {
	font-size: 12px;
	color: var(--tac7-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tac7-ct-blog-title {
	font-size: 18px;
	line-height: 1.4;
	margin: 8px 0 10px;
}

.tac7-ct-blog-title a {
	color: var(--tac7-navy);
	text-decoration: none;
}
.tac7-ct-blog-title a:hover { color: var(--tac7-teal-dark); }

.tac7-ct-blog-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: var(--tac7-muted);
	margin: 0 0 16px;
	flex: 1;
}

.tac7-ct-blog-link {
	font-size: 14px;
	font-weight: 700;
	color: var(--tac7-teal-dark);
	text-decoration: none;
}
.tac7-ct-blog-link:hover { text-decoration: underline; }

/* ---------- Seção 3: Instagram ---------- */

.tac7-ct-instagram {
	text-align: center;
}

.tac7-ct-instagram-inner {
	max-width: 640px;
	margin: 0 auto;
}

.tac7-ct-instagram-visual {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 28px 0 12px;
}

.tac7-ct-ig-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--tac7-teal), var(--tac7-navy));
}
.tac7-ct-ig-dot:nth-child(2) { opacity: 0.7; transform: scale(0.85); }
.tac7-ct-ig-dot:nth-child(3) { opacity: 0.45; transform: scale(0.7); }

.tac7-ct-instagram-handle {
	font-weight: 700;
	color: var(--tac7-navy);
	margin: 0 0 28px;
}

.tac7-ct-instagram-embed {
	margin: 24px 0;
	overflow: hidden;
	border-radius: 16px;
}

.tac7-ct-instagram .tac7-ct-btn {
	margin-top: 8px;
}

/* ---------- Seção 4: YouTube ---------- */

.tac7-ct-yt-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.tac7-ct-yt-card {
	margin: 0;
	background: var(--tac7-white);
	border: 1px solid #e7e9ec;
	border-radius: 16px;
	overflow: hidden;
}

.tac7-ct-yt-thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 0;
	background: var(--tac7-bg-soft);
	cursor: pointer;
	overflow: hidden;
}

.tac7-ct-yt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tac7-ct-yt-thumb iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.tac7-ct-yt-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--tac7-white);
	background: rgba(17,24,28,0.25);
}

.tac7-ct-yt-play::after {
	content: "";
	position: absolute;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(17,24,28,0.55);
	z-index: -1;
}

.tac7-ct-yt-card figcaption {
	padding: 16px 18px 20px;
}

.tac7-ct-yt-card time {
	font-size: 12px;
	color: var(--tac7-muted);
	text-transform: uppercase;
}

.tac7-ct-yt-card h3 {
	font-size: 16px;
	line-height: 1.4;
	margin: 8px 0 0;
}

.tac7-ct-yt-card h3 a {
	color: var(--tac7-navy);
	text-decoration: none;
}
.tac7-ct-yt-card h3 a:hover { color: var(--tac7-teal-dark); }

/* ---------- Seção 5: Formulário ---------- */

.tac7-ct-form-body {
	max-width: 720px;
	margin: 0 auto;
}

.tac7-ct-alert {
	max-width: 720px;
	margin: 0 auto 24px;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 15px;
}

.tac7-ct-alert--success {
	background: #e7f6ec;
	border: 1px solid #34a853;
	color: #1e6b34;
}

.tac7-ct-alert--error {
	background: #fdecea;
	border: 1px solid var(--tac7-danger);
	color: #8a231c;
}

.tac7-ct-native-form {
	background: var(--tac7-bg-soft);
	border: 1px solid #e2e4e7;
	border-radius: 16px;
	padding: 32px;
}

.tac7-ct-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tac7-ct-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 20px;
}

.tac7-ct-field label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: var(--tac7-navy);
}

.tac7-ct-field input,
.tac7-ct-field select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 15px;
	background: var(--tac7-white);
	color: var(--tac7-ink);
}

.tac7-ct-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--tac7-muted);
	margin-top: 18px;
}

.tac7-ct-checkbox input {
	margin-top: 3px;
	flex-shrink: 0;
}

.tac7-ct-checkbox a {
	color: var(--tac7-teal-dark);
}

.tac7-ct-native-form .tac7-ct-btn {
	margin-top: 26px;
	width: 100%;
}

.tac7-ct-admin-warning {
	background: #fff8e1;
	border: 1px solid var(--tac7-danger);
	color: #7a4a00;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
}

.tac7-ct-empty {
	text-align: center;
	color: var(--tac7-muted);
}

/* ---------- Componente: carrossel reutilizável (Hotmart e Materiais) ---------- */

.tac7-ct-carousel {
	position: relative;
	padding: 0 44px;
}

.tac7-ct-carousel-track {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 4px 4px 12px;
	margin: -4px -4px -12px;
	scrollbar-width: thin;
}

.tac7-ct-carousel-track:focus-visible {
	outline: 3px solid var(--tac7-teal);
	outline-offset: 4px;
}

.tac7-ct-carousel-item {
	flex: 0 0 calc((100% - 28px * 2) / 3);
	scroll-snap-align: start;
	min-width: 0;
}

.tac7-ct-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #e7e9ec;
	background: var(--tac7-white);
	color: var(--tac7-navy);
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
	z-index: 2;
}

.tac7-ct-carousel-arrow--prev { left: 0; }
.tac7-ct-carousel-arrow--next { right: 0; }

.tac7-ct-carousel-arrow:hover:not(:disabled) {
	border-color: var(--tac7-teal);
	color: var(--tac7-teal-dark);
}

.tac7-ct-carousel-arrow:disabled {
	opacity: .35;
	cursor: default;
}

/* ---------- Cards genéricos (Hotmart e Materiais) ---------- */

.tac7-ct-hotmart-card,
.tac7-ct-material-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--tac7-white);
	border: 1px solid #e7e9ec;
	border-radius: 20px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.tac7-ct-hotmart-card:hover,
.tac7-ct-material-card:hover {
	box-shadow: 0 8px 24px rgba(17, 24, 28, 0.08);
	transform: translateY(-2px);
}

.tac7-ct-card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--tac7-bg-soft);
	overflow: hidden;
}

.tac7-ct-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tac7-ct-card-media-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tac7-navy);
	opacity: .35;
}

.tac7-ct-material-type {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(17, 24, 28, 0.72);
	color: var(--tac7-white);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 999px;
	z-index: 1;
}

.tac7-ct-card-body {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.tac7-ct-card-title {
	font-size: 17px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--tac7-navy);
	margin: 0 0 8px;
}

.tac7-ct-card-text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--tac7-muted);
	margin: 0 0 18px;
	flex: 1;
}

.tac7-ct-card-cta {
	align-self: flex-start;
	margin-top: auto;
}

/* ---------- Modal de download ---------- */

.tac7-ct-modal[hidden] {
	display: none;
}

.tac7-ct-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.tac7-ct-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 28, 0.6);
}

.tac7-ct-modal-dialog {
	position: relative;
	background: var(--tac7-white);
	border-radius: 20px;
	width: 100%;
	max-width: 720px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(17, 24, 28, 0.25);
}

.tac7-ct-modal-body {
	padding: 40px;
}

.tac7-ct-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e7e9ec;
	background: var(--tac7-white);
	color: var(--tac7-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 1;
}

.tac7-ct-modal-close:hover {
	border-color: var(--tac7-teal);
	color: var(--tac7-teal-dark);
}

.tac7-ct-modal-material {
	font-size: 14px;
	font-weight: 600;
	color: var(--tac7-teal-dark);
	margin: -6px 0 18px;
}

.tac7-ct-modal-intro {
	font-size: 15px;
	color: var(--tac7-muted);
	margin: 0 0 20px;
}

.tac7-ct-modal .tac7-ct-native-form {
	padding: 0;
	background: none;
	border: none;
}

.tac7-ct-modal-success {
	text-align: center;
	padding: 12px 0 4px;
}

.tac7-ct-modal-success .tac7-ct-btn {
	margin-top: 16px;
}

.tac7-ct-submit-btn-loading {
	opacity: .75;
	cursor: default;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1024px) {
	.tac7-ct-section {
		padding: 72px 20px;
	}
	.tac7-ct-carousel-item {
		flex-basis: calc((100% - 28px) / 2);
	}
}

@media (max-width: 960px) {
	.tac7-ct-blog-grid,
	.tac7-ct-yt-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.tac7-ct-section {
		padding: 56px 16px;
	}
	.tac7-ct-blog-grid,
	.tac7-ct-yt-grid {
		grid-template-columns: 1fr;
	}
	.tac7-ct-grid {
		grid-template-columns: 1fr;
	}
	.tac7-ct-cta-row {
		flex-direction: column;
	}
	.tac7-ct-cta-row .tac7-ct-btn {
		width: 100%;
	}
	.tac7-ct-native-form {
		padding: 22px;
	}

	.tac7-ct-carousel {
		padding: 0 40px;
	}
	.tac7-ct-carousel-item {
		flex-basis: 100%;
	}
	.tac7-ct-carousel-arrow {
		width: 36px;
		height: 36px;
		font-size: 18px;
	}
	.tac7-ct-modal {
		padding: 12px;
	}
	.tac7-ct-modal-body {
		padding: 28px 20px;
	}
}


.tac7-ct-instagram {
    display: none;
}
