:root {
	/* Cores */
	--primary-bg: #0f1f2e;
	--secondary-bg: #1b2735;
	--header-bg: #1C252f;
	--header-border: #f28c38;
	--text-light: #d1d5db;
	--text-dark: #f4f4f4;
	--accent-color: #f28c38;
	--card-bg-dark: #1d232a;
	--card-bg-medium: #232a33;
	--card-border: #2f3a44;
	--badge-bg: #2a2f35;
	--badge-border: #3b5b79;
	--experience-border: #3b5b79;
	--contact-border: #4f708d;

	/* Sombras */
	--shadow-dark: rgba(0, 0, 0, 0.6);
	--shadow-medium: rgba(0, 0, 0, 0.4);
	--shadow-light: rgba(0, 0, 0, 0.2);
	--inset-shadow-dark: inset 2px 2px 5px #0e1013, inset -2px -2px 5px #2a3038;
	--inset-shadow-badge: inset 0 0 4px rgba(0, 0, 0, 0.4);

	/* Espaçamentos e Medidas */
	--container-max-width: 1000px;
	--header-height-desktop: 200px;
	--photo-size-desktop: 200px;
	--photo-size-tablet: 170px;
	--photo-size-mobile: 150px;
	--photo-size-small-mobile: 100px;
}

body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	color: var(--text-light);
	background: linear-gradient(to right, var(--primary-bg), var(--secondary-bg));
}

header {
	background-color: var(--header-bg);
	color: var(--text-dark);
	padding: 15px 5px 25px;
	box-shadow: 0 2px 6px var(--shadow-dark);
	text-align: center;
	position: relative;
	overflow: hidden;
	border-bottom: 3px solid var(--header-border);
	height: var(--header-height-desktop);
}

header::before {
	content: '';
	position: absolute;
	top: -15%;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top right, #1C2530, #3C4550); /* Mantido para manter fidelidade exata */
	border-bottom-left-radius: 50% 100%;
	border-bottom-right-radius: 50% 100%;
	border: 3px solid #18212b; /* Mantido para manter fidelidade exata */
	z-index: 1;
}

header::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
	opacity: 0.9;
	pointer-events: none;
	z-index: 2;
}

.header-title {
	position: relative;
	z-index: 3;
	margin: 0 auto;
}

header h1 {
	font-size: 4em; /* Aumentado para 4em para telas maiores */
	margin: 3% 0 0;
	letter-spacing: 2px;
	text-shadow: 2px 2px 4px var(--shadow-dark);
	color: var(--text-dark);
	position: relative;
	z-index: 3;
	animation: fadeIn 1s ease-out;
}


