/*
Theme Name: Adega Rama
Text Domain: adega-rama
*/

:root {
	--re-bg: #f8f3ec;
	--re-paper: #fffaf4;
	--re-ink: #211916;
	--re-muted: #72675d;
	--re-wine: #8f2437;
	--re-wine-dark: #5e1725;
	--re-olive: #5c6434;
	--re-border: rgba(33, 25, 22, 0.14);
	--re-shadow: 0 22px 60px rgba(33, 25, 22, 0.16);
	--re-shell: 1180px;
}

html {
	scroll-behavior: smooth;
}

.rama-eventos {
	background: var(--re-bg);
	color: var(--re-ink);
	overflow: hidden;
}

.rama-eventos h1,
.rama-eventos h2,
.rama-eventos h3,
.rama-eventos p {
	margin-top: 0;
}

.rama-eventos img {
	display: block;
	height: auto;
	width: 100%;
}

.re-wrap {
	margin: 0 auto;
	max-width: var(--re-shell);
	padding: 0 24px;
	width: 100%;
}

.re-hero {
	align-items: end;
	display: grid;
	min-height: calc(100vh - 84px);
	position: relative;
}

.re-hero picture,
.re-hero__shade {
	inset: 0;
	position: absolute;
}

.re-hero img {
	height: 100%;
	object-fit: cover;
}

.re-hero__shade {
	background: linear-gradient(90deg, rgba(24, 16, 13, 0.74), rgba(24, 16, 13, 0.34) 52%, rgba(24, 16, 13, 0.08));
	z-index: 1;
}

.re-hero__content {
	color: #fff;
	padding-bottom: clamp(70px, 10vh, 120px);
	position: relative;
	z-index: 2;
}

.re-hero__content h1 {
	font-size: clamp(42px, 7vw, 86px);
	letter-spacing: 0;
	line-height: 0.96;
	margin-bottom: 24px;
	max-width: 850px;
}

.re-hero__content > p:not(.re-kicker) {
	font-size: clamp(18px, 2.1vw, 25px);
	line-height: 1.45;
	margin-bottom: 32px;
	max-width: 690px;
}

.re-kicker {
	color: var(--re-wine);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.2;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.re-hero .re-kicker,
.re-section--dark .re-kicker {
	color: #f0c7b0;
}

.re-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.re-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 4px;
	display: inline-flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	min-height: 48px;
	padding: 13px 22px;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.re-button:hover,
.re-button:focus {
	transform: translateY(-1px);
}

.re-button--primary {
	background: var(--re-wine);
	color: #fff;
}

.re-button--primary:hover,
.re-button--primary:focus {
	background: var(--re-wine-dark);
	color: #fff;
}

.re-button--ghost {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
}

.re-button--ghost:hover,
.re-button--ghost:focus {
	background: #fff;
	border-color: #fff;
	color: var(--re-ink);
}

.re-section {
	padding: clamp(72px, 9vw, 118px) 0;
}

.re-section--intro {
	background: var(--re-paper);
}

.re-intro {
	align-items: start;
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 760px);
}

.re-intro h2,
.re-section-head h2,
.re-copy h2,
.re-form-copy h2,
.re-service-feature__body h2 {
	font-size: clamp(32px, 4.5vw, 58px);
	letter-spacing: 0;
	line-height: 1.04;
	margin-bottom: 0;
}

.re-intro > p,
.re-copy p,
.re-form-copy p,
.re-service-feature__body p,
.re-section-head p:not(.re-kicker) {
	color: var(--re-muted);
	font-size: 18px;
	line-height: 1.75;
	margin-bottom: 0;
}

.re-service-feature {
	background: #1d1815;
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
}

.re-service-feature > img {
	height: 100%;
	min-height: 520px;
	object-fit: cover;
}

.re-service-feature__body {
	align-self: center;
	padding: clamp(44px, 7vw, 92px);
}

.re-service-feature__body p {
	color: rgba(255, 255, 255, 0.78);
	margin: 22px 0 26px;
}

.re-text-link {
	color: #f0c7b0;
	font-weight: 800;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.26em;
}

.re-text-link:hover,
.re-text-link:focus {
	color: #fff;
}

.re-section-head {
	margin-bottom: 34px;
	max-width: 760px;
}

.re-section-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.re-section-head--center p:not(.re-kicker) {
	margin-left: auto;
	margin-right: auto;
	max-width: 760px;
}

.re-card-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.re-card {
	background: var(--re-paper);
	border: 1px solid var(--re-border);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(33, 25, 22, 0.08);
	overflow: hidden;
}

.re-card img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.re-card div {
	padding: 22px;
}

.re-card h3 {
	font-size: 22px;
	line-height: 1.15;
	margin-bottom: 10px;
}

.re-card p {
	color: var(--re-muted);
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 0;
}

.re-section--menu {
	background: #efe5d8;
}

