﻿/* ==========================================================================
   Elite Two - CSS principal
   ========================================================================== */

:root {
	--elite-primary: #2563eb;
	--elite-primary-dark: #1d4ed8;
	--elite-primary-light: #eff6ff;
	--elite-text: #334155;
	--elite-heading: #0f172a;
	--elite-bg: #ffffff;
	--elite-light: #f1f5f9;
	--elite-border: #e2e8f0;
	--elite-header-bg: #ffffff;
	--elite-header-text: #0f172a;
	--elite-footer-bg: #1e293b;
	--elite-footer-text: #cbd5e1;
	--elite-footer-heading: #f8fafc;
	--elite-radius: 10px;
	--elite-radius-sm: 6px;
	--elite-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
	--elite-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.14);
	--elite-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--elite-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--elite-container: 1170px;
}

/* ------------------------------------------------------------
   Reset e base
   ------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--elite-font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--elite-text);
	background: var(--elite-light);
}

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

a {
	color: var(--elite-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--elite-primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--elite-font-heading);
	color: var(--elite-heading);
	line-height: 1.3;
	margin: 0 0 0.6em;
}

h1.entry-title,
.page-title {
	font-size: 2rem;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.container {
	max-width: var(--elite-container);
	margin: 0 auto;
	padding: 0 24px;
}

.site-content {
	padding: 48px 0 64px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--elite-heading);
	color: #fff;
	padding: 10px 16px;
	z-index: 999;
}

.skip-link:focus {
	left: 0;
}

/* ------------------------------------------------------------
   Layout de conteudo
   ------------------------------------------------------------ */

.content-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
}

.site-main {
	min-width: 0;
}

body.sidebar-right .content-inner {
	grid-template-columns: minmax(0, 1fr) 340px;
}

body.sidebar-left .content-inner {
	grid-template-columns: 340px minmax(0, 1fr);
}

body.sidebar-left .content-inner > .site-main {
	order: 2;
}

body.sidebar-left .content-inner > .widget-area {
	order: 1;
}

/* ------------------------------------------------------------
   Topbar
   ------------------------------------------------------------ */

.topbar {
	background: var(--elite-heading);
	color: #fff;
	font-size: 0.85rem;
	padding: 8px 0;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.topbar .social-links {
	display: flex;
	gap: 4px;
}

.topbar .social-link {
	color: #cbd5e1;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: color 0.2s ease, background 0.2s ease;
}

.topbar .social-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

/* ------------------------------------------------------------
   Cabecalho
   ------------------------------------------------------------ */

.site-header {
	background: var(--elite-header-bg);
	border-bottom: 1px solid var(--elite-border);
	position: relative;
	z-index: 100;
}

.site-header.is-sticky {
	position: sticky;
	top: 0;
}

.site-header.is-sticky.is-scrolled {
	box-shadow: var(--elite-shadow);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.site-branding .site-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0;
}

.site-branding .site-title a {
	color: var(--elite-heading);
}

.site-branding .site-description {
	margin: 2px 0 0;
	font-size: 0.85rem;
	color: #64748b;
}

.custom-logo {
	max-height: 64px;
	width: auto;
}

/* ------------------------------------------------------------
   Navegacao
   ------------------------------------------------------------ */

.main-navigation {
	display: flex;
	align-items: center;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
}

.main-navigation a {
	display: block;
	padding: 10px 14px;
	color: var(--elite-heading);
	font-weight: 500;
	font-size: 0.95rem;
	border-radius: var(--elite-radius-sm);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	color: var(--elite-primary);
	background: var(--elite-primary-light);
}

.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--elite-header-bg);
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius-sm);
	box-shadow: var(--elite-shadow);
	padding: 8px 0;
	display: none;
	z-index: 50;
}

.main-navigation li {
	position: relative;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	display: block;
}

.main-navigation .sub-menu a {
	padding: 8px 16px;
	border-radius: 0;
}

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 10px;
}

