/* ==========================================================================
   ARM Arquitetura Hospitalar - estilos próprios
   Tudo o que for novo entra aqui. O theme.min.css não é editado à mão.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonte: Manrope, hospedada no site (licença SIL Open Font License)
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fontes/manrope-300.woff2") format("woff2");
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fontes/manrope-400.woff2") format("woff2");
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fontes/manrope-500.woff2") format("woff2");
}

/* 600 (seminegrito): só é baixado nas páginas que usam este peso */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fontes/manrope-600.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   Cores da marca
   O tema usa estas variáveis em botões, links, menu ativo etc.
   -------------------------------------------------------------------------- */
:root {
	--fonte: "Manrope", Arial, sans-serif;
	--texto: #3C3F3F;

	/* Primária: vinho */
	--primary: #7A2C33;
	--primary-100: #6b272d;
	--primary-200: #64242a;
	--primary-300: #5c2126;
	--primary--100: #893139;
	--primary--200: #90343c;
	--primary--300: #983740;
	--primary-rgba-0: rgba(122, 44, 51, 0);
	--primary-rgba-10: rgba(122, 44, 51, .1);
	--primary-rgba-20: rgba(122, 44, 51, .2);
	--primary-rgba-30: rgba(122, 44, 51, .3);
	--primary-rgba-40: rgba(122, 44, 51, .4);
	--primary-rgba-50: rgba(122, 44, 51, .5);
	--primary-rgba-60: rgba(122, 44, 51, .6);
	--primary-rgba-70: rgba(122, 44, 51, .7);
	--primary-rgba-80: rgba(122, 44, 51, .8);
	--primary-rgba-90: rgba(122, 44, 51, .9);

	/* Secundária: verde */
	--secondary: #497045;
	--secondary-100: #41633d;
	--secondary-200: #3d5d39;
	--secondary-300: #395735;
	--secondary--100: #517d4d;
	--secondary--200: #558351;
	--secondary--300: #598955;
	--secondary-rgba-0: rgba(73, 112, 69, 0);
	--secondary-rgba-10: rgba(73, 112, 69, .1);
	--secondary-rgba-20: rgba(73, 112, 69, .2);
	--secondary-rgba-30: rgba(73, 112, 69, .3);
	--secondary-rgba-40: rgba(73, 112, 69, .4);
	--secondary-rgba-50: rgba(73, 112, 69, .5);
	--secondary-rgba-60: rgba(73, 112, 69, .6);
	--secondary-rgba-70: rgba(73, 112, 69, .7);
	--secondary-rgba-80: rgba(73, 112, 69, .8);
	--secondary-rgba-90: rgba(73, 112, 69, .9);

	/* Terciária: grafite (também cor dos textos) */
	--tertiary: #3C3F3F;
	--tertiary-100: #323535;
	--tertiary-200: #2d2f2f;
	--tertiary-300: #282a2a;
	--tertiary--100: #464949;
	--tertiary--200: #4b4f4f;
	--tertiary--300: #505454;
	--tertiary-rgba-0: rgba(60, 63, 63, 0);
	--tertiary-rgba-10: rgba(60, 63, 63, .1);
	--tertiary-rgba-20: rgba(60, 63, 63, .2);
	--tertiary-rgba-30: rgba(60, 63, 63, .3);
	--tertiary-rgba-40: rgba(60, 63, 63, .4);
	--tertiary-rgba-50: rgba(60, 63, 63, .5);
	--tertiary-rgba-60: rgba(60, 63, 63, .6);
	--tertiary-rgba-70: rgba(60, 63, 63, .7);
	--tertiary-rgba-80: rgba(60, 63, 63, .8);
	--tertiary-rgba-90: rgba(60, 63, 63, .9);

	/* "Escuro" do tema e texto padrão passam a ser o grafite */
	--dark: #3C3F3F;
	--dark-100: #323535;
	--dark-200: #2d2f2f;
	--dark-300: #282a2a;
	--dark--100: #464949;
	--dark--200: #4b4f4f;
	--dark--300: #505454;
	--default: #3C3F3F;

	/* Variáveis equivalentes do Bootstrap */
	--bs-body-font-family: var(--fonte);
	--bs-body-color: #3C3F3F;
	--bs-heading-color: #3C3F3F;
	--bs-link-color: #7A2C33;
	--bs-link-color-rgb: 122, 44, 51;
	--bs-link-hover-color: #5c2126;
	--bs-link-hover-color-rgb: 92, 33, 38;
	--bs-primary: #7A2C33;
	--bs-primary-rgb: 122, 44, 51;
	--bs-secondary: #497045;
	--bs-secondary-rgb: 73, 112, 69;

	/* Rolagem suave para links internos (botão do hero).
	   Usa :root porque o tema define :root { scroll-behavior: auto } e venceria um seletor html. */
	scroll-behavior: smooth;
}

/* --------------------------------------------------------------------------
   Tipografia geral
   -------------------------------------------------------------------------- */
body {
	font-family: var(--fonte);
	font-size: 17px;
	line-height: 1.7;
	color: var(--texto);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--fonte);
	font-weight: 400;
	color: var(--texto);
	letter-spacing: 0;
	text-transform: none; /* o tema deixava alguns títulos em maiúsculas */
}

/* Só existem os pesos 300, 400 e 500: negrito usa 500 para o navegador não "engrossar" a letra artificialmente */
b, strong {
	font-weight: 500;
}

.btn {
	--bs-btn-border-radius: 10px;
	font-family: var(--fonte);
	font-weight: 500;
	border-radius: 10px;
}

/* Menu do rodapé */
html #footer .footer-nav nav > ul > li > a {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .08em;
}

/* "Entre em contato" no rodapé */
.rodape-rotulo {
	font-weight: 500;
	letter-spacing: .04em;
	color: #5F6262; /* contraste 5,9:1 sobre o cinza do rodapé (mínimo 4,5) */
}

/* Telefone do rodapé: grande e leve (menor no celular) */
#footer .font-weight-bold {
	font-weight: 300 !important;
}

#footer .text-8 {
	margin: .6rem 0 !important;
	padding: 0 !important;
	font-size: 2rem !important; /* cerca de 2 pontos menor que antes */
	line-height: 1.2;
}

@media (max-width: 991.98px) {
	#footer .text-8 {
		font-size: 1.45rem !important;
	}
}

/* Links do rodapé: hover na cor primária (o tema deixava branco) */
#footer a:not(.btn):not(.no-footer-css):hover,
#footer a:not(.btn):not(.no-footer-css):focus-visible {
	color: var(--primary);
}

/* --------------------------------------------------------------------------
   Cabeçalho no topo
   - Sobre o hero: transparente, logo branco e links brancos
   - Depois do hero (classe .is-solido, colocada pelo JavaScript): fundo branco,
     logo colorido, links em grafite e sombra leve
   -------------------------------------------------------------------------- */
