/* ============================================================
   Pereira — fontes novas + rodapé novo.
   Regras de fonte: globais, SÓ font-family (nenhuma cor).
   Rodapé: TUDO escopado em #rodape (tokens, botões, etc.) para
   não vazar variáveis genéricas (--text, --btn...) para o tema.
   ============================================================ */

@font-face { font-family: "Funnel Display"; src: url("https://pereirapeugeotecitroen.com.br/wp-content/uploads/pereira-nova-home/fonts/FunnelDisplay.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("https://pereirapeugeotecitroen.com.br/wp-content/uploads/pereira-nova-home/fonts/Montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("https://pereirapeugeotecitroen.com.br/wp-content/uploads/pereira-nova-home/fonts/Montserrat-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("https://pereirapeugeotecitroen.com.br/wp-content/uploads/pereira-nova-home/fonts/InstrumentSerif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("https://pereirapeugeotecitroen.com.br/wp-content/uploads/pereira-nova-home/fonts/InstrumentSerif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* Títulos → Funnel Display (só font-family) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
}
/* Corpo → Montserrat (mesma lista que o tema usa p/ Lato/Roboto; só font-family) */
body, input, li, p, select, span, textarea, button, a {
	font-family: "Montserrat", system-ui, sans-serif;
}

/* ============================================================
   RODAPÉ NOVO — tudo dentro de #rodape
   ============================================================ */
#rodape {
	--page: #030303;
	--line: rgba(255, 255, 255, 0.12);
	--line-strong: rgba(255, 255, 255, 0.28);
	--text: #F8F8F8;
	--muted: rgba(248, 248, 248, 0.72);
	--dim: rgba(248, 248, 248, 0.5);
	--yellow: #F2CB3F;
	--yellow-ink: #1A1400;
	--wa: #25D366;
	--display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
	--serif: "Instrument Serif", Georgia, serif;
	--body: "Montserrat", system-ui, sans-serif;
	--grid: 1400px;
	--gutter: clamp(16px, 3vw, 40px);
	--pill: 999px;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	padding: 80px 0 24px;
	border-top: 1px solid var(--line);
	background: var(--page);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.65;
}
#rodape * { box-sizing: border-box; }
#rodape .wrap { width: 100%; margin-inline: auto; }

/* botões (escopados) */
#rodape .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	height: 50px; padding: 0 24px;
	font-family: var(--body); font-weight: 500; font-size: 15px; letter-spacing: 0;
	border-radius: var(--pill); white-space: nowrap; border: 1px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: transform 0.22s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
#rodape .btn svg { width: 18px; height: 18px; flex: none; }
#rodape .btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--yellow-ink); }
#rodape .btn-primary:hover { background: #F8D65A; border-color: #F8D65A; }

/* grade do rodapé */
#rodape .fgrid {
	display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.55fr 0.9fr;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
}
#rodape .fcell { padding: 40px 32px 36px; border-right: 1px solid var(--line); font-size: 15px; line-height: 1.55; min-height: 320px; }
#rodape .fcell:last-child { border-right: 0; padding-right: var(--gutter); }
#rodape .fcell:first-child { padding-left: var(--gutter); }
#rodape .fcell ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
#rodape .fcell a { color: var(--muted); transition: color 0.2s; overflow-wrap: anywhere; text-decoration: none; }
#rodape .fcell a:hover { color: var(--text); }
#rodape .fcell a span { color: var(--dim); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 6px; }
#rodape .fcell p { margin: 0 0 14px; color: var(--muted); }
#rodape .fcell .btn, #rodape .fcell .btn:hover { color: var(--yellow-ink); }
#rodape .flabel { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
#rodape .flabel-gap { margin-top: 24px; }
#rodape .ftag { margin: 0 0 24px; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); max-width: 16ch; }
#rodape .flink { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; text-decoration: none; }
#rodape .flink svg { width: 14px; height: 14px; }
#rodape .flogo img { height: 56px; width: auto; }
#rodape .fquote { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--muted); }

/* wordmark gigante (versão estática outline) */
#rodape .giant { position: relative; padding: 12px 0 0; border-bottom: 1px solid var(--line); user-select: none; overflow: hidden; }
#rodape .giant svg { display: block; width: 100%; height: auto; }
#rodape .giant .ticks line { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; stroke-dasharray: 2 6; }
#rodape .giant text { font: 800 300px/1 var(--display); letter-spacing: 0.01em; }
#rodape .giant .outline { fill: none; stroke: rgba(248, 248, 248, 0.45); stroke-width: 1.2; }

