/*
Theme Name: SóDesentope Piloto
Description: Tema de blocos para pré-visualização local do SóDesentope.
Version: 0.7.1
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: sodesentope-piloto
*/
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.piloto-header, .piloto-footer, .piloto-hero, .piloto-content {
	padding-inline: clamp(1rem, 5vw, 4rem);
}
.piloto-header { padding-block: 1rem; border-bottom: 1px solid #c2d2d1; }
.piloto-header a { text-decoration: none; }
.piloto-header a:hover { text-decoration: underline; }
.piloto-phone {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: .35rem 1rem;
	background: #a71930;
	color: #fff;
	font-weight: 750;
	text-decoration-thickness: .09em;
}
.piloto-hero { padding-block: clamp(2.5rem, 9vw, 7rem); }
.piloto-content { padding-block: clamp(2rem, 5vw, 4.5rem); overflow-wrap: anywhere; }
.piloto-content .row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1.5rem;
}
.piloto-content iframe, .piloto-content input:not([type=checkbox], [type=radio]), .piloto-content textarea { max-width: 100%; }
.piloto-content :is(input, textarea, button, select) { font: inherit; }
.piloto-content :is(input, textarea, select) { box-sizing: border-box; }
.piloto-footer { padding-block: 2rem; }
.piloto-mobile { display: none; }
:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 3px solid #8d1a32;
	outline-offset: 4px;
	box-shadow: 0 0 0 3px #fff;
}
@media (max-width: 780px) {
	.piloto-mobile {
		display: block;
		position: fixed;
		inset: auto 0 0;
		z-index: 9;
		padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom));
		background: #292426;
		text-align: center;
	}
	.piloto-mobile a { justify-content: center; width: 100%; box-sizing: border-box; }
	.piloto-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
	html { scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

.piloto-content img {
	max-width: 100%;
	height: auto;
}

.piloto-header .wp-block-site-logo {
	max-width: min(320px, 100%);
}
.piloto-header .wp-block-site-logo img {
	display: block;
	height: auto;
}
.piloto-header .wp-block-navigation { font-size: .94rem; }
.piloto-header .current-menu-item > a { text-decoration: underline; text-underline-offset: .35em; }
.piloto-phone {
	gap: .45em;
	border: 1px solid transparent;
	border-radius: .36rem;
	text-decoration: none;
}
.piloto-phone:hover {
	background: #86162a;
	border-color: currentColor;
}
.piloto-hero-home {
	color: var(--wp--preset--color--paper);
	background-color: var(--wp--preset--color--ink);
	background-image: linear-gradient(90deg, transparent 31px, #ffffff0b 32px), linear-gradient(transparent 31px, #ffffff0b 32px);
	background-size: 32px 32px;
}
.piloto-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.75rem, 5vw, 5rem);
}
.piloto-lead { min-width: 0; }
.piloto-hero h1 {
	max-width: 17ch;
	margin-block: 0 .35em;
	font-weight: 800;
	letter-spacing: -.04em;
	text-wrap: balance;
}
.piloto-intro {
	max-width: 47ch;
	font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}