:root {
	/* Feixe de linhas em onda (hero da Home e banner das páginas internas) */
	--grafismo-linhas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M-100 352C-85 356 -40 369 -10 376C20 383 50 389 80 393C110 397 140 400 170 400C200 400 230 398 260 395C290 391 320 384 350 377C380 369 410 359 440 348C470 337 500 324 530 311C560 299 590 285 620 272C650 259 680 246 710 234C740 223 770 211 800 203C830 194 860 186 890 181C920 176 950 173 980 172C1010 171 1040 173 1070 176C1100 179 1130 184 1160 190C1190 196 1220 204 1250 212C1280 221 1310 230 1340 238C1370 247 1400 256 1430 263C1460 270 1490 277 1520 282C1550 286 1580 290 1610 290C1640 291 1685 288 1700 287'/%3E%3Cpath d='M-100 381C-85 386 -40 399 -10 406C20 413 50 419 80 422C110 426 140 428 170 427C200 427 230 424 260 419C290 414 320 407 350 399C380 390 410 379 440 367C470 356 500 342 530 329C560 316 590 302 620 289C650 276 680 263 710 251C740 240 770 230 800 222C830 214 860 207 890 203C920 199 950 197 980 197C1010 198 1040 200 1070 204C1100 209 1130 215 1160 222C1190 230 1220 239 1250 248C1280 256 1310 266 1340 275C1370 284 1400 293 1430 300C1460 308 1490 314 1520 318C1550 322 1580 325 1610 325C1640 326 1685 321 1700 320'/%3E%3Cpath d='M-100 412C-85 416 -40 429 -10 436C20 442 50 448 80 451C110 454 140 455 170 454C200 453 230 449 260 443C290 437 320 429 350 420C380 410 410 398 440 386C470 374 500 360 530 346C560 333 590 318 620 305C650 292 680 280 710 269C740 258 770 248 800 241C830 234 860 228 890 226C920 223 950 222 980 223C1010 225 1040 229 1070 234C1100 240 1130 247 1160 256C1190 264 1220 274 1250 283C1280 293 1310 303 1340 313C1370 322 1400 331 1430 338C1460 345 1490 351 1520 355C1550 358 1580 360 1610 360C1640 359 1685 353 1700 351'/%3E%3Cpath d='M-100 442C-85 446 -40 460 -10 466C20 472 50 477 80 479C110 482 140 482 170 480C200 478 230 473 260 466C290 459 320 450 350 440C380 429 410 417 440 404C470 391 500 376 530 363C560 349 590 334 620 322C650 309 680 296 710 286C740 276 770 267 800 261C830 255 860 250 890 249C920 247 950 248 980 250C1010 253 1040 258 1070 265C1100 272 1130 280 1160 290C1190 299 1220 310 1250 320C1280 330 1310 341 1340 350C1370 359 1400 368 1430 375C1460 382 1490 388 1520 391C1550 394 1580 395 1610 393C1640 392 1685 384 1700 382'/%3E%3Cpath d='M-100 472C-85 476 -40 490 -10 496C20 501 50 506 80 507C110 509 140 508 170 505C200 502 230 496 260 488C290 481 320 470 350 459C380 448 410 434 440 421C470 407 500 392 530 378C560 365 590 350 620 338C650 325 680 313 710 304C740 294 770 286 800 281C830 276 860 273 890 272C920 272 950 274 980 278C1010 282 1040 289 1070 297C1100 304 1130 314 1160 324C1190 334 1220 346 1250 357C1280 367 1310 379 1340 388C1370 397 1400 406 1430 412C1460 419 1490 424 1520 426C1550 429 1580 429 1610 426C1640 424 1685 414 1700 412'/%3E%3Cpath d='M-100 503C-85 507 -40 520 -10 525C20 530 50 534 80 534C110 535 140 533 170 529C200 525 230 518 260 509C290 501 320 489 350 477C380 465 410 451 440 437C470 423 500 408 530 394C560 380 590 366 620 354C650 342 680 330 710 322C740 313 770 306 800 302C830 298 860 296 890 297C920 298 950 302 980 307C1010 312 1040 320 1070 329C1100 338 1130 349 1160 360C1190 371 1220 383 1250 394C1280 405 1310 416 1340 426C1370 435 1400 444 1430 449C1460 455 1490 460 1520 461C1550 463 1580 462 1610 458C1640 455 1685 444 1700 441'/%3E%3Cpath d='M-100 533C-85 537 -40 550 -10 554C20 559 50 561 80 561C110 561 140 558 170 553C200 547 230 539 260 530C290 520 320 508 350 495C380 482 410 467 440 453C470 438 500 423 530 409C560 395 590 381 620 370C650 358 680 348 710 340C740 332 770 327 800 324C830 321 860 321 890 323C920 325 950 330 980 337C1010 343 1040 353 1070 363C1100 373 1130 385 1160 396C1190 408 1220 421 1250 432C1280 443 1310 455 1340 464C1370 473 1400 481 1430 486C1460 491 1490 495 1520 495C1550 496 1580 494 1610 490C1640 485 1685 472 1700 469'/%3E%3Cpath d='M-100 564C-85 567 -40 579 -10 583C20 586 50 588 80 587C110 586 140 581 170 575C200 569 230 559 260 549C290 538 320 525 350 511C380 498 410 482 440 468C470 453 500 437 530 424C560 410 590 397 620 386C650 375 680 365 710 359C740 352 770 348 800 346C830 344 860 346 890 349C920 353 950 359 980 367C1010 375 1040 386 1070 397C1100 408 1130 421 1160 433C1190 445 1220 459 1250 470C1280 481 1310 493 1340 501C1370 510 1400 518 1430 522C1460 527 1490 529 1520 529C1550 529 1580 525 1610 520C1640 514 1685 500 1700 496'/%3E%3Cpath d='M-100 594C-85 597 -40 608 -10 611C20 614 50 614 80 612C110 609 140 604 170 597C200 589 230 579 260 567C290 555 320 541 350 527C380 513 410 497 440 482C470 467 500 452 530 438C560 425 590 412 620 402C650 392 680 383 710 378C740 372 770 369 800 369C830 369 860 372 890 377C920 382 950 390 980 399C1010 408 1040 420 1070 432C1100 444 1130 458 1160 471C1190 483 1220 497 1250 508C1280 520 1310 531 1340 539C1370 547 1400 554 1430 558C1460 562 1490 563 1520 562C1550 560 1580 556 1610 549C1640 542 1685 526 1700 522'/%3E%3Cpath d='M-100 624C-85 626 -40 636 -10 638C20 640 50 639 80 636C110 632 140 626 170 617C200 608 230 597 260 584C290 572 320 557 350 542C380 527 410 511 440 496C470 481 500 466 530 453C560 440 590 428 620 419C650 409 680 402 710 398C740 394 770 392 800 393C830 395 860 399 890 405C920 412 950 421 980 432C1010 442 1040 455 1070 468C1100 481 1130 495 1160 509C1190 522 1220 535 1250 547C1280 558 1310 569 1340 577C1370 584 1400 590 1430 593C1460 596 1490 596 1520 594C1550 591 1580 585 1610 577C1640 570 1685 552 1700 547'/%3E%3Cpath d='M-100 653C-85 655 -40 664 -10 665C20 665 50 663 80 659C110 654 140 646 170 636C200 627 230 614 260 600C290 587 320 571 350 556C380 541 410 524 440 510C470 495 500 480 530 467C560 455 590 444 620 436C650 427 680 421 710 418C740 416 770 416 800 418C830 421 860 427 890 435C920 443 950 454 980 465C1010 477 1040 491 1070 505C1100 518 1130 534 1160 547C1190 560 1220 574 1250 585C1280 596 1310 607 1340 614C1370 621 1400 626 1430 627C1460 629 1490 628 1520 624C1550 621 1580 614 1610 605C1640 596 1685 576 1700 571'/%3E%3Cpath d='M-100 682C-85 683 -40 690 -10 690C20 690 50 687 80 681C110 675 140 665 170 655C200 644 230 630 260 616C290 602 320 585 350 570C380 554 410 537 440 523C470 508 500 494 530 482C560 470 590 460 620 453C650 446 680 441 710 440C740 439 770 440 800 444C830 449 860 456 890 466C920 475 950 487 980 500C1010 513 1040 528 1070 542C1100 556 1130 572 1160 586C1190 599 1220 613 1250 624C1280 634 1310 644 1340 650C1370 656 1400 660 1430 661C1460 662 1490 659 1520 654C1550 649 1580 641 1610 631C1640 621 1685 600 1700 594'/%3E%3Cpath d='M-100 710C-85 711 -40 716 -10 715C20 713 50 709 80 702C110 694 140 684 170 672C200 660 230 645 260 630C290 615 320 598 350 583C380 567 410 550 440 536C470 522 500 508 530 497C560 486 590 477 620 471C650 465 680 462 710 462C740 463 770 466 800 472C830 478 860 487 890 497C920 508 950 522 980 536C1010 549 1040 565 1070 580C1100 595 1130 611 1160 625C1190 638 1220 652 1250 662C1280 672 1310 681 1340 686C1370 691 1400 694 1430 694C1460 693 1490 689 1520 683C1550 677 1580 667 1610 656C1640 645 1685 622 1700 616'/%3E%3Cpath d='M-100 738C-85 738 -40 741 -10 739C20 736 50 730 80 721C110 713 140 701 170 688C200 675 230 659 260 644C290 628 320 611 350 595C380 579 410 563 440 549C470 535 500 522 530 512C560 502 590 494 620 490C650 486 680 484 710 486C740 488 770 493 800 500C830 507 860 518 890 530C920 542 950 557 980 572C1010 587 1040 604 1070 619C1100 634 1130 650 1160 664C1190 677 1220 690 1250 700C1280 709 1310 717 1340 721C1370 725 1400 727 1430 725C1460 723 1490 718 1520 711C1550 703 1580 692 1610 680C1640 668 1685 644 1700 637'/%3E%3Cpath d='M-100 764C-85 764 -40 765 -10 761C20 757 50 750 80 740C110 730 140 717 170 703C200 689 230 673 260 657C290 641 320 623 350 607C380 591 410 575 440 562C470 549 500 537 530 528C560 519 590 513 620 510C650 507 680 507 710 510C740 514 770 520 800 529C830 538 860 551 890 564C920 577 950 594 980 609C1010 625 1040 642 1070 658C1100 673 1130 689 1160 703C1190 716 1220 728 1250 737C1280 746 1310 752 1340 756C1370 759 1400 759 1430 756C1460 753 1490 746 1520 737C1550 728 1580 716 1610 703C1640 689 1685 665 1700 657'/%3E%3Cpath d='M-100 790C-85 789 -40 788 -10 783C20 777 50 768 80 757C110 746 140 732 170 717C200 703 230 685 260 669C290 653 320 635 350 619C380 603 410 588 440 575C470 563 500 552 530 544C560 537 590 532 620 530C650 529 680 531 710 536C740 541 770 550 800 560C830 571 860 584 890 599C920 613 950 631 980 647C1010 663 1040 681 1070 697C1100 713 1130 729 1160 742C1190 754 1220 766 1250 774C1280 782 1310 787 1340 789C1370 791 1400 790 1430 785C1460 781 1490 773 1520 763C1550 752 1580 739 1610 725C1640 710 1685 685 1700 677'/%3E%3C/g%3E%3C/svg%3E");
	--altura-topo: 116px; /* sobre o hero: mais espaço acima do logo e do menu */
	--altura-topo-solido: 76px;
}

