/* ===== MENU HAMBÚRGUER ANIMADO ===== */
.toggle-menu {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  position: fixed;
  top: 10px;
  right: 2rem;
  z-index: 10002;
  transition: transform 0.2s;
  outline: none;
  padding: 0;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.toggle-menu:hover {
  transform: scale(1.15);
}

.toggle-menu span {
  position: relative;
  display: block;
  width: 26px;
  height: 2px;
  background: #CFCECC;
  border-radius: 2px;
  transition: background 150ms ease-in-out;
  z-index: 2;
}

.toggle-menu span::before,
.toggle-menu span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: #CFCECC;
  border-radius: 2px;
  transition: top 150ms ease-out, transform 150ms linear, background 150ms;
  z-index: 3;
}

.toggle-menu span::before {
  top: -8px;
}

.toggle-menu span::after {
  top: 8px;
}

/* Animação para o estado ativo (X) */
.toggle-menu.active span {
  background: transparent !important;
}

.toggle-menu.active span::before {
  top: 0;
  transform: rotate(-45deg);
}

.toggle-menu.active span::after {
  top: 0;
  transform: rotate(45deg);
}

/* Quando o menu está aberto, header transparente e atrás do overlay */
.cabecalhoPrincipal.menu-open {
  background: transparent !important;
  box-shadow: none !important;
  z-index: 0 !important;
}
/* ===== MENU LATERAL ESTILO ANTIGO ===== */
#menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: radial-gradient(circle, #0D1019 80%, #1f1f1f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s, visibility 0.5s;
}


#menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#menu .main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menu .main-nav a {
	color: #CFCECC;
	display: block;
	font-size: 2.5rem;
	font-weight: bold;
	padding: 1rem 1rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 0.2s;
	transition-duration: 150ms;
	text-align: center;
	opacity: 0.85;
}

#menu .main-nav a:hover,
#menu .main-nav a:focus {
	color: #fff;
	opacity: 1;
	transform: scale(1.08);
}

#menu .main-nav li:first-child a {
	padding-top: 0;
}

/* Estilo especial para o link 'Contato' no menu lateral */
.sidebar-link-contato {
	background: rgba(102, 126, 234, 0.10);
	/* leve destaque azul translúcido */
	color: #CFCECC;
	font-weight: 700;
	border: 1.5px solid rgba(102, 126, 234, 0.18);
	box-shadow: 0 2px 12px 0 rgba(102, 126, 234, 0.07);
	margin-top: 0.7rem;
	letter-spacing: 0.5px;
	transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}

.sidebar-link-contato:hover,
.sidebar-link-contato:focus {
	background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	box-shadow: 0 2px 16px 0 rgba(102, 126, 234, 0.13);
	transform: translateX(6px) scale(1.04);
}



/* Botões principais com visual do 404 */
.btn.btn-primary,
.btn.btn-secondary {
	background: #CFCECC;
	color: #292929 !important;
	padding: 0.8rem 3rem;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 700;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	display: inline-block;
	transition: all 0.3s ease;
	border: 2px solid #CFCECC;
	position: relative;
	overflow: hidden;
	z-index: 1;
	min-width: 180px;
	box-sizing: border-box;
	text-align: center;
}

.btn.btn-primary *,
.btn.btn-secondary * {
	color: inherit !important;
	text-align: center !important;
	width: 100% !important;
	display: inline-block !important;
}

.btn.btn-primary::before,
.btn.btn-secondary::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
	z-index: -1;
}

