/* Ângulo Consultoria: camada visual do tema (front-end e editor). */
:root {
	--a-ink: var(--wp--preset--color--contrast);
	--a-base: var(--wp--preset--color--base);
	--a-surface: var(--wp--preset--color--surface);
	--a-line: var(--wp--preset--color--line);
	--a-muted: var(--wp--preset--color--muted);
	--a-accent: var(--wp--preset--color--accent);
	--a-accent-light: #F08A5D;
	--a-head: var(--wp--preset--font-family--heading);
	--a-grid: linear-gradient(rgba(245, 244, 240, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 244, 240, .045) 1px, transparent 1px);
	--a-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}

/* Sem espaço entre cabeçalho, conteúdo e rodapé; as seções cuidam do próprio respiro. */
.wp-site-blocks > main,
.wp-site-blocks > footer,
.wp-block-post-content > .alignfull { margin-block-start: 0 !important; margin-block-end: 0; }

/* Marca: um ângulo reto em laranja antes do nome. */
.wp-block-site-title a { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.wp-block-site-title a::before {
	content: ""; flex: none; width: 20px; height: 20px; box-sizing: border-box;
	border-left: 5px solid var(--a-accent); border-bottom: 5px solid var(--a-accent);
}

/* Cabeçalho */
.angulo-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(245, 244, 240, .9);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--a-line);
}
.admin-bar .angulo-header { top: 32px; }
.angulo-header .wp-block-site-title { font-family: var(--a-head); font-weight: 700; letter-spacing: -.01em; }
.angulo-header .wp-block-site-title a { color: var(--a-ink); }
.angulo-header .wp-block-navigation { font-weight: 500; font-size: .9375rem; }
.angulo-header .wp-block-navigation a { text-decoration: none; background: linear-gradient(var(--a-accent), var(--a-accent)) 0 100% / 0 2px no-repeat; transition: background-size .25s, color .2s; padding-bottom: 2px; }
.angulo-header .wp-block-navigation a:hover { color: var(--a-accent); background-size: 100% 2px; }
.angulo-header-cta .wp-block-button__link { padding: .65rem 1.15rem; font-size: .9375rem; }
@media (max-width: 781px) { .angulo-header-cta { display: none; } }

/* Hero */
.angulo-hero {
	position: relative; overflow: hidden; isolation: isolate;
	background-color: var(--a-ink); background-image: var(--a-grid); background-size: 64px 64px;
	color: var(--a-base);
	padding-top: clamp(4.5rem, 10vw, 8rem) !important; padding-bottom: clamp(4rem, 9vw, 7rem) !important;
}
.angulo-hero::before {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	right: max(3vw, calc(50% - 620px)); top: 50%; translate: 0 -50%;
	width: clamp(260px, 30vw, 420px); aspect-ratio: 1;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none'%3E%3Cpath d='M30 30V370H370' stroke='%23B8411A' stroke-width='24'/%3E%3Cpath d='M30 370L330 70' stroke='%23F5F4F0' stroke-opacity='.28' stroke-width='2'/%3E%3Cpath d='M30 250A120 120 0 0 1 150 370' stroke='%23F08A5D' stroke-width='3' stroke-dasharray='6 8'/%3E%3Cpath d='M230 370A200 200 0 0 0 171 229' stroke='%23F5F4F0' stroke-opacity='.35' stroke-width='2'/%3E%3Ccircle cx='330' cy='70' r='7' fill='%23F08A5D'/%3E%3C/svg%3E");
}
.angulo-hero h1 {
	color: var(--a-base); max-width: 16ch; margin-block-start: .9rem;
	font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em;
}
.angulo-hero p { max-width: 58ch; color: rgba(245, 244, 240, .8); font-size: clamp(1.0625rem, 1.3vw, 1.2rem); }
.angulo-hero strong { color: var(--a-base); }
.angulo-hero a:not(.wp-element-button) { color: var(--a-accent-light); }
.angulo-hero .wp-block-buttons { margin-block-start: 2.25rem; gap: .75rem; }
.angulo-hero .wp-block-button:not(.is-style-outline) .wp-element-button:hover { background: var(--a-base); color: var(--a-ink); }
.angulo-hero .is-style-outline .wp-element-button { background: transparent; color: var(--a-base); border: 1px solid rgba(245, 244, 240, .4); }
.angulo-hero .is-style-outline .wp-element-button:hover { background: rgba(245, 244, 240, .08); border-color: var(--a-base); }
@media (max-width: 960px) { .angulo-hero::before { opacity: .22; right: -60px; width: 300px; } }

.angulo-kicker {
	display: inline-flex; align-items: center; gap: .7rem;
	font-family: var(--a-head); font-weight: 600; font-size: .8125rem !important;
	letter-spacing: .14em; text-transform: uppercase; color: var(--a-accent-light) !important;
}
.angulo-kicker::before { content: ""; width: 28px; height: 2px; background: var(--a-accent); }

