/* =========================================================================
   Olá Turquia – estilos do tema
   ========================================================================= */

:root {
	--ola-radius: var(--wp--custom--radius, 14px);
	--ola-radius-sm: var(--wp--custom--radius-small, 8px);
	--ola-shadow: 0 6px 24px rgba(20, 40, 50, 0.08);
	--ola-shadow-hover: 0 12px 32px rgba(20, 40, 50, 0.14);
	--ola-primary: var(--wp--preset--color--primary, #0E7C86);
	--ola-primary-dark: var(--wp--preset--color--primary-dark, #0A5A61);
	--ola-accent: var(--wp--preset--color--accent, #E8743B);
	--ola-accent-dark: var(--wp--preset--color--accent-dark, #C2561F);
	--ola-sand: var(--wp--preset--color--sand, #F7F1E8);
	--ola-sand-dark: var(--wp--preset--color--sand-dark, #EFE4D3);
	--ola-ink: var(--wp--preset--color--ink, #1E2A32);
	--ola-muted: var(--wp--preset--color--muted, #5A6872);
	--ola-border: var(--wp--preset--color--border, #E4DACB);
	--ola-wa: var(--wp--preset--color--whatsapp, #1FAF54);
}

::selection { background: rgba(232, 116, 59, 0.25); }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }

/* ---------- Cabeçalho ---------- */
.ola-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
}
.ola-header {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid var(--ola-border);
}
.admin-bar .ola-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ola-site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ola-site-header { top: 0; } }
.ola-header .wp-block-site-title { margin: 0; line-height: 1; }
.ola-logo { display: flex; align-items: center; gap: 0.55rem; }
.ola-logo__mark { width: 34px; height: 34px; flex: 0 0 34px; display: block; }
.ola-logo__tag {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ola-muted);
	margin-top: 0.15rem;
}
.ola-header .ola-btn { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
@media (max-width: 600px) { .ola-header .ola-header-cta { display: none; } }

/* ---------- Botões ---------- */
.ola-btn,
.dtq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 1.5rem;
	border-radius: 999px;
	background: var(--ola-accent);
	color: #fff !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none !important;
	border: 2px solid transparent;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}
.ola-btn:hover,
.dtq-btn:hover { background: var(--ola-accent-dark); transform: translateY(-1px); }
.ola-btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.ola-btn--block { display: flex; width: 100%; }
.ola-btn--wa,
.dtq-wa { background: var(--ola-wa); }
.ola-btn--wa:hover,
.dtq-wa:hover { background: #178f44; }
.ola-btn--ghost {
	background: transparent;
	color: var(--ola-primary-dark) !important;
	border-color: var(--ola-primary);
}
.ola-btn--ghost:hover { background: var(--ola-primary); color: #fff !important; }
.ola-wa-icon { flex: 0 0 auto; }

/* ---------- Grade de tours ---------- */
.ola-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 1.5rem 0;
}
.ola-cols-1 { grid-template-columns: minmax(0, 1fr); }
.ola-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ola-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) {
	.ola-cols-3,
	.ola-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.ola-grid,
	.ola-cols-2,
	.ola-cols-3,
	.ola-cols-4 { grid-template-columns: minmax(0, 1fr); }
}

.ola-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ola-border);
	border-radius: var(--ola-radius);
	overflow: hidden;
	box-shadow: var(--ola-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ola-card:hover { transform: translateY(-4px); box-shadow: var(--ola-shadow-hover); }
.ola-card__img { display: block; aspect-ratio: 16 / 11; background: var(--ola-sand); overflow: hidden; }
.ola-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ola-card:hover .ola-card__img img { transform: scale(1.04); }
.ola-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--ola-primary) 0%, var(--ola-primary-dark) 60%, var(--ola-accent) 140%); }
.ola-badge {
	position: absolute;
	top: 0.9rem;
	left: 0.9rem;
	background: var(--ola-accent);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.ola-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.25rem; }
.ola-card__meta {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ola-primary);
}
.ola-card__title { margin: 0 0 0.5rem; font-size: 1.12rem; line-height: 1.35; }
.ola-card__title a { color: var(--ola-ink); text-decoration: none; }
.ola-card__title a:hover { color: var(--ola-accent-dark); }
.ola-card__excerpt {
	margin: 0 0 1rem;
	font-size: 0.93rem;
	color: var(--ola-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ola-card__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 0.85rem;
	border-top: 1px dashed var(--ola-border);
}

/* ---------- Preço ---------- */
.ola-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem; line-height: 1.2; }
.ola-price__from { font-size: 0.78rem; color: var(--ola-muted); width: 100%; }
.ola-price__value { font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; color: var(--ola-accent-dark); }
.ola-price__unit { font-size: 0.8rem; color: var(--ola-muted); }
.ola-price--ask { font-weight: 700; color: var(--ola-primary-dark); }

/* ---------- Caixa de reserva (página do tour) ---------- */
.ola-booking {
	background: #fff;
	border: 1px solid var(--ola-border);
	border-radius: var(--ola-radius);
	box-shadow: var(--ola-shadow);
	padding: 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}
.ola-booking__price .ola-price__value { font-size: 2rem; }
.ola-booking__price .ola-price__from { font-size: 0.85rem; }
.ola-booking__facts { list-style: none; margin: 0.25rem 0; padding: 0; border-top: 1px solid var(--ola-border); }
.ola-booking__facts li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--ola-border); font-size: 0.93rem; }
.ola-booking__facts span { color: var(--ola-muted); }
.ola-booking__facts strong { text-align: right; }
.ola-booking__trust { list-style: none; margin: 0.3rem 0 0; padding: 0; font-size: 0.85rem; color: var(--ola-muted); }
.ola-booking__trust li { position: relative; padding-left: 1.4rem; margin: 0.35rem 0; }
.ola-booking__trust li::before { content: "✓"; position: absolute; left: 0; color: var(--ola-wa); font-weight: 700; }
@media (min-width: 900px) { .ola-sticky { position: sticky; top: 96px; } }
@media (max-width: 781px) { .ola-tour-cols > .wp-block-column:last-child { order: -1; } }
.ola-site-footer { margin-top: 0; }