.topo {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1030;
	transition: background-color .3s ease, box-shadow .3s ease;
}

.topo-conteudo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--altura-topo);
	transition: height .3s ease;
}

.topo-logo {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 135px; /* sobre o hero: 10% menor que o original de 150px */
	transition: width .3s ease;
}

.topo-logo img {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity .3s ease;
}

.topo-logo-cor {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.topo-menu ul {
	display: flex;
	gap: 2.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topo-menu a {
	position: relative;
	display: block;
	padding: .5rem 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	transition: color .2s ease;
}

/* Sublinhado do item ativo e do hover */
.topo-menu a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}

.topo-menu a:hover::after,
.topo-menu a.active::after {
	transform: scaleX(1);
}

/* Sem o sublinhado padrão de link: fica só a barra animada */
.topo-menu a:hover,
.topo-menu a:focus,
.topo-menu a:active {
	text-decoration: none;
}

.topo-menu a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.topo-menu-botao {
	display: none;
}

/* Estado branco (depois do hero, ou em páginas sem hero) */
.topo.is-solido,
.topo.menu-aberto {
	background-color: #fff;
	box-shadow: 0 2px 18px rgba(0, 0, 0, .08);
}

.topo.is-solido .topo-conteudo {
	height: var(--altura-topo-solido);
}

.topo.is-solido .topo-logo {
	width: 120px; /* no fundo branco: 20% menor */
}

.topo.is-solido .topo-logo-branco,
.topo.menu-aberto .topo-logo-branco {
	opacity: 0;
}

.topo.is-solido .topo-logo-cor,
.topo.menu-aberto .topo-logo-cor {
	opacity: 1;
}

.topo.is-solido .topo-menu a {
	color: var(--texto);
}

.topo.is-solido .topo-menu a:hover,
.topo.is-solido .topo-menu a.active {
	color: var(--primary);
}

/* Páginas sem hero: o conteúdo começa abaixo do cabeçalho */
.sem-hero .main {
	padding-top: var(--altura-topo-solido);
}

/* Celular e tablet: botão de menu e painel branco */
@media (max-width: 991.98px) {
	:root {
		--altura-topo: 80px; /* sobre o hero: logo e botão 10px mais abaixo */
		--altura-topo-solido: 60px;
	}

	.topo-logo,
	.topo.is-solido .topo-logo {
		width: 84px; /* 30% menor */
	}

	.topo-menu-botao {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 34px; /* cerca de 30% menor */
		height: 34px;
		padding: 0;
		color: #fff;
		background: transparent;
		border: 1px solid rgba(255, 255, 255, .6);
		border-radius: 10px;
		cursor: pointer;
		transition: background-color .3s ease, border-color .3s ease;
	}

	.topo.is-solido .topo-menu-botao,
	.topo.menu-aberto .topo-menu-botao {
		background-color: var(--primary);
		border-color: var(--primary);
	}

	.topo-menu {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: .25rem 16px 1rem;
		background-color: #fff;
		box-shadow: 0 12px 18px rgba(0, 0, 0, .08);
	}

	.topo.menu-aberto .topo-menu {
		display: block;
	}

	.topo-menu ul {
		flex-direction: column;
		gap: 0;
	}

	.topo-menu a,
	.topo.is-solido .topo-menu a {
		padding: .95rem 0;
		color: var(--texto);
		border-bottom: 1px solid #eee;
	}

	.topo-menu li:last-child a {
		border-bottom: 0;
	}

	.topo-menu a::after {
		display: none;
	}

	.topo-menu a.active,
	.topo-menu a:hover {
		color: var(--primary);
	}
}

/* --------------------------------------------------------------------------
   Acessibilidade: link "Pular para o conteúdo" e foco visível no teclado
   -------------------------------------------------------------------------- */
.pular-conteudo {
	position: absolute;
	top: -80px;
	left: 16px;
	z-index: 2000;
	padding: .6rem 1.1rem;
	font-weight: 500;
	color: #fff;
	background-color: var(--primary);
	border-radius: 10px;
	transition: top .2s ease;
}

.pular-conteudo:focus {
	top: 12px;
	color: #fff;
	text-decoration: none;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

#conteudo:focus {
	outline: none;
}

/* Foco do teclado: contorno vinho em links e campos; anel duplo nos botões,
   que aparece tanto em fundo claro quanto sobre imagens */
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

.btn:focus-visible,
.botao-flutuante:focus-visible,
.topo-menu-botao:focus-visible,
.modal-fechar:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary);
}

