/* Sommelier School – Vinícolas Parceiras */

/* Banner */
.ssv-banner--img img { display: block; width: 100%; height: auto; }
.ssv-banner--vazio { background: #a81010; padding: 70px 0; text-align: center; }
.ssv-banner--vazio h1 { color: #fff; margin: 0; font-size: 34px; letter-spacing: .5px; }

/* Topo das páginas */
.ssv-topo { text-align: center; margin: 10px 0 40px; }
.ssv-voltar { display: inline-block; font-size:14px; margin-bottom: 10px; color: #a81010; }
.ssv-topo .ssv-titulo-estado { color: #a81010 !important; margin: 6px 0 12px; font-size: 30px; line-height: 1.25; font-weight: 400; }
.ssv-intro { max-width: 820px; margin: 0 auto 20px; text-align: center; }
.ssv-vazio { text-align: center; padding: 40px 0; }

/* Grid: garante o mesmo visual do blog mesmo se o CSS do elemento não estiver carregado */
.ssv-grid .avia-content-slider-inner .slide-entry-wrap {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 80px !important;
	margin-bottom: 40px;
	position: relative;
}
.ssv-grid .slide-entry-wrap .slide-entry.av_one_third { width: 100% !important; margin: 0 !important; float: none !important; }
.ssv-grid .slide-image { display: block; overflow: hidden; margin-bottom: 12px; }
.ssv-grid .slide-image img { display: block; width: 100%; height: auto; aspect-ratio: 350 / 282; object-fit: cover; transition: transform .4s ease; }
.ssv-grid .slide-image:hover img { transform: scale(1.03); }
.ssv-grid .slide-entry-title { font-size:15.3px; font-weight: 600; line-height: 1.4; margin: 0 0 10px; }
.ssv-grid .slide-entry-title a { color: #a81010; }
.ssv-grid .av-vertical-delimiter { display: none; }
.ssv-grid .slide-entry-excerpt { color: #666; }
@media (max-width: 767px) {
	.ssv-grid .avia-content-slider-inner .slide-entry-wrap { grid-template-columns: minmax(0, 1fr) !important; gap: 40px !important; }
}

/* Mapa */
.ssv-mapa-wrap { position: relative; max-width: 680px; margin: 0 auto; }
.ssv-mapa { display: block; width: 100%; height: auto; overflow: visible; }
.ssv-mapa .ssv-uf, .ssv-mapa .ssv-uf path {
	fill: #ece8e3;
	stroke: #fff;
	stroke-width: 1;
	stroke-linejoin: round;
}
.ssv-mapa .ssv-uf--ativo path {
	fill: #a81010;
	cursor: pointer;
	transform-box: fill-box;
	transform-origin: center;
	transition: transform .25s ease, fill .25s ease, filter .25s ease;
}
.ssv-mapa .ssv-uf--ativo:hover path,
.ssv-mapa .ssv-uf--ativo:focus path {
	fill: #7d0b0b;
	transform: translateY(-6px) scale(1.04);
	filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35));
}
.ssv-mapa .ssv-uf--ativo:focus { outline: none; }

.ssv-mapa-tip {
	position: absolute; pointer-events: none; opacity: 0;
	background: #222; color: #fff; font-size:13px; line-height: 1.3;
	padding: 6px 10px; border-radius: 3px; white-space: nowrap;
	transform: translate(-50%, -130%); transition: opacity .15s ease;
}
.ssv-mapa-tip.is-on { opacity: 1; }

.ssv-lista-estados {
	list-style: none; margin: 30px auto 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
}
.ssv-lista-estados li { margin: 0; }
.ssv-lista-estados a { color: #a81010; font-weight: 600; }
.ssv-lista-estados span { color: #999; font-weight: 400; }

@media (prefers-reduced-motion: reduce) {
	.ssv-mapa .ssv-uf--ativo path { transition: none; }
}

/* Página da vinícola */
.ssv-conteudo { max-width: 1100px; margin: 0 auto 60px; }
.ssv-conteudo img { max-width: 100%; height: auto; }
.ssv-conteudo .gallery { margin: 30px 0; }

/* Faixa do WhatsApp */
.ssv-faixa a, .ssv-faixa img { display: block; width: 100%; height: auto; }

/* Blocos da página da vinícola (usados no conteúdo do editor) */
.ssv-conteudo h2 { color: #a81010; font-size: 24px; margin: 50px 0 15px; text-align: center; }
.ssv-conteudo h3 { color: #a81010; font-size: 17px; margin: 0 0 8px; }
.ssv-v-lead { font-size: 16px; line-height: 1.7; text-align: center; max-width: 820px; margin: 0 auto 30px; color: #444; }
.ssv-v-fatos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 30px 0 40px; text-align: center; }
.ssv-v-fatos div { border-top: 2px solid #a81010; padding-top: 14px; }
.ssv-v-fatos strong { display: block; font-size: 22px; color: #a81010; font-family: quicksand, Helvetica, Arial, sans-serif; }
.ssv-v-fatos span { font-size:14px; color: #666; }
.ssv-v-full { margin: 30px 0; }
.ssv-v-full img { display: block; width: 100%; height: auto; }
.ssv-v-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; margin: 40px 0; }
.ssv-v-duo img { display: block; width: 100%; height: auto; }
.ssv-v-duo h2 { text-align: left; margin-top: 0; }
.ssv-v-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 20px 0 40px; }
.ssv-v-card { background: #f7f5f2; }
.ssv-v-card img { display: block; width: 100%; height: auto; aspect-ratio: 495 / 400; object-fit: cover; }
.ssv-v-card div { padding: 18px 20px 22px; }
.ssv-v-card p { margin: 0 0 10px; font-size:14px; line-height: 1.6; }
.ssv-v-card ul { margin: 0 0 12px 18px; font-size:14px; }
.ssv-v-produtos { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 20px 0 40px; }
.ssv-v-produtos figure { margin: 0; text-align: center; }
.ssv-v-produtos img { max-height: 420px; width: auto; }
.ssv-v-galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 40px; }
.ssv-v-galeria img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.ssv-v-destaque { background: #a81010; color: #fff; text-align: center; padding: 26px 20px; margin: 40px 0; font-size: 16px; }
.ssv-v-destaque strong { color: #fff; }
.ssv-v-info { border: 1px solid #e6e1da; padding: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; margin: 40px 0 10px; }
.ssv-v-info p { margin: 0 0 6px; }
.ssv-v-info strong { color: #a81010; }
.ssv-btn { display: inline-block; background: #a81010; color: #fff !important; padding: 10px 22px; font-weight: 600; text-decoration: none !important; margin: 6px 8px 0 0; }
.ssv-btn:hover { background: #7d0b0b; }
.ssv-btn--claro { background: transparent; color: #a81010 !important; border: 1px solid #a81010; }
.ssv-btn--claro:hover { background: #a81010; color: #fff !important; }
.ssv-v-botoes { text-align: center; margin: 20px 0; }
@media (max-width: 767px) {
	.ssv-v-fatos, .ssv-v-cards, .ssv-v-duo, .ssv-v-produtos, .ssv-v-info { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.ssv-v-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Ajustes contra estilos do tema */
.ssv-conteudo .ssv-v-lead { margin-left: auto !important; margin-right: auto !important; }
.ssv-conteudo a.ssv-btn--claro { border: 1px solid #a81010 !important; padding: 9px 21px; }
.ssv-conteudo .ssv-v-info { border: 1px solid #d9d2c8 !important; background: #faf8f5; }
.ssv-conteudo p:empty { display: none; }
.ssv-v-produtos figcaption { font-size:14px; color: #666; margin-top: 8px; }

/* Vinícolas "em breve": só foto + nome, sem link */
.ssv-grid .ssv-em-breve .slide-image { position: relative; }
.ssv-grid .ssv-em-breve .slide-image img { transform: none !important; }
.ssv-grid .ssv-em-breve .slide-entry-title { color: #333; }
.ssv-selo-breve { position: absolute; top: 12px; left: 12px; background: rgba(168, 16, 16, .92); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.ssv-estado .ssv-regiao { color: #a81010 !important; font-size: 24px; font-weight: 400; margin: 34px 0 16px; padding-bottom: 8px; border-bottom: 2px solid #eee4d6; }