.menu-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--elite-heading);
	margin: 5px 0;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   Acoes do cabecalho: carrinho e busca
   ------------------------------------------------------------ */

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cart-link,
.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--elite-heading);
	background: var(--elite-light);
	position: relative;
	transition: background 0.2s ease, color 0.2s ease;
}

.cart-link:hover,
.search-toggle:hover {
	background: var(--elite-primary);
	color: #fff;
}

.cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	background: var(--elite-primary);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
	min-width: 18px;
	height: 18px;
	line-height: 18px;
	text-align: center;
	border-radius: 50%;
	padding: 0 4px;
}

.search-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.9);
	z-index: 200;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.search-modal.is-open {
	display: flex;
}

.search-modal-inner {
	width: 100%;
	max-width: 560px;
	position: relative;
}

.search-modal-close {
	position: absolute;
	top: -52px;
	right: 0;
	background: none;
	border: 0;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	line-height: 1;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form .search-field {
	flex: 1;
	padding: 14px 18px;
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius);
	font-size: 1rem;
	background: #fff;
	min-width: 0;
}

.search-modal .search-field {
	padding: 18px;
	font-size: 1.1rem;
	border: 0;
}

.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--elite-primary);
	color: #fff;
	border: 0;
	border-radius: var(--elite-radius);
	padding: 0 22px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.search-submit:hover {
	background: var(--elite-primary-dark);
}

/* ------------------------------------------------------------
   Cabecalhos de pagina (archive, search)
   ------------------------------------------------------------ */

.page-header {
	margin-bottom: 36px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--elite-border);
}

.page-header .page-title {
	font-size: 1.9rem;
	margin: 0;
}

.archive-description {
	color: #64748b;
	margin-top: 8px;
}

/* ------------------------------------------------------------
   Listagem de posts
   ------------------------------------------------------------ */

.posts-wrap {
	display: grid;
	gap: 32px;
}

body.posts-layout-grid .posts-wrap {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card {
	background: var(--elite-bg);
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--elite-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--elite-shadow-lg);
}

.post-card .post-thumbnail img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

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

.entry-title {
	font-size: 1.35rem;
	margin: 0 0 10px;
}

.entry-title a {
	color: var(--elite-heading);
}

.entry-title a:hover {
	color: var(--elite-primary);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 0.82rem;
	color: #64748b;
	margin-bottom: 14px;
}

.entry-meta a {
	color: #64748b;
}

.entry-meta a:hover {
	color: var(--elite-primary);
}

.entry-summary {
	margin-bottom: 20px;
	flex: 1;
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 0.9rem;
}

.read-more svg {
	transition: transform 0.2s ease;
}

.read-more:hover svg {
	transform: translateX(4px);
}

/* ------------------------------------------------------------
   Paginacao
   ------------------------------------------------------------ */

.pagination,
.posts-pagination {
	margin-top: 48px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius-sm);
	background: var(--elite-bg);
	color: var(--elite-heading);
	font-weight: 500;
}

.nav-links .page-numbers.current {
	background: var(--elite-primary);
	border-color: var(--elite-primary);
	color: #fff;
}

.nav-links .page-numbers:hover {
	border-color: var(--elite-primary);
	color: var(--elite-primary);
}

/* ------------------------------------------------------------
   Post individual
   ------------------------------------------------------------ */

.post-single,
.post-page {
	background: var(--elite-bg);
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius);
	box-shadow: var(--elite-shadow);
	padding: 40px;
}

.post-single .entry-header,
.post-page .entry-header {
	margin-bottom: 24px;
}

.post-single .post-thumbnail img,
.post-page .post-thumbnail img {
	width: 100%;
	border-radius: var(--elite-radius);
	margin-bottom: 24px;
}

.entry-content {
	line-height: 1.8;
}

.entry-content p {
	margin: 0 0 1.4em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 1.6em;
}