/* Sobre o hero (fundo escuro) o contorno dos links fica branco */
.hero a:not(.btn):focus-visible,
.topo:not(.is-solido):not(.menu-aberto) .topo-logo:focus-visible {
	outline-color: #fff;
}

/* --------------------------------------------------------------------------
   Ícones em SVG (substituem o Font Awesome)
   -------------------------------------------------------------------------- */
.icone {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background-color: #1c1c1c;
}

.hero-slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
}

.hero-slide.is-active {
	opacity: 1;
}

/* Camada escura para garantir o contraste do texto */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .55) 0, rgba(0, 0, 0, 0) 200px),
		linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 55%, rgba(0, 0, 0, .25) 100%);
}

/* Grafismo orgânico: feixe de linhas em onda, de fora a fora, em branco com 6% de opacidade */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: var(--grafismo-linhas) center / cover no-repeat;
	opacity: .06;
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	padding-top: calc(var(--altura-topo) + 2rem);
	padding-bottom: 2.5rem;
}

.hero .hero-title {
	max-width: 820px;
	margin: 0 0 2.25rem;
	color: #fff;
	font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.4rem);
	font-weight: 300;
	line-height: 1.12;
	letter-spacing: 0;
	text-transform: none;
	text-wrap: balance; /* distribui as palavras entre as linhas, sem deixar uma palavra sozinha */
}

/* Segunda parte do H1: mesma tag, tamanho menor */
.hero .hero-title-sub {
	display: inline-block;
	max-width: 680px;
	margin-top: 1rem;
	font-size: clamp(1.15rem, .9rem + .9vw, 1.65rem);
	font-weight: 300;
	line-height: 1.4;
	color: rgba(255, 255, 255, .92);
	text-wrap: balance;
}

/* Números na parte de baixo do hero */
.hero-numeros-area {
	position: relative;
	z-index: 3;
	padding-bottom: 2rem;
}

.hero-numeros {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 1.5rem 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .25);
}

.hero-numeros li {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 1rem;
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	color: #fff;
	border-left: 1px solid rgba(255, 255, 255, .25);
}

.hero-numeros li:first-child {
	border-left: 0;
}

.hero-subtitle {
	max-width: 620px;
	margin: 0 0 2rem;
	color: rgba(255, 255, 255, .9);
	font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
	font-weight: 300;
	line-height: 1.6;
}

.hero-botoes {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.btn-hero {
	padding: .65rem 1.5rem;
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: .02em;
}

/* Botão secundário: contorno branco sobre a imagem */
.btn-hero-secundario {
	color: #fff;
	background-color: transparent;
	border: 2px solid rgba(255, 255, 255, .85);
}

.btn-hero-secundario:hover,
.btn-hero-secundario:focus-visible {
	color: var(--texto);
	background-color: #fff;
	border-color: #fff;
}

/* Celular e tablet: texto centralizado e camada escura uniforme */
@media (max-width: 991.98px) {
	.hero {
		text-align: center;
	}

	.hero::after {
		background:
			linear-gradient(180deg, rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, 0) 140px),
			rgba(0, 0, 0, .58);
	}

	.hero-numeros {
		grid-template-columns: repeat(2, 1fr);
		padding-top: 0;
	}

	.hero-numeros li,
	.hero-numeros li:first-child {
		padding: .9rem .5rem;
		font-size: .95rem;
		border-left: 0;
	}

	/* H1 um pouco menor no celular */
	.hero .hero-title {
		font-size: 1.85rem;
	}

	.hero .hero-title-sub {
		font-size: 1.05rem;
	}

	.hero-numeros li:nth-child(even) {
		border-left: 1px solid rgba(255, 255, 255, .25);
	}

	.hero-numeros li:nth-child(n+3) {
		border-top: 1px solid rgba(255, 255, 255, .25);
	}

	.hero .hero-title,
	.hero-subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.hero-botoes {
		justify-content: center;
	}
}

/* Quem ativou "reduzir movimento": sem rolagem suave nem transição */
@media (prefers-reduced-motion: reduce) {
	:root {
		scroll-behavior: auto;
	}

	.hero-slide {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Seções da Home
   -------------------------------------------------------------------------- */
.secao {
	padding: 100px 0;
}

/* Seção Especialistas (Home): texto centralizado no celular e tablet */
@media (max-width: 991.98px) {
	#apresentacao {
		text-align: center;
	}
}

/* Destino do botão "Conheça a ARM": desconta a altura do cabeçalho fixo */
#apresentacao {
	scroll-margin-top: var(--altura-topo-solido);
}

.secao-cinza {
	background-color: #f6f6f5;
}

.secao .secao-titulo {
	text-wrap: balance;
	margin: 0 0 1.5rem;
	font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
	font-weight: 300;
	line-height: 1.2;
}

