@font-face {
	font-family: 'Avenir Next';
	src: url('../styles/fonts/avenir-next-regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {

	margin: 0;
	font-family: 'Avenir Next', 'Montserrat', "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	background: #000;
}

img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}

a {
	text-decoration: none;
	color: inherit;
}

button, input, optgroup, select, textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

:root{
	--bg:#000;
	--text:#fff;
	--muted:#cfcfcf;
	--gold:#c89b1a;
}


.hero-cases {
	width: 100%;
	height: 100vh;
	min-height: 600px;
	position: sticky;
	top: 0;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding-top: 120px;
	padding-left: 70px;
	z-index: 1;
}

.hero-cases-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.hero-cases-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hero-cases-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
}

.hero-cases-content {
	position: relative;
	z-index: 2;
	text-align: center;
	margin-top: 10px;
	margin-left: 20px;
}

.hero-cases-content h1 {
	font-size: 62px;
	font-weight: 400;
	color: #fff;
	margin: 0;
	letter-spacing: 1px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	position: relative;   /* distância do fundo */
    left: 20px;        /* distância da esquerda */
    line-height: 1;
    white-space: nowrap; /* 🔑 força uma linha só */
    text-align: left;
	top: 450px;
}

@media (max-width: 900px) {
	.hero-cases {
		height: 50vh;
		min-height: 70vh;
	}
	
	.hero-cases-content h1 {
	    position: absolute;

        top: 400px;
        left: -60px;

        font-size: 30px;
        line-height: 1;
        letter-spacing: 3px;

        white-space: nowrap;
        margin: 0;

        z-index: 2;
    }
}

.cases-intro {
	background: #000;
	color: #fff;
	padding: 150px 4vw;
	text-align: center;
	position: sticky;
	top: 0;
	z-index: 2;
}

.cases-intro::before {
	content: '';
	position: absolute;
	top: 30px;
	left: 0;
	width: 300px;
	height: 1px;
	background: var(--gold);
}

.cases-intro::after {
	content: '';
	position: absolute;
	bottom: 30px;
	right: 0;
	width: 300px;
	height: 1px;
	background: var(--gold);
}

.cases-intro p {
	font-size: 25px;
	font-weight: 200;
	line-height: 1.5;
	max-width: 900px;
	margin: 0 auto;
}

@media (max-width: 900px) {
	.cases-intro {
		padding: 60px 30px;
	}
	
	.cases-intro p {
		font-size: 18px;
	}
}

.cases-grid {
	background: #fff;
	padding: 80px calc((100% - 900px) / 2);
	border-radius: 60px 60px 0 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	max-width: 100%;
	margin: 0;
	z-index: 3;
}

.cases-grid .case-card:nth-of-type(2) .case-image {
	transform: scale(1.25);
    filter: brightness(0.6);
}

.cases-grid::before {
	content: '';
	position: absolute;
	top: 25px;
	left: 50%;
	transform: translateX(-50%);
	width: 400px;
	height: 2px;
	background: #000;
}

.case-card {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 1px;
	cursor: pointer;
}

.case-card:hover .case-shade {
	opacity: 1;
}

.case-card:hover .case-overlay {
	opacity: 1;
}

.case-card:hover .case-text {
	opacity: 0;
}

.case-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.case-shade {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.case-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.case-overlay h3 {
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 20px 0;
	letter-spacing: 0.5px;
}

.case-button {
	background: #c89b1a;
	color: #000;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 550;
	border-radius: 13px;
	cursor: pointer;
	transition: background 0.3s ease;
	letter-spacing: 0.5px;
}

.case-button:hover {
	background: #d4a929;
}

.case-text {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
	padding: 30px 20px 20px 20px;
	display: flex;
	align-items: flex-end;
	opacity: 1;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.case-text h3 {
	color: #fff;
	font-weight: 400;
	line-height: 1.4;
	margin: 0;
	letter-spacing: 0.5px;
}

.case-title {
	font-size: 18px;
	font-weight: 400;
}

.case-subtitle {
	font-size: 16px;
	font-weight: 300;
}

@media (max-width: 768px) {
	.cases-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 60px 30px;
	}

	.cases-grid::before {
		content: '';
		position: absolute;
		top: 25px;
		left: 50%;
		transform: translateX(-50%);
		width: 200px;
		height: 2px;
		background: #000;
	}
	
	.case-overlay {
		padding: 20px;
	}
	
	.case-overlay h3 {
		font-size: 16px;
		line-height: 1.5;
	}
	
	.case-button {
		font-size: 14px;
		padding: 10px 20px;
	}
}

/* ========= SOCIALS TOP (replicar igual em todas as páginas) ========= */

.site-footer .socials.socials-left.socials-top{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;

  width: fit-content;
  margin-left: 0;
  padding-left: 0;

  margin-top: -80px;
  margin-bottom: 25px;

  position: relative;
  z-index: 20;
}

.site-footer .socials.socials-left.socials-top .social-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;
  padding: 0;

  background: transparent;
  border: none;
  text-decoration: none;

  cursor: pointer;
  position: relative;
  z-index: 21;
  -webkit-tap-highlight-color: transparent;
}

.site-footer .socials.socials-left.socials-top .social-img{
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  max-width: none;
  pointer-events: none;
}

/* evita pseudo-elementos decorativos bloquearem clique */
.site-footer::before,
.site-footer::after{
  pointer-events: none;
}

@media (max-width: 900px){
  .site-footer .socials.socials-left.socials-top{
    margin-top: 14px;
    margin-bottom: 20px;
  }

  .site-footer .socials.socials-left.socials-top .social-icon{
    width: 58px;
    height: 58px;
  }

  .site-footer .socials.socials-left.socials-top .social-img{
    width: 42px;
    height: 42px;
  }
}