/* barra inferior */
#rodape .fbottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 22px var(--gutter) 0; font-size: 13.5px; color: var(--dim); }
#rodape .fbottom p { margin: 0; color: var(--dim); }
#rodape .fbottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
#rodape .fbottom a { color: var(--dim); text-decoration: none; }
#rodape .fbottom a:hover { color: var(--text); }

@media (max-width: 900px) {
	#rodape { padding: 48px 0 20px; }
	#rodape .fgrid { grid-template-columns: 1fr; }
	#rodape .fcell { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px var(--gutter); min-height: 0; }
	#rodape .fcell:last-child { border-bottom: 0; }
	#rodape .fcell ul { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
	#rodape .fcell:nth-child(4) ul { grid-template-columns: 1fr; }
	#rodape .ftag { max-width: none; font-size: 22px; }
	#rodape .giant { padding-top: 8px; }
	#rodape .fbottom { flex-direction: column; align-items: flex-start; }
	#rodape .fbottom ul { flex-direction: column; gap: 6px; }
}

/* ============================================================
   HEADER NOVO (páginas internas) — escopado #dp-header.
   Mantém o banner (title.php) + breadcrumbs logo abaixo.
   ============================================================ */
body.clt.sticky { padding-top: 0 !important; }      /* neutraliza padding do header antigo */
#sb-site > .bt-menu, nav.bt-menu { display: none !important; } /* esconde toggle mobile do tema */

#dp-header {
	position: sticky; top: 0; z-index: 200;
	background: #030303;
	border-bottom: 1px solid rgba(255,255,255,.12);
	font-family: "Montserrat", system-ui, sans-serif;
}
#dp-header .dp-hd-inner {
	width: min(1400px, 100% - 2 * clamp(16px, 3vw, 40px));
	margin-inline: auto; min-height: 76px;
	display: flex; align-items: center; gap: 24px;
}
#dp-header .dp-brand { flex: none; display: block; }
#dp-header .dp-brand img { height: 46px; width: auto; display: block; }

#dp-header .dp-nav { margin-inline: auto; }
#dp-header .dp-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
#dp-header .dp-menu li { margin: 0; }
#dp-header .dp-menu a {
	display: block; padding: 10px 15px;
	font-size: 13.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
	color: #F8F8F8; opacity: .85; text-decoration: none; transition: opacity .2s, color .2s;
}
#dp-header .dp-menu a:hover { opacity: 1; }
#dp-header .dp-menu .current-menu-item > a,
#dp-header .dp-menu .current_page_item > a { color: #F2CB3F; opacity: 1; }

#dp-header .dp-actions { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }
#dp-header .dp-tel {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
	color: #F8F8F8; opacity: .85; text-decoration: none; white-space: nowrap;
}
#dp-header .dp-tel:hover { opacity: 1; }
#dp-header .dp-tel svg { width: 18px; height: 18px; color: #25D366; }
#dp-header .dp-btn {
	display: inline-flex; align-items: center; gap: 10px;
	height: 46px; padding: 0 22px;
	background: #F2CB3F; color: #1A1400;
	font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	border-radius: 999px; text-decoration: none; white-space: nowrap;
	transition: background-color .2s;
}
#dp-header .dp-btn:hover { background: #F8D65A; }
#dp-header .dp-btn svg { width: 16px; height: 16px; }

#dp-header .dp-toggle {
	display: none; width: 46px; height: 46px;
	border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: none; cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
#dp-header .dp-toggle span { display: block; width: 18px; height: 2px; background: #F8F8F8; transition: .25s; }
#dp-header.menu-open .dp-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#dp-header.menu-open .dp-toggle span:nth-child(2) { opacity: 0; }
#dp-header.menu-open .dp-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1200px) {
	#dp-header .dp-tel { display: none; }
}
@media (max-width: 992px) {
	#dp-header .dp-hd-inner { min-height: 60px; gap: 12px; }
	#dp-header .dp-brand img { height: 40px; }
	#dp-header .dp-toggle { display: flex; }
	#dp-header .dp-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: #030303; border-bottom: 1px solid rgba(255,255,255,.12);
		max-height: 0; overflow: hidden; transition: max-height .3s ease; margin: 0;
	}
	#dp-header .dp-nav.is-open { max-height: 80vh; }
	#dp-header .dp-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(16px,3vw,40px) 16px; }
	#dp-header .dp-menu a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; opacity: 1; }
	#dp-header .dp-menu li:last-child a { border-bottom: 0; }
}
