:root {
	--blue: #1A4889;
	--black: #404040;
	--grey: #373435;
  --navy: #0e1c33;
  --navy2: #08111f;
  --paper: #faf8f3;
  --ink: #12213a;
  --muted: #6b7280;
  --line: #d9d4c8;
  --gold: #b8894f;
  --gold2: #8a6236;
  --goldlt: #e9c48e;
  --bg: var(--paper);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: Lato, system-ui, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--navy2);
  font-family: var(--sans);
	font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
}

h1, h2, h3 {
	color: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 14px 32px;
}

.gap-sm { gap: 8px }
.gap-md { gap: 16px }
.gap-lg { gap: 24px }
.gap-xl { gap: 32px }

.headline-xl {
	font-family: var(--serif);
	font-size: 40px;
	font-weight: 600;
	margin-bottom: 24px;
}
.headline-lg {
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 600;
	margin: 24px 0;
}
.headline-md {
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 600;
}
.headline-sm {
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 600;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mono {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -4px;
}

.logo b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

.logo small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 400;
	justify-content: space-between !important;
}

nav a:hover {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid transparent;
	border-radius: 4px;
  transition: background 0.2s;
}

.navbar-collapse {
		flex-grow: 0;
		gap: 40px;
}

.gold {
  background: linear-gradient(180deg, #c79c62, #8a6236);
  color: #fff;
	border: none;
}

.gold:hover {
  background: var(--gold2);
}

.ghost {
  border-color: #e8e2d4;
  color: #fff;
  background: rgba(8, 17, 31, 0.55);
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 570px;
  color: #fff;
	background-color: var(--navy2);
	background-image: url('../img/congresso-entardecer.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position-y: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero svg.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(2 14 34 / 100%) 0%, rgba(8, 17, 31, 0.35) 40%, transparent 75%);
}

.hero .in {
  position: relative;
  padding: 60px clamp(20px, 4.2vw, 60px);
  max-width: 900px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 400;
}

.eyebrow::after {
  content: "";
  width: 80px;
  height: 1px;
  background: #fff8;
}

h1.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 6.2vw, 80px);
  line-height: 1;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
	color: white;
}