.entry-content a:not(.button):not(.wp-block-button__link) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content img,
.entry-content figure {
	margin: 1.5em 0;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 16px 24px;
	border-left: 4px solid var(--elite-primary);
	background: var(--elite-primary-light);
	border-radius: 0 var(--elite-radius-sm) var(--elite-radius-sm) 0;
	font-style: italic;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content code,
.entry-content kbd {
	background: var(--elite-light);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}

.entry-content pre {
	background: var(--elite-heading);
	color: #e2e8f0;
	padding: 20px;
	border-radius: var(--elite-radius);
	overflow-x: auto;
}

.entry-content pre code {
	background: none;
	padding: 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--elite-border);
	padding: 10px 14px;
	text-align: left;
}

.entry-content th {
	background: var(--elite-light);
}

.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content .wp-caption-text {
	font-size: 0.85rem;
	color: #64748b;
	text-align: center;
}

.entry-content .alignleft {
	float: left;
	margin-right: 24px;
}

.entry-content .alignright {
	float: right;
	margin-left: 24px;
}

.entry-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.page-links {
	margin-top: 24px;
	font-weight: 600;
}

.entry-footer {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--elite-border);
	font-size: 0.9rem;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.entry-footer .cat-links a,
.entry-footer .tags-links a {
	display: inline-block;
	padding: 4px 12px;
	margin: 2px 2px;
	background: var(--elite-light);
	border-radius: 20px;
	font-size: 0.82rem;
}

.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:hover {
	background: var(--elite-primary);
	color: #fff;
}

/* ------------------------------------------------------------
   Navegacao entre posts
   ------------------------------------------------------------ */

.post-navigation {
	margin-top: 40px;
}

.post-navigation .nav-links {
	justify-content: space-between;
	gap: 16px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	flex: 1;
	max-width: 48%;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a {
	display: block;
	background: var(--elite-bg);
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius);
	padding: 16px 20px;
	color: var(--elite-heading);
	transition: border-color 0.2s ease;
}

.post-navigation a:hover {
	border-color: var(--elite-primary);
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.8rem;
	color: #64748b;
	margin-bottom: 4px;
}

/* ------------------------------------------------------------
   Widgets
   ------------------------------------------------------------ */

.widget-area {
	min-width: 0;
}

.widget {
	background: var(--elite-bg);
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius);
	box-shadow: var(--elite-shadow);
	padding: 24px;
	margin-bottom: 24px;
}

.widget-title {
	font-size: 1.1rem;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--elite-primary);
	display: inline-block;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px dashed var(--elite-border);
}

.widget ul li:last-child {
	border-bottom: 0;
}

.widget ul ul {
	padding-left: 16px;
}

.widget ul li a {
	color: var(--elite-text);
}

.widget ul li a:hover {
	color: var(--elite-primary);
}

.widget select {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius-sm);
}

.widget .search-form .search-field {
	padding: 12px;
	border-radius: var(--elite-radius-sm);
}

.widget_tag_cloud a {
	display: inline-block;
	padding: 4px 12px;
	margin: 2px 2px;
	background: var(--elite-light);
	border-radius: 20px;
	font-size: 0.85rem !important;
	color: var(--elite-text);
}

.widget_tag_cloud a:hover {
	background: var(--elite-primary);
	color: #fff;
}

/* ------------------------------------------------------------
   Comentarios
   ------------------------------------------------------------ */

.comments-area {
	background: var(--elite-bg);
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius);
	box-shadow: var(--elite-shadow);
	padding: 40px;
	margin-top: 40px;
}

.comments-title {
	font-size: 1.4rem;
	margin: 0 0 24px;
}

.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.comment-list .comment {
	margin-bottom: 24px;
}

.comment-body {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 16px;
}

.comment-body .avatar {
	border-radius: 50%;
}

.comment-meta {
	font-size: 0.85rem;
	color: #64748b;
}