.piloto-hero-home .piloto-intro { color: #d9ebe6; }
.piloto-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 1.25rem;
	row-gap: .6rem;
	margin-block-start: 1.6rem;
}
.piloto-actions > * { margin: 0; }
.piloto-next a {
	display: inline-block;
	padding-block: .52rem;
	font-weight: 700;
	text-underline-offset: .25em;
}
.piloto-photo {
	position: relative;
	margin: 0;
	padding: .65rem;
	border: 1px solid #ffffff50;
	border-top: .28rem solid var(--wp--preset--color--signal);
	background: #0b2027;
}
.piloto-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.piloto-photo .wp-element-caption {
	margin: .55rem 0 0;
	color: #d9ebe6;
	font-size: .84rem;
	text-align: left;
}
.piloto-section, .piloto-questions { padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 5vw, 4rem); }
.piloto-section, .piloto-questions, .piloto-hero-servico, .piloto-hero-local, .piloto-hero-contactos {
	background-color: var(--wp--preset--color--mist);
}
.piloto-section h2, .piloto-questions h2 { font-size: clamp(1.65rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.piloto-route-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 3vw, 2.5rem);
}
.piloto-route {
	padding-block-start: 1rem;
	border-block-start: 2px solid var(--wp--preset--color--teal);
}
.piloto-route h3 { margin-block: 0 .45em; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.piloto-route p { margin-block: 0; }
.piloto-hero:has(.piloto-hero-inner) { padding-block: clamp(2rem, 5vw, 5rem); }
.piloto-hero-inner { border-inline-start: .35rem solid var(--wp--preset--color--teal); padding-inline-start: clamp(1rem, 4vw, 3rem); }
.piloto-hero-local .piloto-hero-inner { border-inline-start-style: double; }
.piloto-hero-contactos .piloto-hero-inner { border-inline-start-color: #527315; }
.piloto-questions details { padding-block: .65rem; border-block-end: 1px solid #9cb5ae; }
.piloto-questions summary { padding-block: .25rem; cursor: pointer; font-weight: 700; }
.piloto-content .wpcf7 :where(input:not([type=checkbox], [type=radio], [type=submit]), textarea) {
	width: 100%;
	padding: .62rem;
	border: 1px solid #718b85;
	border-radius: .25rem;
}
.piloto-content .wpcf7 input[type=submit] {
	padding: .55rem 1rem;
	border: 1px solid transparent;
	border-radius: .36rem;
	background: var(--wp--preset--color--ink);
	color: #fff;
	cursor: pointer;
}
@media (max-width: 960px) {
	.piloto-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 780px) {
	.piloto-header .piloto-phone { display: none; }
	.piloto-route-grid { grid-template-columns: minmax(0, 1fr); }
	.piloto-hero-home { padding-block: 2.5rem; }
	.piloto-header .wp-block-navigation__responsive-container-open { padding: .6rem; }
	.piloto-photo { max-width: 34rem; }
}

.piloto-field-label {
	display: block;
	margin-block-end: .3rem;
	font-weight: 700;
}

/* Shared page rhythm and navigation */
.piloto-header > .wp-block-group {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 1.1rem;
}
.piloto-header .wp-block-site-logo img { width: 100%; }
.piloto-hero.piloto-interior { background: #f6f3ef; }
.piloto-interior .piloto-hero-inner { border-color: #a92136; }
.piloto-hero-inner > p { max-width: 56ch; font-size: clamp(1.04rem, 2vw, 1.24rem); }
.piloto-hero-inner h1 { font-size: clamp(2.25rem, 5.3vw, 4.65rem); }
.piloto-interior .piloto-actions a:not(.piloto-phone) { font-weight: 700; }
.piloto-support { padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem); border-block-end: 1px solid #ddd8d1; }
.piloto-support h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); }
.piloto-support p { max-width: 69ch; }
.piloto-support summary { cursor: pointer; font-weight: 700; }
.piloto-region-links ul,.piloto-legal ul { display: flex; flex-wrap: wrap; gap: .55rem 1rem; padding: 0; list-style: none; }
.piloto-region-links a { display: block; padding: .4rem .7rem; border: 1px solid #d9d5cf; border-radius: .25rem; }
.piloto-directory .piloto-content { --wp--style--global--content-size: 80rem; }
.piloto-directory .piloto-content article { padding-block: .4rem; }
.piloto-directory .piloto-content .entry-title { margin-block: 0; font-size: .97rem; }
.piloto-directory [id^="sticky-posts-"] { scroll-margin-top: 1rem; }
.piloto-directory [id^="sticky-posts-"]:target { outline: 2px solid #a92136; outline-offset: .35rem; }
.piloto-form-page > p { padding: 1rem; }
.piloto-content :is(select,input[type=file]) { max-width: 100%; }
.piloto-footer { background: #f6f3ef; padding-top: clamp(2rem, 4vw, 3.5rem); border-block-start: 1px solid #e0d9d2; }
.piloto-footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3,minmax(0,1fr)); gap: clamp(1rem, 3vw, 3rem); }
.piloto-footer-grid h2 { font-size: 1.06rem; letter-spacing: 0; margin-block-start: 0; }
.piloto-footer-grid ul { list-style: none; padding: 0; margin-block-start: .75rem; }
.piloto-footer-grid li { margin-block: .42rem; }
.piloto-footer-brand p { max-width: 23ch; }
.piloto-legal { border-block-start: 1px solid #ded8d0; padding-block-start: .75rem; font-size: .9rem; }
@media (min-width: 601px) and (max-width: 1090px) {
	.piloto-header > .wp-block-group { grid-template-columns: minmax(0,1fr) auto; }
	.piloto-header .wp-block-navigation { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 780px) {
	.piloto-header > .wp-block-group { grid-template-columns: minmax(0,1fr) auto; }
	.piloto-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 601px) and (max-width: 780px) {
	.piloto-header .wp-block-navigation { grid-row: auto; grid-column: auto; }
}
@media (max-width: 430px) {
	.piloto-header > .wp-block-group { gap: .5rem; }
	.piloto-footer-grid { grid-template-columns: 1fr; }
}

.piloto-hero-home {
	color: #23252a;
	background-color: #f2f1ee;
	background-image: linear-gradient(90deg, #4e49400c 1px, transparent 1px), linear-gradient(#4e49400c 1px, transparent 1px);
}
.piloto-hero-home h1 { font-size: clamp(2.25rem, 5.5vw, 5.25rem); }
.piloto-hero-home .piloto-intro, .piloto-photo .wp-element-caption { color: #3c3b39; }
.piloto-hero-home .piloto-phone { background: #ac1d35; color: #fff; }
.piloto-hero-home .piloto-phone:hover { background: #86162a; }
.piloto-hero-home .piloto-photo {
	padding: 0;
	border: 0;
	background: transparent;
}
.piloto-hero-home .piloto-photo img {
	border-radius: 1rem .2rem;
	box-shadow: 8px 8px 0 #d9d6d0;
}
.piloto-hero-home .piloto-photo .wp-element-caption { margin-top: 1rem; }
.piloto-pedido { background-color: #fff; }
.piloto-pedido ol { padding-inline-start: 1.5rem; }
.piloto-pedido li::marker { color: #ac1d35; font-weight: 750; }

/* The homepage shares the header and footer's wide WordPress grid. */
.piloto-home-band {
	margin-block-start: 0;
	padding: clamp(2.8rem, 6.5vw, 6rem) clamp(1rem, 5vw, 4rem);
}
.piloto-home-banner {
	color: #fff;
	background: linear-gradient(120deg, #76152c 0%, #a71930 64%, #b52638 100%);
}
.piloto-home-lead > .piloto-sos {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	margin: 0 0 1rem;
	padding: .3em .8em;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 850;
	letter-spacing: .04em;
}
.piloto-sos strong { padding-inline-start: .55em; border-inline-start: 1px solid currentColor; }
.piloto-home-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(1.5rem, 5vw, 5rem);
}
.piloto-home-split > * { margin: 0; }
.piloto-home-lead h1 {
	margin-block: 0 .34em;
	max-width: 15ch;
	font-size: clamp(2.45rem, 5.3vw, 5.25rem);
	font-weight: 800;
	letter-spacing: -.045em;
	text-wrap: balance;
}
.piloto-home-band h2 { font-size: clamp(1.85rem, 4vw, 3.5rem); letter-spacing: -.04em; }
.piloto-home-lead > p { max-width: 48ch; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.piloto-home-band .piloto-phone { background: #ac1d35; color: #fff; }
.piloto-home-band .piloto-phone:hover { background: #86162a; }
.piloto-home-banner .piloto-phone {
	min-height: 54px;
	background: #fff;
	color: #151515;
	font-size: 1.12rem;
	font-weight: 850;
}
.piloto-home-banner .piloto-phone:hover { background: #f4efec; text-decoration: underline; }
.piloto-home-band .piloto-actions p a { font-weight: 700; }
.piloto-home-image, .piloto-home-image.piloto-photo {
	padding: 0;
	border: 0;
	border-radius: .9rem;
	overflow: hidden;
	background: #e4e0da;
}
.piloto-home-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.piloto-home-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-block-start: 2rem;
}
.piloto-home-card {
	border: 1px solid #ded9d2;
	border-radius: .45rem;
	padding: clamp(1rem, 2vw, 1.65rem);
}
.piloto-home-card h3 { margin-block: 0 .5rem; }
.piloto-home-card p { margin: 0; }
.piloto-home-card a { text-underline-offset: .2em; }
.piloto-home-areas, .piloto-home-end { background: #f2f1ee; }
.piloto-home-faq details { padding: .8rem 0; border-block-end: 1px solid #ded9d2; }
.piloto-home-faq details:first-child { border-block-start: 1px solid #ded9d2; }
.piloto-home-faq summary { cursor: pointer; font-weight: 700; }
.piloto-home-closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.piloto-home-closing > * { margin: 0; }
@media (max-width: 780px) {
	.piloto-home-split { grid-template-columns: minmax(0, 1fr); }
	.piloto-home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
	.piloto-home-cards { grid-template-columns: minmax(0, 1fr); }
}

.piloto-header .piloto-phone {
	background: #a71930;
	color: #fff;
}
.piloto-header .piloto-phone:hover {
	background: #86162a;
}

.piloto-service-feature { background: #f2f1ee; }
.piloto-service-feature + .piloto-service-feature { background: #faf9f7; }
.piloto-service-feature .piloto-home-lead ul { padding-inline-start: 1.25rem; }
.piloto-service-feature .piloto-home-lead li + li { margin-block-start: .35rem; }
.piloto-service-feature .piloto-home-lead a { font-weight: 750; }
.piloto-home-end { color: #fff; background: #a71930; }
.piloto-home-end .piloto-home-closing {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(8rem, 24rem);
	align-items: center;
	gap: clamp(1rem, 5vw, 5rem);
}
.piloto-home-end .piloto-phone { background: #fff; color: #151515; }
.piloto-home-end .piloto-phone:hover { background: #f4efec; }
.piloto-home-end .piloto-footer-symbol { width: 100%; max-width: 21rem; justify-self: end; margin: 0; }
.piloto-footer-symbol img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
@media (min-width: 781px) {
	.piloto-service-reverse .piloto-home-image { grid-column: 1; grid-row: 1; }
	.piloto-service-reverse .piloto-home-lead { grid-column: 2; grid-row: 1; }
}
@media (max-width: 600px) {
	.piloto-home-end .piloto-home-closing { grid-template-columns: minmax(0, 1fr); }
	.piloto-home-end .piloto-footer-symbol { width: min(48%, 10rem); justify-self: start; }
}

.piloto-home-banner {
	background-image:
		linear-gradient(90deg, #ffffff14 1px, transparent 1px),
		linear-gradient(#ffffff14 1px, transparent 1px),
		linear-gradient(120deg, #76152c 0%, #a71930 64%, #b52638 100%);
	background-size: 32px 32px, 32px 32px, 100% 100%;
}
.piloto-work-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-block-start: 2rem;
}
.piloto-work-card h3 { font-size: clamp(1.3rem, 2.4vw, 2rem); }
.piloto-home-image .wp-element-caption {
	margin: 0;
	padding: .45rem .85rem;
	color: #433e3c;
	background: #f2f1ee;
	font-size: .85rem;
	text-align: left;
}
.piloto-work-card a { font-weight: 750; }
@media (max-width: 680px) {
	.piloto-work-grid { grid-template-columns: minmax(0, 1fr); }
}

.piloto-catalog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
	margin-block-start: 2rem;
}
.piloto-catalog-card {
	margin: 0;
	overflow: hidden;
	border: 1px solid #ded9d2;
	border-radius: .6rem;
	background: #fff;
}
.piloto-catalog-card-body { padding: 1.1rem 1.25rem; }
.piloto-catalog-card-body h3 { margin-block: 0; font-size: 1.3rem; }
.piloto-catalog-card-body p { margin-block: .65rem 0; }
.piloto-catalog-card-body p:last-child a,
.piloto-catalog-detail .piloto-home-lead a { color: #95172d; font-weight: 700; }
.piloto-catalog-image { margin: 0; overflow: hidden; }
.piloto-catalog-image img {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 3;
	object-fit: cover;
}
.piloto-catalog-detail { padding-block: clamp(2.5rem, 5vw, 4.5rem); background: #f2f1ee; }
.piloto-catalog-detail + .piloto-catalog-detail:nth-child(even) { background: #faf9f7; }
.piloto-catalog-detail .piloto-catalog-image { border-radius: .65rem; }
.piloto-catalog-detail .piloto-home-lead p:last-child { font-size: .95rem; }
@media (min-width: 781px) {
	.piloto-service-reverse .piloto-catalog-image { grid-column: 1; grid-row: 1; }
}
@media (max-width: 780px) {
	.piloto-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.piloto-catalog-grid { grid-template-columns: minmax(0, 1fr); }
}

.piloto-catalog-card { position: relative; }
.piloto-catalog-card-body h3 a { text-decoration: none; }
.piloto-catalog-card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.piloto-catalog-card:hover { border-color: #95172d; }
.piloto-catalog-card:focus-within { outline: 3px solid #95172d; outline-offset: 3px; }
.piloto-catalog-card:hover h3 a { text-decoration: underline; }

.piloto-service-banner {
	color: #fff;
	background: linear-gradient(120deg, #76152c, #a71930 68%, #b52638);
}
.piloto-service-banner .piloto-phone { background: #fff; color: #151515; }
.piloto-service-banner .piloto-phone:hover { background: #f4efec; }
.piloto-service-banner .piloto-home-image { border: 1px solid #ffffff50; }
.piloto-service-banner .piloto-home-lead > .wp-block-post-title { margin-block-start: 0; }

.piloto-diagnostic-search { margin-block: 1.5rem 0; }
.piloto-diagnostic-search label { display: block; margin-block-end: .4rem; font-weight: 700; }
.piloto-diagnostic-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 12rem) auto;
	align-items: end;
	gap: .65rem;
}
.piloto-diagnostic-controls input {
	min-width: 0;
	width: 100%;
	padding: .65rem .85rem;
	border: 1px solid #756966;
	border-radius: .36rem;
	font: inherit;
}
.piloto-diagnostic-controls button { font: inherit; font-weight: 750; cursor: pointer; }
.piloto-diagnostic-search [role="status"] { margin-block: .45rem 0; }
.piloto-diagnostic-keywords, .piloto-diagnostic-grid [hidden] { display: none; }
.piloto-diagnostic-article { overflow-wrap: anywhere; }
.piloto-diagnostic-article img { max-width: 100%; height: auto; }
.piloto-diagnostic-article .row { display: flex; flex-wrap: wrap; gap: 1rem; }

.piloto-diagnostic-article {
	width: 80%;
	font-size: clamp(1rem, 1.5vw, 1.13rem);
	line-height: 1.75;
}
.piloto-diagnostic-controls select {
	width: 100%;
	min-width: 0;
	padding: .5rem .65rem;
	border: 1px solid #756966;
	border-radius: .36rem;
	background: #fff;
	font: inherit;
}
.piloto-diagnostic-type {
	margin: 0 0 .45rem;
	color: #85162c;
	font-size: .84rem;
	font-weight: 700;
}

.piloto-diagnostic-controls :is(input, select, button) { box-sizing: border-box; height: 46px; }
@media (max-width: 590px) {
	.piloto-diagnostic-article { width: 100%; }
	.piloto-diagnostic-controls {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
		gap: .4rem;
	}
	.piloto-diagnostic-controls :is(input, select, button) { padding-inline: .45rem; font-size: .9rem; }
}

.piloto-diagnostic-symptoms { margin-block: 1.5rem; }
.piloto-diagnostic-symptoms h3 { margin-block-end: .65rem; }
.piloto-diagnostic-symptoms ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.piloto-diagnostic-symptoms li { display: flex; }
.piloto-diagnostic-symptoms a {
	display: flex;
	flex: 1;
	justify-content: space-between;
	gap: .5rem;
	padding: .9rem 1rem;
	border: 1px solid #ded2d1;
	border-radius: .4rem;
	background: #f7f0ef;
	color: #85162c;
	font-weight: 700;
	text-underline-offset: .2em;
}
.piloto-diagnostic-service a { font-weight: 750; }

.piloto-guide-banner {
	background: linear-gradient(120deg, #74300d, #9c3e10 65%, #a94b14);
}

.piloto-header .wp-block-navigation .wp-block-navigation__submenu-container {
	min-width: min(18rem, 80vw);
}
.piloto-header .wp-block-navigation .wp-block-navigation__submenu-container a {
	white-space: normal;
}

.piloto-service-banner .piloto-catalog-image {
	border-radius: .9rem;
	border: 1px solid #ffffff50;
}
.piloto-service-assessment { align-items: start; }
.piloto-service-assessment h2 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); }

@media (max-width: 480px) {
	.piloto-service-banner .piloto-home-lead h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); overflow-wrap: anywhere; }
}

.piloto-service-context { background: #f7f3f0; }
.piloto-service-context-copy { max-width: 78ch; }
.piloto-service-context-copy h2 { margin-block-start: 0; }

.piloto-local-banner .piloto-home-lead > p:first-child { font-weight: 750; margin-block: 0 1rem; }
.piloto-local-banner .piloto-home-image { align-self: center; }

.piloto-local-map { margin-block: 1rem 1.75rem; }
.piloto-local-map iframe { display: block; width: 100%; border: 0; }

#equipamentos .piloto-catalog-card figure { margin: 0; border-radius: 0; }
#equipamentos .piloto-catalog-card img { aspect-ratio: 5 / 3; object-fit: cover; }

#testemunhos .piloto-catalog-card-body { background: #fff; border: 1px solid #ded9d2; border-radius: .5rem; }
#perguntas-frequentes details { padding-block: .8rem; border-bottom: 1px solid #ded9d2; }
#perguntas-frequentes summary { cursor: pointer; font-weight: 700; }

.piloto-faq-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	column-gap: clamp(1.5rem, 4vw, 3.5rem);
}
.piloto-faq-grid > details { margin-block: 0; }
@media (max-width: 680px) {
	.piloto-faq-grid { grid-template-columns: minmax(0, 1fr); }
}

.piloto-local-services .piloto-catalog-card {
	display: block;
	padding: 0;
}
.piloto-local-services .piloto-catalog-image { margin: 0; border-radius: 0; }
.piloto-local-services .piloto-catalog-image img {
	width: 100%;
	aspect-ratio: 5 / 3;
	object-fit: cover;
}
.piloto-local-services .piloto-catalog-card-body { padding: 1.1rem 1.25rem; }
.piloto-local-services h3 { font-size: 1.3rem; line-height: 1.2; }

.piloto-local-quote { background: #f2f1ee; }
.piloto-local-quote .wpcf7 { max-width: 58rem; margin-block-start: 1.5rem; }
.piloto-local-quote .piloto-quote-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.25rem; }
.piloto-local-quote label { display: block; font-weight: 650; }
.piloto-local-quote :is(input:not([type=submit]),textarea) { box-sizing: border-box; max-width: 100%; width: 100%; padding: .6rem; border: 1px solid #8c807a; border-radius: .3rem; background: white; font: inherit; }
.piloto-local-quote input[type=submit] { border: 0; padding: .75rem 1.2rem; border-radius: .35rem; background: #a71930; color: white; font: inherit; font-weight: 750; cursor: pointer; }
.piloto-local-quote .wpcf7-not-valid-tip { font-weight: 400; }
@media(max-width: 600px) { .piloto-local-quote .piloto-quote-fields { grid-template-columns: minmax(0,1fr); } }

.piloto-footer-menu { padding: 0; margin: 0; list-style: none; }
.piloto-actions .piloto-footer-menu { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }

/* Locality pages alternate warm stone and white around the red service banner. */
.piloto-main:has(> .piloto-local-banner) > section:nth-child(2n) { background: #f2ede7; }
.piloto-main:has(> .piloto-local-banner) > section:nth-child(2n + 3) { background: #fff; }
.piloto-main:has(> .piloto-local-banner) > #pedir-orcamento {
	background: #851b32;
	color: #fff;
}
.piloto-local-quote :is(input:not([type=submit]),textarea) { color: #202124; }
.piloto-local-quote input[type=submit] { background: #fff; color: #851b32; }
.piloto-local-quote .wpcf7-not-valid-tip { color: #ffe7ae; }
.piloto-local-quote .wpcf7-response-output { background: #fff; color: #202124; }

.piloto-local-editorial > .wp-block-post-content > section { margin-block-start: 0; }
.piloto-local-editorial > .wp-block-post-content > section:nth-child(2n) { background: #f2ede7; }
.piloto-local-editorial > .wp-block-post-content > section:nth-child(2n + 3) { background: #fff; }
.piloto-local-editorial #pedir-orcamento { background: #851b32; color: white; }
.piloto-local-editorial .piloto-service-banner { color: white; }

/* About page: native WordPress sections, aligned with the service pages. */
.piloto-about .wp-block-post-content > section { margin-block-start: 0; }
.piloto-about .piloto-about-intro { background: #fff; }
.piloto-about .piloto-about-approach { background: #172c34; color: #fff; }
.piloto-about .piloto-about-copy { max-width: 68ch; }
.piloto-about .piloto-about-copy p { line-height: 1.75; }
.piloto-about .piloto-about-equipment { background: #f2ede7; }
.piloto-about .piloto-about-hours { background: #fff; }
.piloto-about .piloto-about-hero .piloto-home-image img { aspect-ratio: 6 / 5; object-position: 64% center; }
.piloto-about .piloto-about-hero .piloto-home-image { border-radius: .5rem; }
.piloto-about .piloto-about-approach a { color: inherit; }
.piloto-about .piloto-about-approach .piloto-home-card { border-color: #ffffff45; }
.piloto-about .piloto-about-approach h3 { font-size: 1.3rem; }
.piloto-about .piloto-catalog-card h3 { font-size: 1.3rem; }
.piloto-about .piloto-home-cards > .piloto-home-card { margin-block-start: 0; }

/* Contact page uses editable native content and the existing contact form. */
.piloto-contact-page .wp-block-post-content > section { margin-block-start: 0; }
.piloto-contact-options { background: #f2ede7; }
.piloto-contact-options .piloto-home-card { background: #fff; margin-block-start: 0; }
.piloto-contact-options h3 { font-size: 1.35rem; }
.piloto-contact-form-section { background: #fff; }
.piloto-contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.piloto-contact-grid > * { margin-block-start: 0; min-width: 0; }
.piloto-contact-aside { background: #f2ede7; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: .5rem; }
.piloto-contact-aside h3 { font-size: 1.4rem; }
.piloto-contact-form input:not([type=submit]):not([type=checkbox]), .piloto-contact-form textarea, .piloto-contact-form select { box-sizing: border-box; width: 100%; max-width: 100%; padding: .85rem; border: 1px solid #b8b5b0; border-radius: .3rem; background: #fff; color: #172c34; font: inherit; }
.piloto-contact-form input[type=submit] { border: 0; border-radius: .3rem; background: #a71930; color: #fff; padding: .9rem 1.4rem; font: inherit; font-weight: 750; cursor: pointer; }
.piloto-contact-form input:focus-visible,.piloto-contact-form textarea:focus-visible { outline: 3px solid #172c34; outline-offset: 3px; }
@media(max-width:780px) { .piloto-contact-grid { grid-template-columns: minmax(0,1fr); } }
.piloto-contact-hero .piloto-home-image img { aspect-ratio: 3 / 2; }

/* Legal pages: quiet concept banners and comfortable reading width. */
.piloto-legal .wp-block-post-content > section { margin-block-start: 0; }
.piloto-legal-hero .piloto-home-lead h1 { font-size: clamp(2.2rem, 4.8vw, 4.6rem); max-width: 16ch; }
.piloto-legal-hero .piloto-home-image img { aspect-ratio: 3 / 2; }
.piloto-legal-body { background: #f2ede7; }
.piloto-legal-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(13rem, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.piloto-legal-grid > * { margin-block-start: 0; min-width: 0; }
.piloto-legal-copy { background: #fff; padding: clamp(1.25rem, 3.5vw, 3rem); border-radius: .5rem; line-height: 1.8; overflow-wrap: anywhere; }
.piloto-legal-copy p { margin-block: 0 1.5rem; }
.piloto-legal .piloto-legal-copy h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.02em; line-height: 1.3; margin-block: 2.2rem 1rem; }
.piloto-legal-copy h2:first-child { margin-block-start: 0; }
.piloto-legal .piloto-legal-aside h2 { font-size: 1.35rem; letter-spacing: -.02em; }
.piloto-legal-aside a { text-underline-offset: .2em; }
@media(max-width:780px) { .piloto-legal-grid { grid-template-columns: minmax(0,1fr); } }

.piloto-quote-page .wp-block-post-content > section { margin-block-start: 0; }
.piloto-quote-hero .piloto-home-image img { aspect-ratio: 3 / 2; }
.piloto-quote-section { background: #f2ede7; }
.piloto-quote-form { background: #851b32; color: #fff; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: .5rem; }
.piloto-quote-form a { color: #fff; }
.piloto-quote-form .wpcf7 { margin-block-start: 1.5rem; }
.piloto-quote-form .wpcf7 input[type=file] { font-size: .9rem; }
.piloto-quote-aside { padding-block: 1rem; }
.piloto-quote-aside h3 { font-size: 1.45rem; }
.piloto-quote-section .piloto-contact-grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
@media(max-width:780px) { .piloto-quote-section .piloto-contact-grid { grid-template-columns: minmax(0,1fr); } }
.piloto-local-banner .piloto-home-lead > .piloto-local-update { font-size: .9rem; font-weight: 400; margin-block: .75rem 1.25rem; }
.piloto-local-editorial a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Customer support, native form fields and keyboard-accessible star rating. */
.piloto-support .wp-block-post-content > section { margin-block-start: 0; }
.piloto-support-hero .piloto-home-image img { aspect-ratio: 3 / 2; }
.piloto-support-intro { background: #f2ede7; }
.piloto-support-intro .piloto-home-card { margin-block-start: 0; background: #fff; }
.piloto-support-intro h3 { font-size: 1.35rem; }
.piloto-support-form-section { background: #fff; }
.piloto-support-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.25rem; }
.piloto-support-fields > p { margin-block-start: 0; min-width: 0; }
.piloto-support-form label { display: block; font-weight: 650; }
.piloto-support-attachments { background: #f2ede7; padding: 1.2rem; border-radius: .4rem; }
.piloto-support-form input[type=file] { font-size: .85rem; }
.piloto-rating { border: 0; padding: 1.2rem 0; margin: 0 0 1.25rem; min-width: 0; }
.piloto-rating legend { font-weight: 700; padding: 0; }
.piloto-rating-help, .piloto-rating-status { font-size: .95rem; margin-block: .5rem; }
.piloto-star-options { display: inline-flex; flex-wrap: nowrap; gap: .25rem; }
.piloto-star-options .wpcf7-list-item { margin: 0; }
.piloto-support .piloto-star-choice { position: relative; display: grid; place-items: center; width: 2.8rem; height: 3rem; border-radius: .3rem; cursor: pointer; }
.piloto-support .piloto-star-choice input[type=radio] { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
.piloto-star-char { font-size: 2.6rem; line-height: 1; color: #8b8581; transition: color .15s; }
.piloto-star-options .wpcf7-list-item:has(input:checked) .piloto-star-char,
.piloto-star-options .wpcf7-list-item:has(~ .wpcf7-list-item input:checked) .piloto-star-char { color: #a71930; }
.piloto-star-choice:has(input:focus-visible) { outline: 3px solid #172c34; outline-offset: 3px; }
@media(hover:hover) { .piloto-star-options:not(:focus-within):has(.wpcf7-list-item:hover) .piloto-star-char { color: #8b8581; } .piloto-star-options:not(:focus-within) .wpcf7-list-item:hover .piloto-star-char, .piloto-star-options:not(:focus-within) .wpcf7-list-item:has(~ .wpcf7-list-item:hover) .piloto-star-char { color: #a71930; } }
@media(max-width:600px) { .piloto-support-fields { grid-template-columns: minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) { .piloto-star-char { transition: none; } }