.hero p.lead {
  font-size: clamp(18px, 1.9vw, 23px);
  max-width: 560px;
  margin: 0 0 34px;
  font-weight: 300;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sites {
  position: absolute;
  right: clamp(20px, 3vw, 40px);
  top: 70px;
  border-left: 1px solid #fff6;
  padding-left: 26px;
  font-size: 14px;
  letter-spacing: 0.28em;
  line-height: 2.3;
  text-transform: uppercase;
  font-weight: 400;
}

.areas {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 26px clamp(8px, 1.5vw, 24px) 30px;
  background: white;
}

.area {
  padding: 0 18px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.area:first-child {
  border-left: 0;
}

.area svg {
  width: 52px;
  height: 52px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 6px;
}

.area h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.area p {
  margin: 0;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.45;
}

.stats {
  position: relative;
  background: linear-gradient(180deg, #0e1c33, #08111f);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px clamp(20px, 4vw, 60px) 40px;
  text-align: center;
  overflow: hidden;
}

.stat {
  padding: 0 20px;
  border-left: 1px solid #fff3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stat:first-child {
  border-left: 0;
}

.stat svg {
  width: 46px;
  height: 46px;
  stroke: var(--goldlt);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat .n {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--goldlt);
}

.stat h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
}

.stat p {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.role {
	color: rgb(14 28 51 / 70%);
	font-size: 22px;
	font-weight: 400;
	margin-bottom: 24px;
}

@media (max-width: 1100px) {
  .areas {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .area:nth-child(4) {
    border-left: 0;
  }

  .sites {
    display: none;
  }
}

@media (max-width: 700px) {
  header {
    padding: 0;
  }
	.navbar {
		padding: 12px 24px;
		gap: 12px;
	}
	.navbar-collapse {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 18px;
    padding: 24px 0;
	}
	.navbar-toggler {
		margin: 0 auto;
		border: none;

		&:focus:not(:focus-visible) {
			outline: 0;
			background: var(--blue);
			box-shadow: none;
			
			& .navbar-toggler-icon {
				filter: invert(1);
			}
		}

	}
  .mono {
    font-size: 44px;
  }

  .logo b {
    font-size: 17px;
  }

  .areas {
    grid-template-columns: 1fr 1fr;
  }

  .area:nth-child(odd) {
    border-left: 0;
  }

  .area:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .hero {
    min-height: 520px;
		background-position-x: 60%;
  }
}

@media (max-width: 460px) {
  .areas,
  .stats {
    grid-template-columns: 1fr;
  }

  .area,
  .stat {
    border-left: 0 !important;
  }
}

/* Data Container */

.wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.main-content {
	flex: 1;
	min-height: calc(100vh - 229px);
	padding: 0 0 32px;
	animation: fadeIn 1s ease-in;
}

.inner-header {
	background: var(--navy) url('../img/advogados.png') no-repeat right 30%;
	background-size: cover;
	background-blend-mode: difference;
	padding: 40px 0;
	margin-bottom: 40px;

	& h2 {
		color: white;
		margin-bottom: 0;
		animation: slideIn 1.5s ease;
	}
}

.image-container {
	width: 40%
}
.image-container.first {
	align-content: flex-start;
}
.image-container.second {
	margin-right: 24px;

	& .figure {
		width: 400px;
	}
}

/* Footer */

.main-footer {
	font-size: 14px;
	font-weight: 400;
	border-bottom: solid 10px var(--blue);
	background: var(--navy);
	color: white;

	.container {
		border-top: solid 2px var(--blue);
		padding: 16px 0;
	}

	p { margin-bottom: 6px }

	& a {
			color: var(--muted);
			text-decoration: none;
	} 
}
.divider {
	height: 12px;
	width: 2px;
	background-color: rgba(0, 0, 0, .25);
}

/* Internas */

.accordion-button {
    background-color: transparent !important;
    font: 24px 'Merriweather', serif;
		color: var(--blue) !important;
}

.accordion-item {
    border: none;
}

.form-label {
    font-size: 16px;
}

.required {
    color: red;
}

.top-img.contato {
	background-color: var(--blue);
	background-blend-mode: screen;
}

#excelencia {
    margin-top: 40px;
}

.selos {
    display: flex;
		justify-content: center;
		width: 70%;
    margin: 40px auto 0;
    gap: 24px;

		& img {
			width: 25%;
		}
}

.photo {
	border: solid 6px var(--gold);
	align-self: flex-start;

	& img {
		width: 300px;
	}
}

.btn.cta {
    border: solid 4px var(--gold);
    border-radius: 16px;
    background: var(--blue);
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    padding: 16px 32px;
    letter-spacing: 6%;
    margin: 40px auto 0;
}

@media screen and (max-width: 768px) {

	.nav-link {
		text-align: center;
	}

	.flex-wrap-mobile {
		flex-wrap: wrap;
	}

	.top-img {
		width: 100%;
		height: 200px;
	}

	.container {
		padding: 0 32px;
	}

	.image-container {
		width: 100%;

		& .figure {
        width: 100% !important;
    }
	}

	h3.headline-md {
		margin-top: 20px;
	}
	
	.image-container.second {
		margin-bottom: 20px;
		margin-right: 0;
	}

	.copy, .footer-logo {
		width: 100%;
	}

	.main-footer {
		padding: 30px;
	}

	.footer-logo {
		text-align: center;
	}

	.copy {
		text-align: center;
		margin-bottom: 32px;
	}

	.change-mobile {
		justify-content: center;
		gap: 4px;
		margin-top: 24px;
	}
	
	#excelencia {
		margin-top: 0;
	}
	
	.selos {
		flex-direction: row;
		margin-top: 0;
		width: 100%;
		gap: 8px;
	}

}

/* Animation */
@keyframes fadeIn {
  0% {	
    opacity: 0;
  }
	100% {
    opacity: 1;
  }
}

@keyframes slideIn {
  0% {	
    opacity: 0;
		transform: translateX(40px);
  }
	100% {
    opacity: 1;
		transform: translateX(0);
  }
}