.secao-titulo.text-center {
	margin-bottom: 3.5rem;
}

.secao-texto {
	margin: 0 0 2rem;
	font-size: 1.15rem;
	line-height: 1.75;
}

@media (max-width: 991.98px) {
	.secao {
		padding: 70px 0;
	}

	.secao-titulo.text-center {
		margin-bottom: 2.5rem;
	}
}

/* O que projetamos: cards */
.cards-projetamos {
	row-gap: 1.5rem;
}

.card-tipo {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	min-height: 300px;
	padding: 1.75rem;
	overflow: hidden;
	color: #fff;
	background-color: #2a2a2a;
	border-radius: 10px;
	isolation: isolate;
}

/* Imagem de fundo do card */
.card-tipo-imagem {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

/* Degradê escuro embaixo para o título ficar legível */
.card-tipo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .72) 100%);
	transition: background-color .3s ease;
}

.card-tipo:hover .card-tipo-imagem {
	transform: scale(1.05);
}

.card-tipo:hover::before {
	background-color: var(--primary-rgba-30);
}

.card-tipo-icone {
	width: 40px;
	height: 40px;
	margin-bottom: .9rem;
	fill: none;
	stroke: #fff;
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.card-tipo h3 {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.3;
	color: #fff;
}

/* Celular: cards mais baixos, ícone ao lado do título */
@media (max-width: 767.98px) {
	.cards-projetamos {
		row-gap: 1rem;
	}

	.card-tipo {
		flex-direction: row;
		justify-content: flex-start;
		align-items: flex-end;
		gap: 1rem;
		min-height: 180px;
		padding: 1.25rem 1.5rem;
	}

	.card-tipo-icone {
		flex: 0 0 auto;
		width: 34px;
		height: 34px;
		margin: 0;
	}

	.card-tipo h3 {
		font-size: 1.2rem;
	}
}

/* Etapas numeradas */
.etapas {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
	counter-reset: etapa;
}

.etapas li {
	position: relative;
	padding-top: 1.25rem;
	border-top: 1px solid #d9d9d9;
	counter-increment: etapa;
}

.etapas li::before {
	content: "0" counter(etapa);
	display: block;
	margin-bottom: .75rem;
	font-size: 2.6rem;
	font-weight: 300;
	line-height: 1;
	color: var(--primary);
}

.etapas h3 {
	margin: 0 0 .5rem;
	font-size: 1.3rem;
	font-weight: 500;
}

.etapas p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
}

/* Etapas: 2 colunas no tablet e 1 no celular */
@media (max-width: 991.98px) {
	.etapas {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 2.5rem;
	}
}

@media (max-width: 575.98px) {
	.etapas {
		grid-template-columns: 1fr;
	}
}

/* Destaque: "Também fazemos projetos de reforma, ampliação e retrofit." (cor secundária) */
.etapas-nota {
	max-width: 720px;
	margin: 0 auto;
	padding: 1.1rem 1.5rem;
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	color: var(--secondary);
	background-color: var(--secondary-rgba-10);
	border-left: 3px solid var(--secondary);
	border-radius: 10px;
}

@media (max-width: 575.98px) {
	.etapas-nota {
		font-size: 1rem;
	}
}

/* Banner para a página Projetos */
.banner-projetos {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 420px;
	overflow: hidden;
	text-align: center;
	background-color: #1c1c1c;
}

.banner-projetos-imagem {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banner-projetos::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}

.banner-projetos-conteudo {
	position: relative;
	z-index: 1;
}

.banner-projetos h2 {
	margin: 0 0 .75rem;
	color: #fff;
	font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
	font-weight: 300;
}

.banner-projetos p {
	text-wrap: balance;
	max-width: 560px;
	margin: 0 auto 1.75rem;
	font-size: 1.1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .9);
}

/* Paralaxe no desktop: a imagem fica mais alta que o banner e o JavaScript
   desloca na rolagem. No celular e com "reduzir movimento", fica parada. */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
	.paralaxe-imagem {
		top: -20%;
		height: 140%;
		will-change: transform;
	}
}

/* Grafismo: grade técnica na seção de apresentação, sumindo de cima para baixo */
.secao-grade {
	position: relative;
}

.secao-grade::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(60, 63, 63, .08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(60, 63, 63, .08) 1px, transparent 1px);
	background-size: 28px 28px;
	background-position: center top;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
	mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
	pointer-events: none;
}

.secao-grade > .container {
	position: relative;
}

/* Perguntas frequentes: sanfona com <details> */
.faq {
	max-width: 880px;
	margin: 0 auto;
	border-top: 1px solid #e0e0e0;
}

.faq details {
	border-bottom: 1px solid #e0e0e0;
}

.faq summary {
	position: relative;
	display: block;
	padding: 1.35rem 3rem 1.35rem 0;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary h3 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.4;
	transition: color .2s ease;
}

.faq summary:hover h3,
.faq details[open] summary h3 {
	color: var(--primary);
}

/* Sinal de + que vira − ao abrir */
.faq summary::before,
.faq summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: .5rem;
	width: 16px;
	height: 1.5px;
	background-color: var(--primary);
	transition: transform .25s ease;
}

.faq summary::after {
	transform: rotate(90deg);
}

.faq details[open] summary::after {
	transform: rotate(0deg);
}

.faq-resposta {
	overflow: hidden;
}

.faq-resposta p {
	margin: 0;
	padding: 0 3rem 1.5rem 0;
	line-height: 1.75;
}

.faq summary:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 4px;
}