.btn.btn-primary:hover::before,
.btn.btn-secondary:hover::before {
	left: 100%;
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover {
	background: transparent;
	color: #CFCECC !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(207, 206, 204, 0.2);
}

/* Padrão de cor para todos os textos principais */
.about-section,
.about,
.skills-section,
.services-section,
.projects-section,
.contact-section,
.about-section *,
.about *,
.skills-section *,
.services-section *,
.projects-section *,
.contact-section *,
h2,
h3,
h4,
h5,
h6,
p,
li,
span,
label,
a,
strong,
em {
	color: #CFCECC !important;
	transition: color 0.2s;
}

h2:hover,
h3:hover,
h4:hover,
h5:hover,
h6:hover,
p:hover,
li:hover,
span:hover,
label:hover,
a:hover,
strong:hover,
em:hover {
	color: #fff !important;
}

/* ===== MENU LATERAL (SIDEBAR) ===== */
.toggle-menu-sidebar {
	position: fixed !important;
	top: 1.5rem !important;
	left: 1.5rem !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	z-index: 99999 !important;
	background: #0D1019;
	border: none;
	border-radius: 50%;
	box-shadow: 0 2px 12px 0 rgba(102, 126, 234, 0.10);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s;
	pointer-events: auto !important;
}



.toggle-menu-sidebar:hover {
	background: #232634 !important;
	background-color: #232634 !important;
	box-shadow: none !important;
	transition: none !important;
}

.sidebar-nav {
	transform: translateX(-110%);
	transition: transform 0.3s cubic-bezier(.77, 0, .18, 1);
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 260px;
	z-index: 150;
	display: flex;
	flex-direction: column;
	padding-top: 4.5rem;
	padding-bottom: 2rem;
	padding-left: 0;
	padding-right: 0;
	background: rgba(20, 22, 34, 0.85);
	box-shadow: 8px 0 32px 0 rgba(102, 126, 234, 0.13);
	border-top-right-radius: 24px;
	border-bottom-right-radius: 24px;
	backdrop-filter: blur(8px);
	border-right: 1.5px solid rgba(102, 126, 234, 0.08);
}

.sidebar-nav.open {
	transform: translateX(0);
	box-shadow: 2px 0 24px 0 rgba(102, 126, 234, 0.13);
}

.sidebar-list {
	list-style: none;
	margin: 0;
	padding: 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	justify-content: flex-start;
	align-items: flex-start;
}

.sidebar-list li:first-child {
	margin-top: 2.2rem;
}

.sidebar-list li a {
	color: #CFCECC;
	font-weight: 600;
	text-decoration: none;
	font-size: 1.18rem;
	padding: 0.7rem 1.2rem;
	border-radius: 12px;
	transition: background 0.22s, color 0.22s, box-shadow 0.22s;
	display: block;
	letter-spacing: 0.5px;
	box-shadow: none;
}

.sidebar-list li a:hover,
.sidebar-list li a:focus {
	background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	box-shadow: 0 2px 16px 0 rgba(102, 126, 234, 0.13);
	transform: translateX(6px) scale(1.04);
}

@media (max-width: 700px) {
	.sidebar-nav {
		width: 80vw;
		min-width: 180px;
		max-width: 320px;
	}
}

/* ===== MENU CENTRALIZADO ABAIXO DO TÍTULO PRINCIPAL ===== */
.nav-central {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 2.5rem 0 2rem 0;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 16px 0 rgba(102, 126, 234, 0.07);
	border-radius: 18px;
	padding: 0.5rem 2.5rem;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 10;
}

.nav-list-central {
	display: flex;
	gap: 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list-central li a {
	color: #23234a;
	font-weight: 600;
	text-decoration: none;
	font-size: 1.15rem;
	padding: 0.5rem 1.1rem;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s;
}

.nav-list-central li a:hover,
.nav-list-central li a:focus {
	background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.nav-central .toggle-menu {
	display: none;
}


/* Garante que o botão do menu lateral sempre aparece */
/* Removido display duplicado */
.toggle-menu-sidebar:active,
.toggle-menu-sidebar:focus,
.toggle-menu-sidebar:visited {
	background: #232634 !important;
	background-color: #232634 !important;
	box-shadow: none !important;
	transition: none !important;
	outline: 2px solid #CFCECC !important;
	outline-offset: 2px;
}

/* Compensar header fixo */
body {
	padding-top: 70px;
}

/* ====== HEADER MODERNO ====== */
body {
	padding-top: 70px;
}

.cabecalhoPrincipal {
	width: calc(100% - 17px);
	background: #0D1019;
	box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.15);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	transition: background 0.3s, z-index 0.3s;
	height: 70px;
	display: flex;
	align-items: center;
}



#menu.open {
  z-index: 9999 !important;
}

/* Garantir z-index correto para o menu hambúrguer */
.toggle-menu {
  z-index: 10002 !important;
  pointer-events: auto !important;
}
.nav {
	margin-left: 21%;
}

@media (max-width: 868px) {
	.toggle-menu {
		right: 1rem;
	}

	.header-container {
		padding: 0 1rem;
	}

	.nav {
		margin-left: 4.7%;
		/* Removendo a margem à esquerda */
	}
}

@media (max-width: 700px) and (min-width: 330px) {
	.toggle-menu {
		right: 1rem;
	}
}

@media (max-width: 329px) {
	.toggle-menu {
		right: 0.5rem;
	}

	.header-container {
		padding: 0 0.5rem;
	}
}

.header-container {
	width: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2rem;
	height: 100%;
	position: relative;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Header Logo */
.header-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: transform 0.3s ease;
	position: absolute;
	left: calc(50% + 8px);
	transform: translateX(-50%);
}

.header-logo:hover {
	transform: translateX(-50%) scale(1.05);
}

.header-logo-img {
	height: 50px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	transition: all 0.3s ease;
	filter: brightness(0) invert(1);
}

.logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.logo-img {
	height: 48px;
	width: auto;
	display: block;
}

.nav {
	display: flex;
	align-items: center;
	position: relative;
}

.nav-list {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list li a {
	color: #23234a;
	font-weight: 600;
	text-decoration: none;
	font-size: 1.1rem;
	padding: 0.5rem 0.7rem;
	border-radius: 6px;
	transition: background 0.2s, color 0.2s;
}

.nav-list li a:hover,
.nav-list li a:focus {
	background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

/* Estilos antigos do hamburger removidos - usando apenas o novo toggle-menu */

@media (max-width: 900px) {
	.header-container {
		padding: 0.5rem 1rem;
	}

	.nav-list {
		gap: 1rem;
	}
}

@media (max-width: 700px) {
	.header-container {
		flex-direction: row;
		padding: 0.5rem 0.5rem;
	}

	.nav-list {
		position: absolute;
		top: 100%;
		right: 0;
		background: #fff;
		flex-direction: column;
		gap: 0;
		display: flex;
		flex-direction: column;
		padding-top: 4.5rem;
		z-index: 150;
	}

	.nav.open .nav-list {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.toggle-menu {
		display: block;
		right: 1.8rem;
		width: 46px;
		height: 46px;
	}

	.toggle-menu span {
		width: 23px;
	}

	.toggle-menu span::before,
	.toggle-menu span::after {
		width: 23px;
	}
}

/* Estilos base do Augusto Rocha - Mantidos */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');


html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	background: #0D1019;
	font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #23234a;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

footer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 12px;
	color: #888;
	padding: 2rem 0;
	z-index: 150;
	gap: 20px;
	/* Espaço entre os itens */
}

/* Footer responsivo - consolidado */
@media (max-width: 768px) {
	footer {
		padding: 40px 15px !important;
	}
	footer > div:first-child {
		gap: 20px !important;
	}
	footer [itemscope] {
		font-size: 13px !important;
		gap: 15px !important;
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
	}
	footer [itemscope] span[style*="color: #121622"] {
		display: none !important;
	}
}

@media (max-width: 480px) {
	footer {
		padding: 30px 10px !important;
	}
	footer > div:first-child {
		gap: 16px !important;
	}
	footer [itemscope] {
		font-size: 12px !important;
		flex-direction: column !important;
		gap: 8px !important;
		align-items: center !important;
		text-align: center !important;
	}
	footer [itemscope] span[style*="color: #121622"] {
		display: none !important;
	}
	footer > div:last-child {
		font-size: 12px !important;
		flex-direction: column !important;
		gap: 10px !important;
		align-items: center !important;
	}
}

@media (max-width: 320px) {
	footer {
		padding: 25px 8px !important;
	}
	footer > div:first-child a {
		width: 40px !important;
		height: 40px !important;
	}
	footer > div:first-child img {
		width: 20px !important;
		height: 20px !important;
	}
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

main,
.hero-section,
.about-section,
.about,
.skills-section,
.services-section,
.projects-section,
.contact-section,
.quem-sou-section {
	text-align: center;
}

.imgCabecalhoAR,
.imgAugustoRocha {
	transition: transform 0.2s;
	transition-duration: 150ms;
}

.imgCabecalhoAR:hover,
.imgAugustoRocha:hover {
	transform: scale(1.05);
}


.iconGmail,
.iconLinkedin,
.iconWhatsapp,
.iconTelegram,
.iconInstagram,
.iconFacebook,
.iconGithub {
	transition: transform 0.2s;
	transition-duration: 150ms;
}

.iconGmail:hover,
.iconLinkedin:hover,
.iconWhatsapp:hover,
.iconTelegram:hover,
.iconInstagram:hover,
.iconFacebook:hover,
.iconGithub:hover {
	transform: scale(1.1);
}

.createdBy {
	text-align: center;
	transition: transform 0.2s;
}

.createdBy:hover {
	transform: scale(1.05);
}

/* Estilos básicos para o grid de serviços/ícones do footer */
.servicos-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 20px;
	justify-items: center;
	align-items: center;
	padding: 20px;
}

.servicos-grid img {
	width: 32px;
	height: 32px;
	transition: transform 0.3s ease;
}

.servicos-grid img:hover {
	transform: scale(1.2);
}

/* Media queries para responsividade */
@media (max-width: 868px) {
	.servicos-grid {
		grid-template-columns: repeat(7, 1fr);
		gap: 10px;
		padding: 15px 10px;
	}
}

@media (max-width: 320px) {
	.servicos-grid {
		grid-template-columns: repeat(7, 1fr);
		gap: 5px;
		padding: 10px 5px;
	}
	
	.servicos-grid img {
		width: 20px;
		height: 20px;
	}
	
	.toggle-menu {
		right: 1rem;
		width: 40px;
		height: 40px;
	}
	
	.toggle-menu span {
		width: 20px;
	}
	
	.toggle-menu span::before,
	.toggle-menu span::after {
		width: 20px;
	}
}
