/*
Theme Name: Aline Charão
Theme URI: https://alinecharao.com.br
Author: Aline Charão
Author URI: https://alinecharao.com.br
Description: Tema personalizado para portfólio de design gráfico da Aline Charão
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aline-charao
Tags: portfolio, design, custom-menu, featured-images
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --color-bg: #f5f5f5;
  --color-dark: #0e0e14;
  --color-darker: #1b1a35;
  --color-white: #ffffff;
  --color-accent: #ee7cab;
  --color-accent-alt: #ee7cab;
  --color-text: #2d2d2d;
  --color-text-light: #666666;
  --color-border: #e0e0e0;

  --font-body: 'DM Sans', sans-serif;

  --max-width: 1200px;
  --header-height: 80px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 120px;

  --radius: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', sans-serif !important;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

/* Garante Noto Sans em todos os elementos */
*, *::before, *::after {
  font-family: inherit;
}

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

ul, ol {
  list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
}

.display-text {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.site-content {
  min-height: calc(100vh - var(--header-height));
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--color-bg);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-color: var(--color-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Hamburger */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-self: start;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Logo */
.site-logo {
  justify-self: center;
  text-align: center;
}

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

.site-logo .logo-text {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.site-logo .logo-subtitle {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: block;
}

/* Header Right — Language icons */
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.header-lang-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-lang-icons a {
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}

.header-lang-icons a:hover {
  transform: scale(1.1);
}

.header-lang-icons img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.header-lang-icons a:hover img {
  border-color: var(--color-accent);
}

/* =============================================
   FULL-SCREEN NAV OVERLAY
   ============================================= */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-darker);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-close {
  position: absolute;
  top: 50px;
  left: 50px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.nav-overlay ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.nav-overlay ul li a {
  font-family: var(--font-body);
  font-size: clamp(40px, 8vw, 80px);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  display: block;
}

.nav-overlay ul li a:hover {
  color: var(--color-accent);
}

/* =============================================
   SECTION: PROJECTS (HOME)
   ============================================= */
.section-projects {
  padding: var(--spacing-lg) 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}

.section-label {
  font-family: var(--font-body);
  font-size: 3em;
  font-weight: 900;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #342F6B;
}

.section-line {
  flex: 0 0 900px;
  height: 1px;
  background: var(--color-text);
}

.section-subtitle {
  font-size: 1.2em;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.project-card {
  display: block;
  cursor: pointer;
  transition: transform var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.project-thumb {
  aspect-ratio: 4/3;
  background: var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-title {
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #342F6B;
  margin-bottom: 2px;
}

.project-meta {
  font-size: 1em;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0em;
}

.project-meta .sep {
  margin: 0 4px;
  opacity: 0.4;
}

/* =============================================
   SECTION: ABOUT
   ============================================= */
.section-about {
  background-color: #1b1a35;
  padding: 64px 0 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 3 labels no topo */
.about-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 5px;
  align-items: center;
}

.about-label-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.about-label-item:nth-child(2) {
  text-align: center;
}

.about-label-item:nth-child(3) {
  text-align: right;
}

/* Nome gigante */
.about-name-huge {
  font-family: 'DM Sans', sans-serif;
  font-size: 4em;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 10px 0;
  display: block;
  white-space: nowrap;
  width: 100%;
}

/* Tagline + localização */
.about-tagline-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 32px;
}

.about-tagline {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.2em;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  flex: 0 0 auto;
  max-width: 500px;
}

.about-location {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.about-label-item:nth-child(1) {
	color: #ee7cab;
}

/* Foto + texto lado a lado */
.about-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20%;
  align-items: start;
  padding-bottom: 48px;
}

.about-photo {
  width: 390px;
  flex-shrink: 0;
  margin-bottom: -150px;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  width: 700px;
}

.about-text {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 1.3em;
}

.about-text p {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.3em;
  line-height: 1.8;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Redes sociais */
.about-socials {
  display: flex;
  gap: 32px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #333333;
}

.about-socials a {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-socials a:hover {
  color: #ffffff;
}

/* Sem foto */
.about-body--no-photo {
  grid-template-columns: 1fr;
}

/* =============================================
   SECTION: BRANDS MARQUEE
   ============================================= */
.section-brands {
  background-color: transparent;
  padding: 32px 0;
  overflow: hidden;
  margin-top: 5%;
}

.brands-header {
  max-width: 1200px;
  margin: 24px auto 24px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5%;
}

.brands-label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #342F6B;
  white-space: nowrap;
  width: 70%;
}

.brands-line {
  color: #342F6B;
  font-size: 16px;
  flex: 0 0 350px;
  height: 1px;
  background: var(--color-text);
}

/* Marquee container */
.brands-marquee-outer {
  width: 100%;
  overflow: hidden;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: marquee-infinite 24s linear infinite;
  width: max-content;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: none !important;
}

.brand-logo-item img {
  height: 80px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}

.brand-name-fallback {
  font-family: 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #888888;
}

/* =============================================
   SECTION: CTA / CONTACT
   ============================================= */
.section-cta {
  background: var(--color-darker);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45%;
}

.cta-title {
  font-family: 'Noto Sans', sans-serif;
  font-size: 7em;
  font-weight: 900;
  color: #ee7cab;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  padding-bottom: 30px;
  text-decoration: none;
}

.cta-contact {
  font-size: 1.5em;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  text-decoration: none;
}

.cta-contact a {
  color: var(--color-white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color var(--transition);
  text-decoration: none;
}

.cta-contact a:hover {
  border-color: var(--color-accent);
  text-decoration: none;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-darker);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--spacing-md) 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy,
.footer-brand {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =============================================
   SINGLE PAGE
   ============================================= */
.project-single {
  background: var(--color-bg);
}

.breadcrumb {
  padding: var(--spacing-sm) 0;
  font-size: 0.9em;
  color: var(--color-text-light);
  letter-spacing: 0em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}

.breadcrumb a {
  color: var(--color-text-light);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb .sep {
  margin: 0 8px;
}

.project-hero {
  text-align: center;
  padding: var(--spacing-lg) 0;
}

.project-year {
  font-size: 1em;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.project-name {
  font-family: var(--font-body);
  font-size: 3em;
  font-weight: 700;
  color: #342F6B;
  margin-bottom: 0;
}

.project-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.project-details-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.project-meta-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.project-meta-item .meta-label {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.project-meta-item .meta-value {
  font-size: 1.2em;
  color: var(--color-text);
}

.project-description {
  font-size: 1.2em;
  line-height: 1.8;
  color: var(--color-text);
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.project-images img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--color-border);
}

.project-credits {
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.project-credits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
}

.credit-item .credit-label {
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.credit-item .credit-value {
  font-size: 13px;
  color: var(--color-text);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
	/* Margens laterais de 20px */
	.container,
	.header-inner,
	.cta-inner,
	.footer-inner,
	.brands-row {
	padding-left: 20px;
	padding-right: 20px;
	}

	html,
	body {
	overflow-x: hidden;
	width: 100%;
	}

	.section-brands,
	.brands-marquee-outer,
	.brands-track {
	max-width: 100%;
	}
	
	/* Menu */
	.nav-overlay-close {
		top: 100px;
	}
	
	/* Projetos */
	.projects-grid {
	grid-template-columns: repeat(1, 1fr);
	}
	
	.section-line {
	flex: 0 0 100px;
	}
	
	.project-details-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
	}

	.project-credits-grid {
    grid-template-columns: repeat(2, 1fr);
	}
	
	/* Logos da direita maiores */
	.header-lang-icons img {
    width: 30px;
    height: 30px;
	gap: 10px;
	}

	/* Ajuste seção ABOUT */
	.section-about {
	display: flow-root;
	height: auto !important;
	min-height: unset !important;
	padding: 48px 0 48px !important;
	}
	
	.about-body {
	display: flex !important;
	flex-direction: column !important;
	align-items: center;
	text-align: center;
	width: 100%;
	height: auto !important;
	padding-bottom: 25px !important;
	}

	.about-text-col,
	.about-text {
	height: auto !important;
	}

	.section-brands {
	position: relative;
	z-index: 1;
	}

	.about-labels {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 10px !important;
	width: 100%;
	align-items: start;
	}

	.about-label-item,
	.about-label-item:nth-child(2),
	.about-label-item:nth-child(3) {
	font-size: 0.7em;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-align: center !important;
	white-space: normal;
	word-break: break-word;
	}

	/* Nome gigante responsivo */
	.about-name-huge {
	font-size: 8.5em !important;
	line-height: 0.9;
	white-space: nowrap;
	text-align: center;
	width: 100%;
	overflow: hidden;
	}

	/* Localização e texto */
	.about-tagline-row {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 16px;
	align-items: start;
	width: 100%;
	}

	.about-tagline,
	.about-location {
	width: 100%;
	}

	.about-tagline {
	text-align: left;
	font-size: 0.8em;
	}

	.about-location {
	text-align: right;
	font-size: 0.7em;
	}

	/* Foto centralizada e ocupando espaço */
	.about-photo {
    width: 100%;
    max-width: 320px;
	}

	.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	}
	
	/* Texto sobre */
	.about-text {
	font-size: 1em !important;
	text-align: center;
	padding-top: 20px;
	width: 100%;
	}
	
	/* Redes */
	.about-text-col {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between;
	width: 100%;
	min-height: 100%;
	text-align: center;
	align-items: flex-start;
	margin-top: 50%;
	}

	.about-socials {
	margin-top: 24px;
	position: static !important;
	font-size: 0.8em;
	align-items: center;
	justify-content: center;
	width: 100%;
	}

	/* Brands abaixo do título */
	.brands-header {
	display: flex !important;
	flex-direction: column !important;
	align-items: center;
	gap: 20px;
	}

	.brands-label {
	width: 100%;
	white-space: normal !important;
	text-align: left;
	font-size: 1.5em;
	}

	.brands-line {
	display: none;
	}

	.brands-marquee-outer {
	width: 100%;
	}

	/* CTA */
	.section-cta {
	padding: 56px 0 40px;
	}
	.cta-inner {
	grid-template-columns: 1fr;
	gap: 15px;
	text-align: center;
	}

	.cta-title {
	font-size: 3.5em;
	line-height: 1.2;
	word-break: keep-all;
	}

	.cta-contact {
	font-size: 1.1em;
	line-height: 1.8;
	max-width: 100%;
	}
}