/* Redes sociais e separador no rodapé */
.rodape-social {
	display: flex;
	gap: .75rem;
	justify-content: flex-end;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.rodape-social a {
	display: flex;
	color: var(--texto);
}

.rodape-separador {
	margin: 0 .35rem;
	opacity: .5;
}

@media (max-width: 991.98px) {
	.rodape-social {
		justify-content: center;
	}

	/* No celular a Política fica na linha de baixo, sem o ponto separador */
	.rodape-separador {
		display: none;
	}
}

/* Endereço no rodapé */
.rodape-endereco {
	margin: .5rem 0 0;
	font-size: .95rem;
	font-style: normal;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Botão flutuante "Agende uma reunião"
   -------------------------------------------------------------------------- */
.botao-flutuante {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1040;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: .8rem 1.3rem;
	font-family: var(--fonte);
	font-size: 1rem;
	font-weight: 500;
	color: #fff;
	background-color: var(--primary);
	border: 0;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}

.botao-flutuante.is-oculto {
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	pointer-events: none;
}

.botao-flutuante {
	transition: background-color .2s ease, transform .3s ease, opacity .3s ease, visibility .3s;
}

.botao-flutuante:hover,
.botao-flutuante:focus-visible {
	background-color: var(--primary-300);
	transform: translateY(-2px);
}



/* Celular: botão mais quadrado, com ícone em cima e o texto em duas linhas */
@media (max-width: 575.98px) {
	.botao-flutuante {
		right: 14px;
		bottom: 14px;
		flex-direction: column;
		gap: .3rem;
		width: 92px;
		padding: .75rem .5rem;
		font-size: .8rem;
		line-height: 1.15;
		text-align: center;
	}

	.botao-flutuante .icone {
		width: 1.5rem;
		height: 1.5rem;
	}

	.botao-flutuante-texto > span {
		display: block;
	}

}

/* --------------------------------------------------------------------------
   Modal "Agende uma reunião"
   -------------------------------------------------------------------------- */
.modal-reuniao {
	width: min(520px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	padding: 2.25rem 2rem 2rem;
	color: var(--texto);
	border: 0;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.modal-reuniao::backdrop {
	background: rgba(28, 28, 28, .65);
}

.modal-reuniao h2 {
	margin: 0 0 .5rem;
	font-size: 1.8rem;
	font-weight: 300;
}

.modal-intro {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.6;
}

.modal-fechar {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	padding: 8px;
	color: var(--texto);
	background: none;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}

.modal-fechar:hover,
.modal-fechar:focus-visible {
	color: var(--primary);
	background-color: #f2f2f2;
}

.form-envio .campo {
	margin-bottom: 1rem;
}

.form-envio label {
	display: block;
	margin-bottom: .3rem;
	font-size: .95rem;
	font-weight: 500;
}

.form-envio input[type="text"],
.form-envio input[type="email"],
.form-envio input[type="tel"],
.form-envio select,
.form-envio textarea {
	width: 100%;
	padding: .65rem .85rem;
	font-family: var(--fonte);
	font-size: 1rem;
	color: var(--texto);
	background-color: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 10px;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.form-envio input:focus,
.form-envio select:focus,
.form-envio textarea:focus {
	border-color: var(--primary);
	outline: 0;
	box-shadow: 0 0 0 3px var(--primary-rgba-20);
}

.form-envio textarea {
	resize: vertical;
}

/* Erro só aparece depois de tentar enviar */
.form-envio.foi-validado :invalid {
	border-color: #b3261e;
}

.campo-check {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
}

.campo-check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: .2rem;
	accent-color: var(--primary);
}

.campo-check label {
	margin: 0;
	font-weight: 400;
	line-height: 1.5;
}

.form-envio.foi-validado .campo-check input:invalid + label {
	color: #b3261e;
}

.campo-oculto {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-status {
	min-height: 1.5em;
	margin: 0 0 1rem;
	font-size: .95rem;
}

.form-status.is-ok {
	color: var(--secondary);
}

.form-status.is-erro {
	color: #b3261e;
}

.form-reuniao .btn {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Página 404
   -------------------------------------------------------------------------- */
.pagina-404 {
	display: flex;
	align-items: center;
	min-height: 75vh;
	padding: 100px 0;
}

.pagina-404-numero {
	margin: 0 0 .5rem;
	font-size: clamp(5rem, 3rem + 8vw, 10rem);
	font-weight: 300;
	line-height: 1;
	color: var(--primary);
	opacity: .18;
}

.pagina-404 h1 {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
	font-weight: 300;
}

.pagina-404-texto {
	max-width: 560px;
	margin: 0 0 2rem;
	font-size: 1.15rem;
}

.btn-404-secundario {
	color: var(--texto);
	background-color: transparent;
	border: 1px solid #cfcfcf;
}

.btn-404-secundario:hover,
.btn-404-secundario:focus-visible {
	color: var(--primary);
	border-color: var(--primary);
}

@media (max-width: 991.98px) {
	.pagina-404 {
		text-align: center;
	}

	.pagina-404-texto {
		margin-left: auto;
		margin-right: auto;
	}
}

/* --------------------------------------------------------------------------
   Banner das páginas internas (inc/banner-interno.php)
   40% da altura da tela no desktop (entre 340 e 460px); 280px no celular
   -------------------------------------------------------------------------- */
.banner-interno {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 40vh;
	min-height: 340px;
	max-height: 460px;
	overflow: hidden;
	background-color: #1c1c1c;
}

.banner-interno-imagem {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Mesma camada escura e mesmo feixe de linhas da Home */
.banner-interno::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .55) 0, rgba(0, 0, 0, 0) 200px),
		linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 55%, rgba(0, 0, 0, .3) 100%);
}

.banner-interno::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: var(--grafismo-linhas) center / cover no-repeat;
	opacity: .06;
	pointer-events: none;
}

.banner-interno-conteudo {
	position: relative;
	z-index: 3;
	padding-top: var(--altura-topo);
	padding-bottom: 2.75rem;
}

.banner-interno h1 {
	margin: 0;
	font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
	font-weight: 300;
	line-height: 1.15;
	color: #fff;
	text-wrap: balance;
}

/* Caminho da página: Home / Página */
.migalhas ol {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0 0 .75rem;
	padding: 0;
	font-size: .8rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	list-style: none;
	color: #fff;
}

.migalhas li + li::before {
	content: "/";
	margin-right: .5rem;
	opacity: .6;
}

.migalhas a {
	color: rgba(255, 255, 255, .8);
	text-decoration: none;
}

.migalhas a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Versão para fundo claro (páginas sem banner) */
.migalhas-escuras ol {
	color: var(--texto);
}

.migalhas-escuras a {
	color: var(--primary);
}

.migalhas-escuras a:hover {
	color: var(--primary-300);
}

@media (max-width: 991.98px) {
	.banner-interno {
		height: 280px;
		min-height: 0;
		max-height: none;
		text-align: center;
	}

	.banner-interno::after {
		background:
			linear-gradient(180deg, rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, 0) 140px),
			rgba(0, 0, 0, .58);
	}

	.banner-interno-conteudo {
		padding-bottom: 2rem;
	}

	.migalhas ol {
		justify-content: center;
	}
}

/* --------------------------------------------------------------------------
   Quem Somos
   -------------------------------------------------------------------------- */
.texto-corrido p {
	margin: 0 0 1.25rem;
	font-size: 1.1rem;
	line-height: 1.8;
}

.texto-corrido p:last-child {
	margin-bottom: 0;
}

.secao-titulo.text-center + .secao-intro {
	margin-top: -2.25rem;
}

.secao-intro {
	margin: 0 0 2.5rem;
	font-size: 1.1rem;
}

/* Missão, visão e valores */
.cards-mvv {
	row-gap: 1.5rem;
}

.card-mvv {
	height: 100%;
	padding: 2rem;
	background-color: #fff;
	border-top: 3px solid var(--primary);
	border-radius: 10px;
}

.card-mvv-icone {
	width: 44px;
	height: 44px;
	margin-bottom: 1.1rem;
	fill: none;
	stroke: var(--primary);
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.card-mvv h3 {
	margin: 0 0 .75rem;
	font-size: 1.35rem;
	font-weight: 500;
}

.card-mvv p {
	margin: 0;
	line-height: 1.7;
}

/* Seção com foto de fundo (paralaxe no desktop) e camada escura para texto branco */
.secao-foto {
	position: relative;
	padding: 130px 0;
	overflow: hidden;
	color: #fff;
	background-color: #1c1c1c;
}

.secao-foto .paralaxe-imagem {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.secao-foto::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .62) 60%, rgba(0, 0, 0, .5) 100%);
}