ul.angulo-trust {
	list-style: none; padding: 0; margin-block-start: 2.75rem;
	display: flex; flex-wrap: wrap; gap: .6rem 2rem;
	font-size: .9375rem; color: rgba(245, 244, 240, .72);
}
ul.angulo-trust li { display: flex; align-items: center; gap: .55rem; }
ul.angulo-trust li::before {
	content: ""; flex: none; width: 16px; height: 16px; background: var(--a-accent-light);
	-webkit-mask: var(--a-check) center / contain no-repeat; mask: var(--a-check) center / contain no-repeat;
}

/* Seções */
.angulo-section { padding-top: clamp(4rem, 8vw, 6.5rem) !important; padding-bottom: clamp(4rem, 8vw, 6.5rem) !important; }
.angulo-section--alt { background: var(--a-surface); }
.angulo-section--dark { background-image: var(--a-grid); background-size: 64px 64px; }
.angulo-section p { max-width: 68ch; }
.angulo-section h2 {
	position: relative; padding-top: 1.4rem;
	font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.02em;
}
.angulo-section h2::before {
	content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px;
	border-left: 3px solid var(--a-accent); border-top: 3px solid var(--a-accent);
}
.angulo-section--dark h2, .angulo-section--dark h3 { color: var(--a-base); }
.angulo-section--dark p { color: rgba(245, 244, 240, .8); }
.angulo-section--dark a:not(.wp-element-button) { color: var(--a-accent-light); }
.angulo-section--dark strong { color: var(--a-base); }

.angulo-split { gap: clamp(2rem, 5vw, 5rem) !important; }
@media (min-width: 782px) {
	.angulo-split > .wp-block-column:first-child h2 { position: sticky; top: 110px; }
}

/* Cards (serviços, segmentos) */
.angulo-cards { gap: 1rem !important; margin-block-start: 2.5rem !important; }
.angulo-card {
	position: relative; background: var(--a-surface); border: 1px solid var(--a-line);
	padding: 2rem 1.75rem 1.75rem !important; margin: 0 !important;
	transition: border-color .2s, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.angulo-section--alt .angulo-card { background: var(--a-base); }
.angulo-card::before {
	content: ""; position: absolute; left: -1px; top: -1px; width: 18px; height: 18px;
	border-left: 3px solid var(--a-accent); border-top: 3px solid var(--a-accent);
	transition: width .3s, height .3s;
}
.angulo-card:hover { border-color: var(--a-ink); transform: translateY(-4px); }
.angulo-card:hover::before { width: 48px; height: 48px; }
.angulo-card h3 { margin-top: 0; font-size: 1.25rem; }
.angulo-card p { color: var(--a-muted); font-size: .975rem; margin-block-start: .7rem; }
.angulo-card--link h3 a { color: var(--a-ink); text-decoration: none; }
.angulo-card--link h3 a::after { content: ""; position: absolute; inset: 0; }
.angulo-card--link h3::after { content: "→"; display: inline-block; margin-left: .4rem; color: var(--a-accent); transition: transform .2s; }
.angulo-card--link:hover h3::after { transform: translateX(5px); }

/* Lista em cards com check */
ul.angulo-checks {
	list-style: none; padding: 0; margin-block: 2rem;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem;
}
ul.angulo-checks li {
	position: relative; margin: 0; padding: 1.3rem 1.3rem 1.3rem 3.3rem;
	background: var(--a-surface); border: 1px solid var(--a-line);
	color: var(--a-muted); font-size: .975rem; line-height: 1.55;
	transition: border-color .2s;
}
ul.angulo-checks li:hover { border-color: var(--a-accent); }
.angulo-section--alt ul.angulo-checks li { background: var(--a-base); }
ul.angulo-checks li::before {
	content: ""; position: absolute; left: 1.25rem; top: 1.45rem; width: 18px; height: 18px; background: var(--a-accent);
	-webkit-mask: var(--a-check) center / contain no-repeat; mask: var(--a-check) center / contain no-repeat;
}
ul.angulo-checks li strong { display: block; margin-bottom: .3rem; color: var(--a-ink); font-family: var(--a-head); font-size: 1.0625rem; line-height: 1.3; }
ul.angulo-checks li strong a { color: var(--a-ink); }
ul.angulo-checks li strong a:hover { color: var(--a-accent); }
.angulo-section--dark ul.angulo-checks li { background: rgba(245, 244, 240, .04); border-color: rgba(245, 244, 240, .14); color: rgba(245, 244, 240, .75); }
.angulo-section--dark ul.angulo-checks li::before { background: var(--a-accent-light); }
.angulo-section--dark ul.angulo-checks li strong, .angulo-section--dark ul.angulo-checks li strong a { color: var(--a-base); }

/* Etapas numeradas */
ol.angulo-steps { list-style: none; padding: 0; margin-block: 2rem; counter-reset: passo; }
ol.angulo-steps li {
	counter-increment: passo; position: relative; margin: 0;
	padding: 1.35rem 0 1.35rem 4.75rem; border-top: 1px solid var(--a-line);
}
ol.angulo-steps li:last-child { border-bottom: 1px solid var(--a-line); }
ol.angulo-steps li::before {
	content: counter(passo, decimal-leading-zero); position: absolute; left: 0; top: 1.15rem;
	font-family: var(--a-head); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--a-accent);
}
ol.angulo-steps li strong { display: block; font-family: var(--a-head); font-size: 1.125rem; margin-bottom: .2rem; }
.angulo-section--dark ol.angulo-steps li { border-color: rgba(245, 244, 240, .14); color: rgba(245, 244, 240, .75); }
.angulo-section--dark ol.angulo-steps li::before { color: var(--a-accent-light); }

