/**
 * Submeta — layout dark premium + formulários.
 */

.aa-submeta-page {
	background: #0a0a0a;
}

.aa-submeta-page #Content,
.aa-submeta-page .content_wrapper,
.aa-submeta-page .sections_group {
	background: #0a0a0a !important;
}

.aa-submeta-page .section-page-footer,
.aa-submeta-page .section.the_content {
	background: transparent !important;
}

body.page-submeta #Subheader,
body.page-child-parent-pageid-158 #Subheader,
body[class*="parent-pageid-158"] #Subheader {
	display: none !important;
}

.aa-sm {
	color: #e5e5e5;
}

.aa-sm__inner {
	max-width: 48rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.aa-sm__hero {
	padding: 5.5rem 0 2rem;
	text-align: center;
}

.aa-sm__hero--compact {
	padding: 4.5rem 0 1.5rem;
}

.aa-sm__main {
	padding: 0 0 4rem;
}

.aa-sm__divider {
	width: 100%;
	max-width: 14rem;
	height: 2px;
	margin: 0 auto 1.75rem;
	background: linear-gradient(90deg, transparent 0%, #c2a36a 20%, #c2a36a 80%, transparent 100%);
}

.aa-sm__title {
	margin: 0 0 1rem;
	font-family: "Cinzel", "Playfair Display", Georgia, serif;
	font-size: clamp(1.65rem, 3vw, 2.35rem);
	font-weight: 600;
	line-height: 1.15;
	color: #c2a36a;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.aa-sm__title--hero {
	font-size: clamp(1.85rem, 3.8vw, 2.85rem);
	margin-bottom: 1.25rem;
}

.aa-sm__subtitle {
	margin: 0 0 1rem;
	font-family: "Cinzel", "Playfair Display", Georgia, serif;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 600;
	line-height: 1.35;
	color: #c2a36a;
	letter-spacing: 0.04em;
}

.aa-sm__lead {
	margin: 0 auto;
	max-width: 38rem;
	font-family: "Montserrat", "Lato", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.75;
	color: #a0a0a0;
	text-align: center;
}

.aa-sm__text {
	margin: 0 0 1.25rem;
	font-family: "Montserrat", "Lato", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.75;
	color: #d1d5db;
}

.aa-sm__text--muted {
	color: #a0a0a0;
}

.aa-sm__text--emphasis {
	color: #d1d5db;
}

.aa-sm__text strong {
	color: #e5e5e5;
	font-weight: 600;
}

.aa-sm__link {
	color: #c2a36a;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	transition: color 0.25s ease;
}

.aa-sm__link:hover,
.aa-sm__link:focus-visible {
	color: #d4b57b;
}

.aa-sm__sep {
	margin: 2rem 0;
	border: none;
	border-top: 1px solid rgba(194, 163, 106, 0.2);
}

.aa-sm__form-card {
	box-sizing: border-box;
	padding: 2rem;
	background: #111111;
	border: 1px solid rgba(194, 163, 106, 0.2);
	border-radius: 0.5rem;
}

.aa-sm__form-card,
.aa-sm__form-card * {
	box-sizing: border-box;
}

.aa-sm__form-card--guest {
	text-align: center;
}

.aa-sm__steps-figure {
	margin: 0 0 2rem;
	padding: 0;
	text-align: center;
}

.aa-sm__steps-image {
	display: block;
	width: 100%;
	max-width: 32rem;
	height: auto;
	margin: 0 auto;
	border-radius: 0.375rem;
}

.aa-sm__steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aa-sm__step {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin-bottom: 1rem;
	font-family: "Montserrat", "Lato", Arial, sans-serif;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #d1d5db;
}

.aa-sm__step:last-child {
	margin-bottom: 0;
}

.aa-sm__step-num {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border: 1px solid rgba(194, 163, 106, 0.45);
	border-radius: 50%;
	font-size: 0.82rem;
	font-weight: 600;
	color: #c2a36a;
}

.aa-sm__actions {
	margin: 0 0 0.5rem;
	text-align: center;
}

.aa-sm__btn {
	display: inline-block;
	max-width: 100%;
	padding: 0.95rem 1.75rem;
	font-family: "Montserrat", "Lato", Arial, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	border-radius: 0.375rem;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.aa-sm__btn--gold {
	color: #000000;
	background: #c2a36a;
	border: 1px solid #c2a36a;
}

.aa-sm__btn--gold:hover,
.aa-sm__btn--gold:focus-visible {
	color: #000000;
	background: #d4b57b;
	border-color: #d4b57b;
}

/* Conteúdo legado (páginas filhas) */
.aa-sm__form-card--content {
	color: #d1d5db;
	font-family: "Montserrat", "Lato", Arial, sans-serif;
}

.aa-sm__form-card--content p,
.aa-sm__form-card--content li {
	color: #d1d5db;
	line-height: 1.75;
}

.aa-sm__form-card--content em {
	color: #a0a0a0;
}

.aa-sm__form-card--content a:not(.wp-block-button__link) {
	color: #c2a36a;
}

.aa-sm__form-card--content .wp-block-image,
.aa-sm__form-card--content img[src*="grafico"] {
	display: none !important;
}

.aa-sm__form-card--content .wp-block-separator,
.aa-sm__form-card--content hr {
	margin: 2rem 0;
	border: none;
	border-top: 1px solid rgba(194, 163, 106, 0.2);
}

.aa-sm__form-card--content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin: 1.5rem 0;
}

.aa-sm__form-card--content .wp-block-button__link {
	display: inline-block;
	padding: 0.95rem 1.75rem !important;
	font-family: "Montserrat", "Lato", Arial, sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: #000000 !important;
	text-decoration: none !important;
	background: #c2a36a !important;
	border: 1px solid #c2a36a !important;
	border-radius: 0.375rem !important;
	transition: background-color 0.3s ease;
}

.aa-sm__form-card--content .wp-block-button__link:hover,
.aa-sm__form-card--content .wp-block-button__link:focus-visible {
	color: #000000 !important;
	background: #d4b57b !important;
	border-color: #d4b57b !important;
}

.aa-sm__form-card--content iframe:not(.aa-sm__frame) {
	display: block;
	width: 100%;
	min-height: 52rem;
	margin: 1.5rem 0;
	background: #0a0a0a;
	border: 1px solid #333333;
	border-radius: 0.375rem;
}

.aa-sm__frame-wrap {
	width: 100%;
	margin: 0 0 1.25rem;
	overflow: hidden;
	line-height: 0;
	font-size: 0;
	background: transparent;
}

.aa-sm__frame {
	display: block;
	width: 100%;
	height: 850px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	vertical-align: top;
}

/* Campos de formulário genéricos */
.aa-sm__form-card label {
	display: block;
	margin: 0 0 0.4rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	color: #d1d5db;
}

.aa-sm__form-card input[type="text"],
.aa-sm__form-card input[type="email"],
.aa-sm__form-card input[type="password"],
.aa-sm__form-card input[type="tel"],
.aa-sm__form-card input[type="url"],
.aa-sm__form-card input[type="number"],
.aa-sm__form-card input[type="date"],
.aa-sm__form-card input[type="search"],
.aa-sm__form-card select,
.aa-sm__form-card textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	font-family: "Montserrat", "Lato", Arial, sans-serif;
	font-size: 1rem;
	color: #ffffff;
	background: #1a1a1a;
	border: 1px solid #333333;
	border-radius: 0.375rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.aa-sm__form-card textarea {
	min-height: 9rem;
	resize: vertical;
}

.aa-sm__form-card select {
	appearance: none;
	background-color: #1a1a1a;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C2A36A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	padding-right: 2.25rem;
}

.aa-sm__form-card input::placeholder,
.aa-sm__form-card textarea::placeholder {
	color: #666666;
}

.aa-sm__form-card input:focus,
.aa-sm__form-card select:focus,
.aa-sm__form-card textarea:focus {
	outline: none;
	border-color: #c2a36a;
	box-shadow: 0 0 0 1px #c2a36a;
}

/* Upload — zona tracejada */
.aa-sm__form-card input[type="file"] {
	width: 100%;
	margin: 0.5rem 0 1.25rem;
	padding: 3rem 1.5rem 1.5rem;
	font-family: "Montserrat", "Lato", Arial, sans-serif;
	font-size: 0.9rem;
	color: #a0a0a0;
	background-color: #111111;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2A36A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center 1.15rem;
	background-size: 2rem;
	border: 2px dashed rgba(194, 163, 106, 0.5);
	border-radius: 0.5rem;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.aa-sm__form-card input[type="file"]:hover {
	background-color: #1a1a1a;
	border-color: rgba(194, 163, 106, 0.75);
}

.aa-sm__form-card input[type="file"]:focus {
	outline: none;
	border-color: #c2a36a;
	box-shadow: 0 0 0 1px #c2a36a;
}

.aa-sm__form-card input[type="file"]::file-selector-button {
	margin-right: 1rem;
	padding: 0.55rem 1rem;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	color: #000000;
	background: #c2a36a;
	border: none;
	border-radius: 0.25rem;
	cursor: pointer;
}

.aa-sm__form-card input[type="submit"],
.aa-sm__form-card input[type="button"],
.aa-sm__form-card button[type="submit"],
.aa-sm__form-card button.buttons {
	display: inline-block;
	width: 100%;
	max-width: 22rem;
	margin: 1rem 0 0;
	padding: 0.95rem 1.75rem;
	font-family: "Montserrat", "Lato", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: #000000;
	text-align: center;
	background: #c2a36a;
	border: none;
	border-radius: 0.375rem;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.aa-sm__form-card input[type="submit"]:hover,
.aa-sm__form-card button[type="submit"]:hover,
.aa-sm__form-card button.buttons:hover {
	background: #d4b57b;
}

/* wp-members (fallback) */
.aa-sm__form-card #wpmem_reg,
.aa-sm__form-card #wpmem_login {
	color: #d1d5db;
	font-family: "Montserrat", "Lato", Arial, sans-serif;
}

.aa-sm__form-card #wpmem_reg fieldset,
.aa-sm__form-card #wpmem_login fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

.aa-sm__form-card #wpmem_reg legend,
.aa-sm__form-card #wpmem_login legend {
	margin: 0 0 1.25rem;
	font-family: "Cinzel", "Playfair Display", Georgia, serif;
	font-size: 1.15rem;
	font-weight: 600;
	color: #c2a36a;
}

.aa-sm__form-card #wpmem_reg .div_text,
.aa-sm__form-card #wpmem_reg .div_select,
.aa-sm__form-card #wpmem_reg .div_number,
.aa-sm__form-card #wpmem_login .div_text,
.aa-sm__form-card #wpmem_login .div_texbox {
	float: none;
	width: 100%;
	margin: 0 0 1.1rem;
}

.aa-sm__form-card #wpmem_reg input.buttons,
.aa-sm__form-card #wpmem_login input.buttons {
	max-width: none;
}

@media (max-width: 768px) {
	.aa-sm__hero {
		padding: 4.5rem 0 1.5rem;
	}

	.aa-sm__main {
		padding-bottom: 3rem;
	}

	.aa-sm__form-card {
		padding: 1.5rem 1.25rem;
	}

	.aa-sm__form-card--content iframe:not(.aa-sm__frame) {
		min-height: 40rem;
	}

	.aa-sm__frame {
		height: 720px;
	}
}

@media (max-width: 640px) {
	.aa-sm__inner {
		padding: 0 1rem;
	}

	.aa-sm__btn {
		display: block;
		width: 100%;
	}
}