.comment-author .fn {
	font-weight: 600;
	color: var(--elite-heading);
	font-style: normal;
}

.comment-content {
	margin-top: 10px;
}

.comment-content p {
	margin: 0 0 1em;
}

.comment-content a {
	text-decoration: underline;
}

.reply a {
	font-size: 0.85rem;
	font-weight: 600;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 500;
	font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius-sm);
	background: var(--elite-light);
	margin-bottom: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus,
.search-field:focus {
	outline: 2px solid var(--elite-primary);
	outline-offset: 2px;
	border-color: var(--elite-primary);
}

.comment-form .submit {
	background: var(--elite-primary);
	color: #fff;
	border: 0;
	border-radius: var(--elite-radius);
	padding: 12px 28px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.comment-form .submit:hover {
	background: var(--elite-primary-dark);
}

/* ------------------------------------------------------------
   Pagina inicial: secoes
   ------------------------------------------------------------ */

.btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	border: 2px solid transparent;
	text-align: center;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--elite-primary);
	color: #fff;
}

.btn-primary:hover {
	background: var(--elite-primary-dark);
	color: #fff;
}

.btn-outline {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
}

.btn-outline:hover {
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.btn-light {
	background: #fff;
	color: var(--elite-primary-dark);
}

.btn-light:hover {
	background: var(--elite-light);
	color: var(--elite-primary-dark);
}

.front-hero {
	background: linear-gradient(135deg, var(--elite-primary) 0%, var(--elite-heading) 100%);
	color: #fff;
	text-align: center;
	padding: 96px 24px 84px;
	margin-top: -48px;
}

.hero-title {
	color: #fff;
	font-size: clamp(2rem, 5vw, 3.2rem);
	margin: 0 auto 16px;
	max-width: 800px;
}

.hero-subtitle {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.85);
	max-width: 640px;
	margin: 0 auto 36px;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.section-title {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	text-align: center;
	margin: 0 auto 12px;
	max-width: 760px;
}

.section-subtitle {
	color: #64748b;
	text-align: center;
	max-width: 560px;
	margin: 0 auto 48px;
	font-size: 1.05rem;
}

.front-features,
.front-testimonials {
	padding: 72px 0;
}

.front-features {
	background: var(--elite-bg);
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius);
	margin: 32px 0;
	box-shadow: var(--elite-shadow);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	padding: 0 32px 16px;
}

.feature-card {
	text-align: center;
	padding: 24px 16px;
	border-radius: var(--elite-radius);
	transition: background 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
	background: var(--elite-light);
	transform: translateY(-4px);
}

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--elite-primary-light);
	color: var(--elite-primary);
	margin-bottom: 18px;
}

.feature-title {
	font-size: 1.15rem;
	margin: 0 0 10px;
}