/* Links em "chips" (cidades) */
ul.angulo-chips { list-style: none; padding: 0; margin-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
ul.angulo-chips li { margin: 0; }
ul.angulo-chips a {
	display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem;
	background: var(--a-base); border: 1px solid var(--a-line);
	color: var(--a-ink); font-weight: 600; text-decoration: none;
	transition: border-color .2s, color .2s, background .2s;
}
ul.angulo-chips a::before { content: ""; width: 7px; height: 7px; background: var(--a-accent); }
ul.angulo-chips a:hover { border-color: var(--a-accent); color: var(--a-accent); }
.angulo-section:not(.angulo-section--alt) ul.angulo-chips a { background: var(--a-surface); }

/* Perguntas frequentes */
.angulo-faq { margin-block-start: 0; }
.angulo-faq details { border-top: 1px solid var(--a-line); padding: 1.15rem 0; margin: 0 !important; }
.angulo-faq details:last-child { border-bottom: 1px solid var(--a-line); }
.angulo-faq summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
	font-family: var(--a-head); font-weight: 600; font-size: 1.125rem; line-height: 1.35; transition: color .2s;
}
.angulo-faq summary::-webkit-details-marker { display: none; }
.angulo-faq summary::after { content: "+"; flex: none; font-size: 1.6rem; line-height: 1; color: var(--a-accent); transition: transform .25s; }
.angulo-faq details[open] summary::after { transform: rotate(45deg); }
.angulo-faq summary:hover { color: var(--a-accent); }
.angulo-faq details p { margin-top: .75rem; color: var(--a-muted); }

/* Faixa de chamada final */
.angulo-cta {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--a-accent); color: #fff;
	padding-top: clamp(4rem, 8vw, 6rem) !important; padding-bottom: clamp(4rem, 8vw, 6rem) !important;
}
.angulo-cta::before {
	content: ""; position: absolute; z-index: -1; right: max(-40px, calc(50% - 680px)); bottom: -70px;
	width: clamp(220px, 26vw, 360px); aspect-ratio: 1;
	border-left: 22px solid rgba(255, 255, 255, .16); border-bottom: 22px solid rgba(255, 255, 255, .16);
}
.angulo-cta h2 { color: #fff; max-width: 20ch; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; }
.angulo-cta p { color: rgba(255, 255, 255, .92); max-width: 56ch; font-size: 1.125rem; }
.angulo-cta a:not(.wp-element-button) { color: #fff; }
.angulo-cta .wp-element-button { background: var(--a-ink); color: #fff; }
.angulo-cta .wp-element-button:hover { background: #fff; color: var(--a-ink); }

/* Rodapé */
.angulo-footer { background: var(--a-ink); color: var(--a-base); padding: 72px 24px 32px; }
.angulo-footer a { color: var(--a-base); }
.angulo-footer p { color: rgba(245, 244, 240, .78); }
.angulo-footer .wp-block-navigation a { text-decoration: none; color: rgba(245, 244, 240, .78); }
.angulo-footer .wp-block-navigation a:hover { color: var(--a-accent-light); }
.angulo-footer .wp-block-site-title { font-family: var(--a-head); font-weight: 700; font-size: 1.25rem; }
.angulo-footer .wp-block-site-title a { color: var(--a-base); }
.angulo-footer-title { font-family: var(--a-head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8125rem; color: var(--a-accent-light) !important; }
.angulo-footer-legal { border-top: 1px solid rgba(245, 244, 240, .16); padding-top: 24px; margin-top: 48px; font-size: .875rem; }

/* Movimento: entrada do hero e itens surgindo ao rolar. */
@media (prefers-reduced-motion: no-preference) {
	.angulo-hero > * { animation: angulo-in .8s cubic-bezier(.2, .7, .2, 1) both; }
	.angulo-hero > :nth-child(2) { animation-delay: .08s; }
	.angulo-hero > :nth-child(3) { animation-delay: .16s; }
	.angulo-hero > :nth-child(n+4) { animation-delay: .24s; }
	.angulo-hero::before { animation: angulo-draw 1.1s .2s cubic-bezier(.2, .7, .2, 1) both; }
	@supports (animation-timeline: view()) {
		.angulo-card, ul.angulo-checks li, ol.angulo-steps li, .angulo-faq details {
			animation: angulo-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
		}
	}
}
@keyframes angulo-in { from { opacity: 0; translate: 0 18px; } }
@keyframes angulo-rise { from { opacity: 0; translate: 0 28px; } }
@keyframes angulo-draw { from { opacity: 0; scale: .85; } }