.secao-foto > .container {
	position: relative;
	z-index: 2;
}

/* Paralaxe no desktop: imagem mais alta que a seção, para sobrar margem ao deslocar */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
	.secao-foto .paralaxe-imagem {
		top: -20%;
		height: 140%;
		will-change: transform;
	}
}

.secao-foto .secao-titulo,
.secao-foto p {
	color: #fff;
}

.secao-foto p {
	opacity: .92;
}

@media (max-width: 991.98px) {
	.secao-foto {
		padding: 90px 0;
	}

	.secao-foto::after {
		background: rgba(0, 0, 0, .66);
	}
}

/* Lista de serviços com marcação verde */
.lista-servicos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lista-servicos li {
	position: relative;
	padding: 1rem 0 1rem 2rem;
	line-height: 1.5;
	border-bottom: 1px solid #e6e6e6;
}

.lista-servicos li::before {
	content: "";
	position: absolute;
	top: 1.35rem;
	left: 2px;
	width: 14px;
	height: 8px;
	border-bottom: 2px solid var(--secondary);
	border-left: 2px solid var(--secondary);
	transform: rotate(-45deg);
}

/* Clientes: nomes em etiquetas (os logos entram depois) */
/* Flex para a última linha incompleta ficar centralizada */
.lista-clientes {
	--colunas: 4;
	--espaco: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--espaco);
	max-width: 1000px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.lista-clientes li {
	flex: 0 0 calc((100% - (var(--colunas) - 1) * var(--espaco)) / var(--colunas));
	padding: .5rem;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid #e6e6e4;
	border-radius: 10px;
}

.lista-clientes img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 991.98px) {
	.lista-clientes {
		--colunas: 3;
	}
}

@media (max-width: 575.98px) {
	.lista-clientes {
		--colunas: 2;
		--espaco: .75rem;
	}
}

@media (max-width: 991.98px) {
	.lista-servicos {
		grid-template-columns: repeat(2, 1fr);
	}

	.secao .row > [class*="col-lg-4"] .secao-titulo {
		text-align: center;
	}
}

@media (max-width: 575.98px) {
	.lista-servicos {
		grid-template-columns: 1fr;
	}

}

/* --------------------------------------------------------------------------
   Páginas de texto (Política de Privacidade)
   -------------------------------------------------------------------------- */
.pagina-texto .container {
	max-width: 800px;
}

.pagina-texto h1 {
	margin: 0 0 .5rem;
	font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
	font-weight: 300;
}

.pagina-texto-data {
	margin: 0 0 2.5rem;
	font-size: .95rem;
	opacity: .7;
}

.pagina-texto h2 {
	margin: 2.5rem 0 .75rem;
	font-size: 1.4rem;
	font-weight: 500;
}

.pagina-texto p,
.pagina-texto li {
	line-height: 1.8;
}

.pagina-texto ul {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
}

.pagina-texto li {
	margin-bottom: .5rem;
}

.pagina-texto li::marker {
	color: var(--primary);
}

/* --------------------------------------------------------------------------
   Projetos: abertura e grade de cards
   -------------------------------------------------------------------------- */
.secao-abertura {
	padding-bottom: 0;
}

.abertura-texto {
	max-width: 860px;
	font-size: 1.3rem;
	font-weight: 600;
	margin: 0 auto;
	text-align: center;
}

.secao-projetos {
	padding-top: 60px;
}

.lista-projetos {
	row-gap: 2rem;
}

.projeto-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid #e6e6e4;
	border-radius: 10px;
	transition: box-shadow .3s ease, transform .3s ease;
}

.projeto-card:hover {
	box-shadow: 0 14px 34px rgba(0, 0, 0, .1);
	transform: translateY(-3px);
}

/* Foto de capa: botão que abre a galeria */
.projeto-foto {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background-color: #ecebe8;
	border: 0;
	cursor: zoom-in;
}

.projeto-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.projeto-foto:hover img,
.projeto-foto:focus-visible img {
	transform: scale(1.05);
}

.projeto-foto:focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: -3px;
}

.projeto-fotos-total {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .3rem .65rem;
	font-size: .85rem;
	font-weight: 500;
	color: #fff;
	background-color: rgba(28, 28, 28, .7);
	border-radius: 10px;
}

.projeto-fotos-total .icone {
	width: 1rem;
	height: 1rem;
}

/* Projeto sem fotos: placa neutra com ícone */
.projeto-sem-foto {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: default;
}

.projeto-sem-foto .icone {
	width: 4rem;
	height: 4rem;
	color: #b9b6b0;
	stroke-width: 1.2;
}

.projeto-info {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem 1.5rem 1.75rem;
}

.projeto-etiqueta {
	align-self: flex-start;
	margin-bottom: .75rem;
	padding: .2rem .6rem;
	font-size: .78rem;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--secondary);
	border: 1px solid var(--secondary);
	border-radius: 10px;
}

.projeto-info h2 {
	margin: 0 0 .25rem;
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.3;
	text-transform: none;
	color: var(--texto);
}

.projeto-cidade {
	margin: 0 0 1rem;
	font-size: .95rem;
	color: var(--primary);
}

.projeto-descricao {
	margin: 0 0 1.25rem;
	line-height: 1.65;
}

.projeto-dados {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin: auto 0 .9rem;
	padding: 0;
	list-style: none;
}

.projeto-dados li {
	padding: .2rem .65rem;
	font-size: .85rem;
	background-color: #f2f1ef;
	border-radius: 10px;
}

.projeto-escopo {
	margin: 0;
	font-size: .9rem;
	line-height: 1.55;
	opacity: .8;
}

@media (max-width: 991.98px) {
	.secao-projetos {
		padding-top: 40px;
	}
}

/* --------------------------------------------------------------------------
   Galeria de fotos (dialog em tela cheia)
   -------------------------------------------------------------------------- */
.galeria {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	color: #fff;
	background-color: rgba(18, 18, 18, .96);
	border: 0;
}

.galeria[open] {
	display: flex;
	flex-direction: column;
}

.galeria::backdrop {
	background: rgba(18, 18, 18, .96);
}

.galeria-topo {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 14px 16px 14px 24px;
}

.galeria-titulo {
	flex: 1;
	margin: 0;
	font-size: 1.05rem;
	font-weight: 500;
}

.galeria-contador {
	margin: 0;
	font-size: .95rem;
	opacity: .8;
	font-variant-numeric: tabular-nums;
}

.galeria-fechar,
.galeria-seta {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color .2s ease;
}