/* ---------- Hero do tour ---------- */
.ola-tour-hero.wp-block-cover { border-radius: 0; }
.ola-tour-hero .wp-block-post-title { color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
.ola-tour-hero .wp-block-post-terms a { color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.18); padding: 0.25rem 0.7rem; border-radius: 999px; }
.ola-tour-hero .wp-block-post-terms__separator { color: transparent; }

/* ---------- Migalhas ---------- */
.ola-breadcrumbs { font-size: 0.85rem; color: var(--ola-muted); margin: 0; }
.ola-breadcrumbs a { color: var(--ola-muted); text-decoration: none; }
.ola-breadcrumbs a:hover { color: var(--ola-primary); }
.ola-breadcrumbs .sep { margin: 0 0.35rem; opacity: 0.6; }

/* ---------- Seções da página inicial ---------- */
.ola-hero.wp-block-cover { min-height: min(88vh, 760px); }
.ola-hero .ola-hero__kicker {
	display: inline-block;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.ola-hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }
.ola-hero p { color: rgba(255, 255, 255, 0.95); }
.ola-section-title { text-align: center; margin-bottom: 0.4rem !important; }
.ola-section-sub { text-align: center; color: var(--ola-muted); max-width: 640px; margin-left: auto !important; margin-right: auto !important; }

.ola-dest-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.5rem; }
@media (max-width: 1024px) { .ola-dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ola-dest-grid { grid-template-columns: minmax(0, 1fr); } }
.ola-dest {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 260px;
	border-radius: var(--ola-radius);
	overflow: hidden;
	color: #fff !important;
	text-decoration: none !important;
	background: var(--ola-primary-dark) center / cover no-repeat;
	box-shadow: var(--ola-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ola-dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.7) 100%); }
.ola-dest:hover { transform: translateY(-4px); box-shadow: var(--ola-shadow-hover); }
.ola-dest__text { position: relative; z-index: 1; padding: 1.1rem 1.2rem; }
.ola-dest__name { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; font-weight: 700; }
.ola-dest__info { display: block; font-size: 0.88rem; opacity: 0.92; }

.ola-features { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.5rem; }
@media (max-width: 1024px) { .ola-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ola-features { grid-template-columns: minmax(0, 1fr); } }
.ola-feature { background: #fff; border-radius: var(--ola-radius); padding: 1.4rem; box-shadow: var(--ola-shadow); border: 1px solid var(--ola-border); }
.ola-feature__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(14, 124, 134, 0.1);
	color: var(--ola-primary);
	font-size: 1.4rem;
	margin-bottom: 0.8rem;
}
.ola-feature h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.ola-feature p { margin: 0; font-size: 0.93rem; color: var(--ola-muted); }