.re-split {
	align-items: center;
	display: grid;
	gap: clamp(34px, 6vw, 78px);
	grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.re-split--reverse {
	grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

.re-split--reverse .re-copy {
	order: 2;
}

.re-copy p {
	margin: 24px 0;
}

.re-list {
	color: var(--re-ink);
	display: grid;
	gap: 11px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.re-list li {
	align-items: start;
	display: grid;
	gap: 10px;
	grid-template-columns: 13px 1fr;
}

.re-list li::before {
	background: var(--re-olive);
	border-radius: 50%;
	content: "";
	height: 7px;
	margin-top: 10px;
	width: 7px;
}

.re-mosaic {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.re-mosaic img {
	aspect-ratio: 1;
	border-radius: 8px;
	object-fit: cover;
}

.re-mosaic img:nth-child(1),
.re-mosaic img:nth-child(6) {
	aspect-ratio: 1 / 1.35;
	grid-row: span 2;
}

.re-section--dark {
	background: #211916;
	color: #fff;
}

.re-section--dark .re-section-head p:not(.re-kicker) {
	color: rgba(255, 255, 255, 0.74);
}

.re-strip {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 40px 0;
}

.re-strip img {
	aspect-ratio: 3 / 4;
	background: #fff;
	border-radius: 8px;
	object-fit: cover;
}

.re-banner-card {
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(240px, 0.68fr) 1fr;
	overflow: hidden;
}

.re-banner-card img {
	aspect-ratio: 16 / 9;
	height: 100%;
	object-fit: cover;
}

.re-banner-card div {
	padding: 28px 34px 28px 0;
}

.re-banner-card h3 {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.1;
	margin-bottom: 0;
}

.re-image-stack {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr 0.78fr;
}

.re-image-stack img {
	border-radius: 8px;
	box-shadow: var(--re-shadow);
	object-fit: cover;
}

.re-image-stack img:first-child {
	aspect-ratio: 4 / 5;
}

.re-image-stack img:last-child {
	aspect-ratio: 3 / 4;
	margin-top: 72px;
}

.re-section--gallery {
	background: var(--re-paper);
}

.re-gallery {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.re-gallery img {
	aspect-ratio: 1;
	border-radius: 8px;
	object-fit: cover;
}

.re-gallery img:first-child {
	aspect-ratio: 2 / 1;
	grid-column: span 2;
}

.re-gallery img:last-child {
	grid-column: span 2;
}

.re-section--form {
	background: #efe5d8;
}

.re-form-layout {
	align-items: start;
	display: grid;
	gap: clamp(32px, 6vw, 78px);
	grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
}

.re-form-copy {
	position: sticky;
	top: 28px;
}

.re-form {
	background: var(--re-paper);
	border: 1px solid var(--re-border);
	border-radius: 8px;
	box-shadow: var(--re-shadow);
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: clamp(22px, 4vw, 38px);
}

.re-form label {
	display: grid;
	gap: 8px;
}

.re-form span {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.re-form input,
.re-form select,
.re-form textarea {
	background: #fff;
	border: 1px solid rgba(33, 25, 22, 0.2);
	border-radius: 4px;
	color: var(--re-ink);
	font: inherit;
	min-height: 48px;
	padding: 11px 12px;
	width: 100%;
}

.re-form textarea {
	resize: vertical;
}

.re-form input:focus,
.re-form select:focus,
.re-form textarea:focus {
	border-color: var(--re-wine);
	outline: 3px solid rgba(143, 36, 55, 0.16);
}

.re-form__wide {
	grid-column: 1 / -1;
}

.re-form__note {
	color: var(--re-muted);
	font-size: 14px;
	margin: 0;
	min-height: 20px;
}

@media (max-width: 960px) {
	.re-card-grid,
	.re-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.re-intro,
	.re-service-feature,
	.re-split,
	.re-split--reverse,
	.re-form-layout {
		grid-template-columns: 1fr;
	}

	.re-split--reverse .re-copy {
		order: initial;
	}

	.re-service-feature > img {
		min-height: 360px;
	}

	.re-form-copy {
		position: static;
	}
}

@media (max-width: 720px) {
	.re-wrap {
		padding: 0 18px;
	}

	.re-hero {
		min-height: 720px;
	}

	.re-hero__shade {
		background: linear-gradient(180deg, rgba(24, 16, 13, 0.24), rgba(24, 16, 13, 0.82));
	}

	.re-service-feature__body {
		padding: 36px 22px 44px;
	}

	.re-card-grid,
	.re-strip,
	.re-banner-card,
	.re-form {
		grid-template-columns: 1fr;
	}

	.re-banner-card div {
		padding: 0 22px 24px;
	}

	.re-mosaic,
	.re-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.re-mosaic img:nth-child(1),
	.re-mosaic img:nth-child(6),
	.re-gallery img:first-child,
	.re-gallery img:last-child {
		aspect-ratio: 1;
		grid-column: auto;
		grid-row: auto;
	}

	.re-image-stack {
		grid-template-columns: 1fr;
	}

	.re-image-stack img:last-child {
		margin-top: 0;
	}
}