header p {
	font-size: 1.0em;
	margin: 0;
	color: #a9b0b8; /* Mantido para manter fidelidade exata */
	font-weight: 300;
	letter-spacing: 1px;
	position: relative;
	z-index: 3;
	animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.profile-photo-container {
	position: absolute;
	left: 5%;
	top: 5%;
	transform: translateY(0);
	width: var(--photo-size-desktop);
	height: var(--photo-size-desktop);
	border: 4px solid var(--accent-color);
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 15px var(--shadow-dark);
	z-index: 4;
	animation: fadeIn 1s ease-out;
	transform-origin: center center;
}

.profile-photo-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.header-right-card {
	position: absolute;
	padding: 15px;
	top: 20%;
	right: 5%;
	background: rgba(29, 35, 42, 0.4);
	border-radius: 8px;
	box-shadow: var(--inset-shadow-dark);
	border: 1px solid var(--card-border);
	color: var(--text-light);
	font-size: 14px;
	line-height: 1.5;
	z-index: 4;
	text-align: left;
}

.header-right-card p {
	margin: 5px 0;
	color: var(--text-light);
	font-size: 14px;
	text-shadow: none;
}

.card-header {
	background: linear-gradient(to right, #2b3440, #3c4a5a); /* Mantido para manter fidelidade exata */
	color: var(--text-dark);
	font-weight: bold;
	padding: 12px 16px;
	border-radius: 10px 10px 8px 8px;
}

.language-switcher {
	position: absolute;
	top: 2%;
	right: 1.7%; 
	z-index: 5; 
	cursor: pointer;
	display: flex; 
	align-items: center;
	gap: 6px; 
}

.language-switcher .lang-text {
	color: var(--text-dark); 
	font-size: 0.8em; 
	white-space: nowrap; 
}

.language-switcher img {
	width: 20px; /* Tamanho da imagem da bandeira */
	height: 20px
	border: 1px solid var(--accent-color);
	border-radius: 50% 50%;
	box-shadow: 0 2px 5px var(--shadow-dark);
	transition: transform 0.2s ease-in-out;
}

.language-switcher img:hover {
	transform: scale(1.05);
}

nav {
	display: flex;
	justify-content: center;
	background-color: #222831; /* Mantido para manter fidelidade exata */
	padding: 10px 0;
	box-shadow: 0 2px 4px var(--shadow-medium);
}

nav a {
	color: var(--accent-color);
	margin: 0 15px;
	text-decoration: none;
	font-weight: bold;
}

nav a:hover {
	text-decoration: underline;
}

.container {
	max-width: var(--container-max-width);
	margin: auto;
	padding: 20px;
	background: #1b1f24; /* Mantido para manter fidelidade exata */
	box-shadow: 0 0 15px var(--shadow-dark);
	border-radius: 8px;
}

.section {
	margin-bottom: 40px;
}

.section h2 {
	display: inline-block;
	background: linear-gradient(to right, #2c2c2c, #3e3e3e); /* Mantido para manter fidelidade exata */
	color: var(--text-dark);
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 18px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px var(--shadow-light);
	border-left: 4px solid var(--accent-color);
}

.experience-entry {
	background: var(--card-bg-medium);
	border-radius: 8px;
	padding: 15px 20px;
	margin-bottom: 20px;
	box-shadow: 0 1px 5px var(--shadow-medium);
	border-left: 3px solid var(--experience-border);
}

.experience-entry h3 {
	font-size: 16px;
	color: var(--accent-color);
	margin: 0 0 5px 0;
}

.experience-entry span {
	display: block;
	font-size: 14px;
	color: #a9b0b8; /* Mantido para manter fidelidade exata */
	margin-bottom: 8px;
}

.experience-entry ul {
	margin: 0;
	padding-left: 20px;
	color: var(--text-light);
	font-size: 0.9em;
}

.experience-summary p {
	color: #eee; /* Mantido para manter fidelidade exata */
	font-style: italic;
	margin: 0.5em 0;
}

.courses {
	background: var(--card-bg-medium);
	border-radius: 8px;
	padding: 10px 20px;
	margin-bottom: 15px;
	box-shadow: 0 1px 5px var(--shadow-medium);
	border-left: 3px solid var(--experience-border);
}

.skills, .software, .languages {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.badge {
	background: var(--badge-bg);
	padding: 5px 10px;
	border-radius: 4px;
	color: #e2e2e2; /* Mantido para manter fidelidade exata */
	box-shadow: var(--inset-shadow-badge);
	border: 1px solid var(--badge-border);
}

a {
	color: var(--accent-color);
}

.profile-card {
	background: var(--card-bg-dark);
	padding: 20px;
	border-radius: 8px;
	box-shadow: var(--inset-shadow-dark);
	border: 1px solid var(--card-border);
	color: var(--text-light);
	font-size: 15px;
	line-height: 1.6;
}

.contact-card {
	background: var(--card-bg-medium);
	padding: 15px 20px;
	border-left: 3px solid var(--contact-border);
	border-radius: 8px;
	box-shadow: 0 2px 6px var(--shadow-medium);
	color: var(--text-light);
	margin-top: 10px;
}

.contact-card p {
	margin: 10px 0;
	font-size: 15px;
}

.contact-card a {
	color: var(--accent-color);
	text-decoration: none;
}

.contact-card a:hover {
	text-decoration: underline;
}

.contact-wrapper {
	position: relative;
	display: inline-block;
}

/* Footer Styles */
footer {
	background-color: var(--header-bg);
	color: var(--text-light);
	padding: 20px 0;
	text-align: center;
	box-shadow: 0 -2px 6px var(--shadow-dark);
	border-bottom: 3px solid var(--accent-color);
	margin-top: 40px;
}

.footer-card {
	max-width: 800px;
	margin: 0 auto;
	background: rgba(29, 35, 42, 0.6);
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: inset 1px 1px 3px #0e1013, inset -1px -1px 3px #2a3038; /* Mantido para manter fidelidade exata */
	border: 1px solid var(--card-border);
}

.footer-card p {
	margin: 0;
	font-size: 0.9em;
	color: #a9b0b8; /* Mantido para manter fidelidade exata */
}

/*###############*/
/* MEDIA QUERIES */
/*###############*/
@media (max-width: 1120px) {
	header {
		height: 150px;
	}
	header h1 {
		font-size: 3.0em;
		margin-top: 3.5%;
		margin-left: -6%;
	}
	header p {
		font-size: 0.8em;
		margin-left: -6%;
	}
	.profile-photo-container {
		width: var(--photo-size-tablet);
		height: 160px; /* Mantido para manter fidelidade exata */
		left: 3%;
	}
	.header-right-card {
		width: 170px;
		height: 75px;
		right: 5%;
	}
	.header-right-card p {
		font-size: 0.65em;
	}
}

@media (max-width: 768px) {
	header {
		height: auto;
		padding: 20px 10px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	header::before,
	header::after {
		display: none;
	}
	.profile-photo-container {
		position: static;
		left: auto;
		top: auto;
		transform: none;
		width: var(--photo-size-mobile);
		height: var(--photo-size-mobile);
		margin-bottom: 20px;
		animation: none;
	}
	.header-title {
		width: 90%;
		text-align: center;
		margin-bottom: 20px;
		z-index: 3;
	}
	header h1 {
		font-size: 2.8em;
		margin: 0;
	}
	header p {
		font-size: 0.8em;
		margin: 0;
		padding: 0;
	}
	.header-right-card {
		position: static;
		right: auto;
		height: 95px;
		padding: 2px; /* Ajuste no padding */
		padding-left: 5px; /* Ajuste no padding */
		width: 230px;
		margin-top: 0;
		background: rgba(29, 35, 42, 0.9);
		z-index: 4;
	}
	.header-right-card p {
		font-size: 0.9em;
	}
	nav {
		flex-wrap: wrap;
		padding: 10px;
	}
	nav a {
		margin: 5px 10px;
		font-size: 0.9em;
	}
	.container {
		padding: 15px;
	}
	.section h2 {
		font-size: 16px;
		padding: 8px 15px;
		margin-bottom: 15px;
	}
	.experience-entry {
		padding: 12px 15px;
		margin-bottom: 15px;
	}
	.experience-entry h3 {
		font-size: 15px;
	}
	.experience-entry span {
		font-size: 13px;
	}
	.experience-entry ul {
		padding-left: 15px;
	}
	.badge {
		padding: 4px 8px;
		font-size: 0.85em;
	}
	.profile-card, .contact-card {
		padding: 15px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	header h1 {
		font-size: 2em;
	}
	header p {
		font-size: 0.8em;
	}
	.profile-photo-container {
		width: var(--photo-size-small-mobile);
		height: var(--photo-size-small-mobile);
	}
	.header-right-card {
		width: 220px;
		padding: 5px;
	}
	.header-right-card p {
		font-size: 0.9em;
	}
	nav a {
		margin: 5px 5px;
		font-size: 0.8em;
	}
	.badge {
		font-size: 0.8em;
	}
}