.feature-text {
	color: #64748b;
	font-size: 0.95rem;
	margin: 0;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.testimonial-card {
	margin: 0;
	background: var(--elite-bg);
	border: 1px solid var(--elite-border);
	border-radius: var(--elite-radius);
	box-shadow: var(--elite-shadow);
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
}

.testimonial-quote {
	font-size: 1rem;
	font-style: italic;
	color: var(--elite-text);
	flex: 1;
	margin: 0 0 24px;
}

.testimonial-author {
	display: flex;
	flex-direction: column;
}

.testimonial-name {
	font-weight: 600;
	color: var(--elite-heading);
}

.testimonial-role {
	font-size: 0.85rem;
	color: #64748b;
}

.front-cta {
	background: linear-gradient(135deg, var(--elite-primary) 0%, var(--elite-primary-dark) 100%);
	border-radius: var(--elite-radius);
	text-align: center;
	padding: 64px 32px;
	margin: 16px 0 8px;
	color: #fff;
}

.cta-title {
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	margin: 0 0 12px;
}

.cta-text {
	color: rgba(255, 255, 255, 0.85);
	max-width: 560px;
	margin: 0 auto 28px;
	font-size: 1.05rem;
}

@media (max-width: 782px) {
	.front-hero {
		padding: 64px 16px 56px;
	}

	.front-features,
	.front-testimonials {
		padding: 48px 0;
	}

	.features-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.features-grid {
		padding: 0 16px 8px;
	}
}

/* ------------------------------------------------------------
   Rodape
   ------------------------------------------------------------ */

.site-footer {
	background: var(--elite-footer-bg);
	color: var(--elite-footer-text);
	margin-top: 40px;
}

.footer-widgets {
	padding: 56px 0 24px;
}

.footer-widgets-inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.site-footer .widget {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.site-footer .widget-title {
	color: var(--elite-footer-heading);
	border-bottom-color: var(--elite-primary);
}

.site-footer .widget ul li {
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-footer .widget a {
	color: var(--elite-footer-text);
}

.site-footer .widget a:hover {
	color: var(--elite-footer-heading);
}

.site-info {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 20px 0;
	font-size: 0.85rem;
}

.site-info-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.site-info .copyright {
	margin: 0;
}

.site-footer .social-links {
	display: flex;
	gap: 6px;
}

.site-footer .social-link {
	color: var(--elite-footer-text);
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	transition: background 0.2s ease, color 0.2s ease;
}

.site-footer .social-link:hover {
	background: var(--elite-primary);
	color: #fff;
}

/* ------------------------------------------------------------
   Botao voltar ao topo
   ------------------------------------------------------------ */

.back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: var(--elite-primary);
	color: #fff;
	cursor: pointer;
	box-shadow: var(--elite-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
	z-index: 90;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: var(--elite-primary-dark);
}

/* ------------------------------------------------------------
   Blocos Gutenberg
   ------------------------------------------------------------ */

.wp-block-button__link {
	background: var(--elite-primary);
	color: #fff !important;
	border-radius: var(--elite-radius);
	font-weight: 600;
}

.wp-block-button__link:hover {
	background: var(--elite-primary-dark);
}

.wp-block-pullquote {
	border-top: 4px solid var(--elite-primary);
	border-bottom: 4px solid var(--elite-primary);
}

.wp-block-code {
	background: var(--elite-heading);
	color: #e2e8f0;
}

.wp-block-cover,
.wp-block-group,
.wp-block-media-text {
	margin: 1.5em 0;
}

.alignwide,
.alignfull {
	margin-left: auto;
	margin-right: auto;
}

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

@media (max-width: 1024px) {
	body.sidebar-right .content-inner,
	body.sidebar-left .content-inner {
		grid-template-columns: 1fr;
	}

	body.sidebar-left .content-inner > .site-main,
	body.sidebar-left .content-inner > .widget-area {
		order: initial;
	}
}

@media (max-width: 782px) {
	.menu-toggle {
		display: block;
	}

	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--elite-header-bg);
		border-bottom: 1px solid var(--elite-border);
		box-shadow: var(--elite-shadow);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.main-navigation.is-open {
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}

	.main-navigation ul {
		flex-direction: column;
		padding: 12px 24px 20px;
	}

	.main-navigation .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		border: 0;
		padding-left: 16px;
		min-width: 0;
	}

	body.posts-layout-grid .posts-wrap {
		grid-template-columns: 1fr;
	}

	.footer-widgets-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.post-single,
	.post-page,
	.comments-area {
		padding: 24px;
	}

	.site-content {
		padding: 32px 0 48px;
	}
}

@media (max-width: 480px) {
	.topbar-inner {
		justify-content: center;
		text-align: center;
	}

	.header-inner {
		min-height: 64px;
	}

	.site-branding .site-title {
		font-size: 1.3rem;
	}

	.post-navigation .nav-previous,
	.post-navigation .nav-next {
		max-width: 100%;
	}
}