.ola-cta-band { border-radius: var(--ola-radius); }
.ola-cta-band h2,
.ola-cta-band p { color: #fff; }

/* ---------- Componentes de conteúdo (compatíveis com as classes do site em espanhol) ---------- */
.ola-blog,
.dtq-blog { margin: 1.75rem 0; }
.ola-resumo,
.dtq-ans {
	background: var(--ola-sand);
	border-left: 5px solid var(--ola-primary);
	border-radius: var(--ola-radius-sm);
	padding: 1.1rem 1.3rem;
}
.ola-resumo p,
.dtq-ans p { margin: 0.4rem 0; }
.ola-resumo ul,
.dtq-ans ul { margin: 0.5rem 0 0.2rem; }
.ola-box,
.dtq-box {
	background: #fff;
	border: 2px solid var(--ola-accent);
	border-radius: var(--ola-radius);
	padding: 1.2rem 1.4rem;
	box-shadow: var(--ola-shadow);
}
.ola-box p,
.dtq-box p { margin: 0.4rem 0; }
.ola-box.ola-rel,
.dtq-box.dtq-rel { border-color: var(--ola-border); background: var(--ola-sand); box-shadow: none; }
.ola-rel ul,
.dtq-rel ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.ola-rel li,
.dtq-rel li { margin: 0.3rem 0; }
.ola-faq,
.dtq-faq { display: flex; flex-direction: column; gap: 0.6rem; }
.ola-faq details,
.dtq-faq details {
	background: #fff;
	border: 1px solid var(--ola-border);
	border-radius: var(--ola-radius-sm);
	padding: 0;
	overflow: hidden;
}
.ola-faq summary,
.dtq-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 0.95rem 2.6rem 0.95rem 1.1rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	position: relative;
}
.ola-faq summary::-webkit-details-marker,
.dtq-faq summary::-webkit-details-marker { display: none; }
.ola-faq summary::after,
.dtq-faq summary::after {
	content: "+";
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4rem;
	color: var(--ola-accent);
	font-weight: 400;
}
.ola-faq details[open] summary::after,
.dtq-faq details[open] summary::after { content: "–"; }
.ola-faq details > div,
.dtq-faq details > div { padding: 0 1.1rem 1rem; color: var(--ola-ink); }
.ola-scroll,
.dtq-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.ola-t,
table.dtq-t { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fff; }
table.ola-t th,
table.dtq-t th { background: var(--ola-primary); color: #fff; text-align: left; padding: 0.7rem 0.85rem; font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
table.ola-t td,
table.dtq-t td { padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--ola-border); vertical-align: top; }
table.ola-t tr:nth-child(even) td,
table.dtq-t tr:nth-child(even) td { background: #fcfaf6; }
.ola-upd,
.dtq-upd { font-size: 0.85rem; color: var(--ola-muted); font-style: italic; }

/* ---------- Paginação ---------- */
.ola-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; padding: 0; margin: 2rem 0 0; }
.ola-pagination a,
.ola-pagination span { display: inline-block; padding: 0.5rem 0.85rem; border-radius: 999px; border: 1px solid var(--ola-border); text-decoration: none; color: var(--ola-ink); }
.ola-pagination .current { background: var(--ola-primary); border-color: var(--ola-primary); color: #fff; }

/* ---------- Blog ---------- */
.ola-post-card { background: #fff; border: 1px solid var(--ola-border); border-radius: var(--ola-radius); overflow: hidden; box-shadow: var(--ola-shadow); height: 100%; }
.ola-post-card .wp-block-post-featured-image { margin: 0; border-radius: 0; }
.ola-post-card .wp-block-post-featured-image img { border-radius: 0; aspect-ratio: 16 / 10; object-fit: cover; }
.ola-post-card__body { padding: 1rem 1.2rem 1.3rem; }
.ola-post-card .wp-block-post-title { font-size: 1.1rem; margin: 0.3rem 0 0.5rem; }
.ola-post-card .wp-block-post-excerpt { font-size: 0.92rem; color: var(--ola-muted); }
.ola-post-card .wp-block-post-excerpt__more-link { font-weight: 700; }

/* ---------- Rodapé ---------- */
.ola-footer { color: rgba(255, 255, 255, 0.85); }
.ola-footer h2,
.ola-footer h3,
.ola-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 0.8rem; }
.ola-footer a { color: #fff; text-decoration: none; }
.ola-footer a:hover { color: #ffd2b8; text-decoration: underline; }
.ola-footer ul { list-style: none; padding: 0; margin: 0; }
.ola-footer li { margin: 0.4rem 0; }
.ola-footer .wp-block-site-title a { color: #fff; }
.ola-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.85rem; }

/* ---------- WhatsApp flutuante ---------- */
.ola-wa-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--ola-wa);
	color: #fff !important;
	padding: 0.8rem 1.1rem;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(31, 175, 84, 0.35);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	text-decoration: none !important;
	transition: transform 0.2s ease;
}
.ola-wa-float:hover { transform: translateY(-2px) scale(1.02); }
.ola-wa-float .ola-wa-icon { width: 24px; height: 24px; }
@media (max-width: 600px) {
	.ola-wa-float { padding: 0.85rem; }
	.ola-wa-float span { display: none; }
}

/* ---------- Diversos ---------- */
.ola-empty { text-align: center; color: var(--ola-muted); }
.wp-block-post-content > .wp-block-heading:first-child { margin-top: 0; }
.wp-block-post-content h2 { margin-top: 2.2rem; }
.wp-block-post-content h3 { margin-top: 1.6rem; }
.wp-block-post-content table:not(.dtq-t):not(.ola-t) { border-collapse: collapse; width: 100%; }
.wp-block-post-content table:not(.dtq-t):not(.ola-t) td,
.wp-block-post-content table:not(.dtq-t):not(.ola-t) th { border: 1px solid var(--ola-border); padding: 0.55rem 0.7rem; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