.galeria-fechar:hover,
.galeria-fechar:focus-visible,
.galeria-seta:hover,
.galeria-seta:focus-visible {
	background: rgba(255, 255, 255, .2);
}

.galeria-fechar .icone,
.galeria-seta .icone {
	width: 1.5rem;
	height: 1.5rem;
}

.galeria-palco {
	position: relative;
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0 84px 24px;
	touch-action: pan-y;
}

.galeria-imagem {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	user-select: none;
	transition: opacity .25s ease;
}

.galeria-imagem.is-carregando {
	opacity: .3;
}

.galeria-seta {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.galeria-anterior {
	left: 16px;
}

.galeria-proxima {
	right: 16px;
}

.galeria-seta[hidden] {
	display: none;
}

/* Celular: foto ocupa a largura toda, setas sobre a foto */
@media (max-width: 767.98px) {
	.galeria-topo {
		padding-left: 16px;
	}

	.galeria-palco {
		padding: 0 0 16px;
	}

	.galeria-seta {
		background: rgba(18, 18, 18, .55);
	}

	.galeria-anterior {
		left: 8px;
	}

	.galeria-proxima {
		right: 8px;
	}
}

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */
.contato-intro {
	margin: 0 0 3.5rem;
}

.contato-intro p {
	font-size: 1.3rem;
	font-weight: 600;
}

/* Nome da empresa em destaque no texto do Quem Somos */
.texto-corrido strong {
	font-weight: 600;
}

.contato-colunas {
	row-gap: 3rem;
}

.contato-subtitulo {
	margin: 0 0 1.5rem;
	font-size: 1.5rem;
	font-weight: 500;
	text-transform: none;
	color: var(--texto);
}

.form-contato .btn {
	min-width: 200px;
}

.contato-dados {
	padding: 2rem;
	background-color: #f6f6f5;
	border-radius: 10px;
}

.contato-dados p,
.contato-dados address {
	margin: 0 0 .9rem;
	font-style: normal;
	line-height: 1.65;
}

.contato-dados a {
	color: var(--texto);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contato-dados a:hover,
.contato-dados a:focus-visible {
	color: var(--primary);
}

.contato-empresa {
	font-weight: 500;
}

.contato-horario {
	margin-bottom: 0 !important;
	padding-top: .9rem;
	border-top: 1px solid #e2e1de;
	font-size: .95rem;
}

/* --------------------------------------------------------------------------
   Mapa: capa com endereço; o iframe do Google só entra no clique
   -------------------------------------------------------------------------- */
.mapa {
	position: relative;
	height: 420px;
	background-color: #ecebe8;
	background-image:
		linear-gradient(rgba(60, 63, 63, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(60, 63, 63, .07) 1px, transparent 1px);
	background-size: 40px 40px;
}

.mapa-capa {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 24px 16px;
	text-align: center;
}

.mapa-capa-conteudo {
	max-width: 460px;
}

.mapa-icone {
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: .75rem;
	color: var(--primary);
}

.mapa-endereco {
	margin: 0 0 1.5rem;
	font-size: 1.1rem;
	line-height: 1.6;
}

.mapa-aviso {
	margin: 1.25rem 0 0;
	font-size: .85rem;
	line-height: 1.5;
	opacity: .8;
}

.mapa-aviso a {
	color: var(--primary);
}

/* Fundo com o mapa do bairro (só se o arquivo existir) */
.mapa-fundo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	opacity: .45;
}

.mapa-capa {
	position: relative;
	z-index: 1;
}

.mapa-fundo ~ .mapa-capa .mapa-capa-conteudo {
	padding: 2rem 2.25rem;
	background-color: rgba(255, 255, 255, .92);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.mapa-credito {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 1;
	margin: 0;
	padding: .2rem .6rem;
	font-size: .75rem;
	background-color: rgba(255, 255, 255, .85);
}

.mapa-credito a {
	color: var(--texto);
}

/* Depois do clique, o iframe do Google cobre o fundo e traz o próprio crédito */
.mapa iframe ~ .mapa-credito {
	display: none;
}

.mapa iframe {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 767.98px) {
	.mapa {
		height: 380px;
	}
}

/* Mapa encostado no rodapé (o tema dá 50px de margem ao rodapé) */
body:has(.mapa) #footer {
	margin-top: 0;
}

/* Aviso para o cliente: só aparece no modo apresentação ($em_apresentacao) */
.nota-apresentacao {
	margin: -.5rem 0 1.25rem;
	padding: .75rem 1rem;
	font-size: .9rem;
	line-height: 1.5;
	color: #5c4300;
	background-color: #fff6d6;
	border: 1px dashed #d9a400;
	border-radius: 10px;
}

/* --------------------------------------------------------------------------
   Links no meio de texto: sublinhados para não depender só da cor
   -------------------------------------------------------------------------- */
.footer-copyright a,
.campo-check a,
.aviso-cookies a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Botão "Preferências de cookies" no rodapé, com cara de link */
.rodape-cookies {
	padding: 0;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	background: none;
	border: 0;
	cursor: pointer;
}

.rodape-cookies:hover,
.rodape-cookies:focus-visible {
	color: var(--primary);
}

/* --------------------------------------------------------------------------
   Aviso de cookies (LGPD): faixa fixa no pé da tela
   -------------------------------------------------------------------------- */
.aviso-cookies {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	padding: 1.1rem 0;
	color: var(--texto);
	background-color: #fff;
	border-top: 1px solid #e6e6e4;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, .1);
}

.aviso-cookies[hidden] {
	display: none;
}

.aviso-cookies-conteudo {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.aviso-cookies p {
	flex: 1;
	margin: 0;
	font-size: .95rem;
	line-height: 1.55;
}

.aviso-cookies a {
	color: var(--primary);
}

.aviso-cookies-botoes {
	display: flex;
	flex: 0 0 auto;
	gap: .6rem;
}

.aviso-cookies .btn {
	padding: .55rem 1.4rem;
	font-size: .95rem;
}

.aviso-cookies-recusar {
	color: var(--texto);
	background-color: transparent;
	border: 1px solid #bdbdbd;
}

.aviso-cookies-recusar:hover,
.aviso-cookies-recusar:focus-visible {
	color: var(--texto);
	border-color: var(--texto);
}

/* Com o aviso aberto, o botão "Agende uma reunião" sai para não ficar por cima */
.com-aviso-cookies .botao-flutuante {
	display: none;
}

@media (max-width: 767.98px) {
	.aviso-cookies-conteudo {
		flex-direction: column;
		align-items: stretch;
		gap: .9rem;
	}

	.aviso-cookies-botoes .btn {
		flex: 1;
	}
}

/* Cloudflare Turnstile (verificação anti-robô nos formulários) */
.campo-turnstile {
	min-height: 65px;
	margin-bottom: 1.25rem;
}

/* Sem mensagem, a linha de aviso não ocupa espaço entre a verificação e o botão */
.form-status:empty {
	min-height: 0;
	margin: 0;
}
