@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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root{
	--bg:#000;
	--text:#fff;
	--muted:#cfcfcf;
	--gold:#c89b1a;
}
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

a, a:visited, a:hover, a:focus, a:active {
  color: inherit;
  text-decoration: none;
}

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;
}
.contact .socials{
  margin-top: 12px;
  justify-content: flex-start;
}

.contact-intro-section{
  background: #d3d3d3;
  padding: 60px 4vw;
  text-align: center;
  position: relative;
  z-index: 4;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}

.contact-intro-section h2 {
	font-size: 36px;
	font-weight: 400;
	margin: 0 0 15px 0;
	color: #000;
	letter-spacing: 2px;
}

.contact-intro-section p {
	font-size: 18px;
	margin: 0;
	color: #000;
}

@media (max-width: 900px) {
	.contact-intro-section {
		padding: 40px 30px;
	}
	
	.contact-intro-section h2 {
		font-size: 28px;
	}
}

.contact-form-section {
	width: 100%;
	overflow: hidden;
	position: relative;
	z-index: 4;
}

.contact-form select {
	padding: 10px 15px;
	background: rgba(211, 211, 211, 0.7);
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
	color: #000;
	appearance: none;
	cursor: pointer;
}

.contact-form-background {
	position: relative;
	width: 100%;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background: #000;
}

.contact-bg-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% top;
	z-index: 0;
}

.contact-form-container {
	position: relative;
	z-index: 1;
	display: flex;
	gap: 80px;
	align-items: center;
	padding: 50px 60px;
	max-width: 100%;
	width: 100%;
	justify-content: flex-start;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 0 0 320px;
	max-width: 320px;
	margin-left: 20px;
}

.contact-form input,
.contact-form textarea {
	padding: 10px 15px;
	background: rgba(211, 211, 211, 0.7);
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
	color: #000;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #000000;
}

.contact-form textarea {
	resize: vertical;
	min-height: 80px;
}

.recaptcha-container {
	display: flex;
	align-items: center;
	padding: 10px 0;
}

.recaptcha-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
}

.recaptcha-checkbox {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: var(--gold);
}

.recaptcha-label span {
	color: #fff;
	font-size: 16px;
}

.submit-btn {
	background: var(--gold);
	color: #000;
	padding: 12px 55px;
	border: none;
	border-radius: 7px;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.3s ease;
	width: fit-content;
	align-self: center;
}

.submit-btn:hover {
	background: #DAA521;
}

.contact-message {
	flex: 1;
	display: flex;
	align-items: flex-start;
    justify-content: center;
    padding-left: 450px;
    margin-top: 300px;
}

.contact-message p {
	color: #fff;
	font-size: 20px;
	line-height: 1.6;
	text-align: left;
	margin: 0;
}

@media (max-width: 900px) {
    .contact-intro-section {
        background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6)), url('../images/img-carteira-contato.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 380px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        text-align: left;
        padding: 40px 30px;
        margin-bottom: 0;
        border-bottom: none;
    }

    .contact-form select {
    background: #EAEAEA;
    color: #333;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    }

    .contact-intro-section h2 {
        color: #fff; 
        font-size: 34px;
        font-weight: 400;
        margin-bottom: 10px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }

    .contact-intro-section p {
        color: #ddd; 
        font-size: 14px;
        line-height: 1.4;
        max-width: 90%;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }


    .contact-form-section {
        background-color: #000; 
        margin-top: -2px; 
    }

    .contact-form-background {
        background: #000;
        min-height: auto; 
        padding-top: 20px;
    }

    .contact-bg-image {
        display: none;
    }

    .contact-form-container {
        flex-direction: column;
        padding: 30px 24px 60px 24px;
        gap: 30px;
    }

    .contact-form {
        max-width: 75%;
        width: 100%;
        margin-left: 0;
        flex: auto;
    }

    .contact-form input,
    .contact-form textarea {
        background: #EAEAEA; 
        color: #333;
        border-radius: 6px;
        margin-bottom: 8px;
        border: 1px solid transparent;
        font-size: 14px;
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: #555; 
    }

    .submit-btn {
        width: 60%; 
        margin-top: -10px;
        padding: 10px;
        font-weight: 500;
        border-radius: 6px;
        color: white;
    }

    .contact-message {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
        padding: 0 10px; 
    }

    .contact-message p {
        color: #B0B0B0; 
        font-size: 14px;
        line-height: 1.4;
        text-align: center; 
        max-width: 300px; 
    }

    .recaptcha-container {
        justify-content: center;
        padding: 15px 0;
    }
}

.popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 24px;
}

.popup-overlay.is-open{ display: flex; }

.popup{
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  padding: 22px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.popup h3{
  margin: 0 0 8px 0;
  font-weight: 400;
  letter-spacing: 1px;
}

.popup p{
  margin: 0 0 16px 0;
  color: #cfcfcf;
  line-height: 1.5;
}

.popup-close{
  background: var(--gold);
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  color: #000;
}

.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;
  }
}
