:root {
  /* === PALETA CLEAN / MONOCROMÁTICA === */
  --bg-primary: #f9f9f7; 
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-highlight: #f1f5f9;

  --text-primary: #0f172a; 
  --text-secondary: #64748b; 
  --text-muted: #94a3b8;

  --border: #e5e7eb;

  --accent-soft: #cbd5e1;
  --accent-strong: #0f172a;
  
  --header-height: 80px;
  --font-primary: "Manrope", sans-serif;
  --brand-purple: #8b5cf6; /* Apenas para detalhes/hover */

  /* Mapeamento de Cores para Formas (Shapes) */
  --shape-1: var(--accent-soft);   
  --shape-2: var(--accent-strong); 
  --shape-3: var(--text-secondary);
}

[data-theme="dark"] {
  --bg-primary: #020617;
  --bg-secondary: #020617;
  --bg-card: #0f172a;
  --bg-highlight: #1e293b;

  --text-primary: #f8fafc; 
  --text-secondary: #94a3b8; 
  --text-muted: #64748b;

  --border: #1e293b;

  --accent-soft: #1e293b;
  --accent-strong: #f8fafc;
  
  --brand-purple: #a78bfa;
  --shape-1: #1e293b;   
  --shape-2: #f8fafc; 
  --shape-3: #475569;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* BLINDAGEM DE LAYOUT (Impede rolagem lateral) */
html, body {
  overflow-x: hidden; 
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.menu-open {
  overflow: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* === CONTAINERS === */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.container-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* === HEADER === */
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 200;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  background: color-mix(in srgb, var(--bg-secondary), transparent 10%);
  backdrop-filter: blur(10px);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  z-index: 201;
  transition: color 0.3s ease;
}

.nav {
  display: none;
}

.header__actions {
  display: flex;
  gap: 15px;
  align-items: center;
  z-index: 201;
}

.desktop-only {
  display: none !important;
}

/* === MOBILE MENU === */
.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 201;
  padding: 5px;
}

.bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: 0.3s ease;
}

body.menu-open .mobile-menu-btn .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .mobile-menu-btn .bar:nth-child(2) { opacity: 0; }
body.menu-open .mobile-menu-btn .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-secondary);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  padding-top: 80px;
}

body.menu-open .mobile-menu-overlay {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-link {
  font-size: 2rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.3s;
}

.mobile-cta {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

/* === BUTTONS & THEME === */
.theme-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.theme-btn:hover {
  background: var(--accent-soft);
}

[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid transparent;
}
[data-theme="dark"] .btn--primary {
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  color: var(--text-primary);
}

.btn--outline {
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background-color: var(--accent-soft);
}

/* === SCROLL & NAV LINKS === */
.scroll-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--text-primary);
    width: 0%;
    z-index: 205;
    transition: width 0.1s linear;
}

.nav__link {
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--text-primary);
    transition: width 0.3s ease-in-out;
}
.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}
.nav__link.active {
    color: var(--text-primary);
    font-weight: 800;
}

/* === SEÇÕES GERAIS === */
.section {
  transition: background-color 0.3s ease;
}
.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.jane-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === HERO (SOBRE - MONOCROMÁTICO) === */
.section-jane-hero {
    padding-top: 140px;
    padding-bottom: 80px;
    overflow-x: hidden;
}

.jane-hero-title {
    /* Ajustado para Mobile */
    font-size: 2.5rem; 
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.wave-text {
    position: relative;
    display: inline-block;
}
.wave-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='12' viewBox='0 0 60 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 6 Q 7.5 0, 15 6 T 30 6 T 45 6 T 60 6' stroke='%2394a3b8' fill='none' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 30px 12px;
}

.jane-photo-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    height: 350px;
    margin: 0 auto 40px auto;
    z-index: 1;
}

.jane-img-mask {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border-radius: 4px;
    background-color: var(--accent-soft);
}

.jane-img-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Formas ajustadas para Mobile */
.shape-yellow {
    position: absolute;
    top: -20px;
    left: -20px; 
    width: 100px;
    height: 100px;
    background-color: var(--shape-1);
    border-radius: 50%;
    z-index: 1;
}

.shape-red {
    position: absolute;
    bottom: 20px;
    right: -15px;
    width: 60px;
    height: 100px;
    background-color: var(--shape-3);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    z-index: 1;
    transform: rotate(-10deg);
}

.jane-hero-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.highlight-word {
    position: relative;
    display: inline-block;
    z-index: 1;
    font-weight: 800;
    color: var(--text-primary);
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0%;
    height: 12px;
    z-index: -1;
    opacity: 0.6;
    transform: skewX(-10deg);
    animation: highlightAnim 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.color-1::after { background-color: var(--shape-1); animation-delay: 0.5s; }
.color-2::after { background-color: var(--shape-2); animation-delay: 1.0s; }
.color-3::after { background-color: var(--shape-3); animation-delay: 1.5s; }
.color-4::after { background-color: var(--text-muted); animation-delay: 2.0s; }

@keyframes highlightAnim {
    to { width: 100%; }
}

/* === HERO (PROJETOS & CONTATO - ABSTRATO) === */
.section-projects-hero, 
.section-contact-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background-color: var(--bg-primary);
    overflow: hidden;
    position: relative;
}

.relative-container {
    position: relative;
}

.hero-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.projects-hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.projects-hero-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.text-highlight {
    color: var(--text-primary);
    font-weight: 600;
}

/* Formas Decorativas (Monocromáticas) */
.hero-shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    animation: floatShape 6s ease-in-out infinite;
}

.shape-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid var(--shape-1);
    top: -20px;
    left: 10%;
    animation-delay: 0s;
}

.shape-triangle {
    width: 0; 
    height: 0; 
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--shape-2);
    top: 40%;
    right: 15%;
    transform: rotate(15deg);
    animation-delay: 1s;
}

.shape-cross {
    color: var(--shape-3);
    bottom: -30px;
    left: 20%;
    transform: scale(1.5) rotate(-10deg);
    animation-delay: 2s;
}

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

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* === CONTEÚDO E SKILLS === */
.jane-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
}
.jane-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-muted);
}
.jane-content {
    font-size: 1.1rem;
    color: var(--text-primary);
    min-width: 0; 
    overflow: hidden;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border);
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.skill-tag:hover {
    transform: translateY(-3px);
    border-color: var(--text-primary);
    background-color: var(--accent-soft);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tag-highlight {
    border-color: var(--text-secondary);
    background-color: var(--bg-highlight);
    color: var(--text-primary);
}

.theme-soft .skill-tag {
    border-color: transparent;
    background-color: var(--bg-highlight);
}
.theme-soft .skill-tag:hover {
    background-color: var(--accent-soft);
    border-color: var(--border);
}

.jane-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border);
}

.jane-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}
.jane-item strong {
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.jane-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 700;
}

/* === CARROSSEL DE SKILLS (BLINDADO) === */
.tech-marquee {
  width: 100%;
  position: relative;
  /* CORREÇÃO DO SCROLL HORIZONTAL */
  max-width: 100vw;
  overflow: hidden; 
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-track {
  display: flex;
  gap: 40px; 
  width: max-content;
  animation: scroll-left 20s linear infinite;
}

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

.tech-group {
  display: flex;
  gap: 40px; 
  align-items: center;
}

.tech-group img {
  height: 50px; 
  width: auto;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.tech-group img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

[data-theme="dark"] .icon-bw {
  filter: invert(1) grayscale(100%) opacity(0.7);
}
[data-theme="dark"] .icon-bw:hover {
  filter: invert(1) grayscale(0%) opacity(1);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === PROJETOS (ZIG-ZAG) === */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.project-row {
    display: flex;
    align-items: center;
    gap: 80px;
    width: 100%;
}

.project-row:nth-child(even) {
    flex-direction: row-reverse;
}

.project-visual {
    flex: 1;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    background-color: var(--accent-soft);
    position: relative;
    transition: transform 0.4s ease;
}

.project-visual:hover {
    transform: scale(1.02);
}

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

.project-visual:hover img {
    transform: scale(1.1);
}

.project-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.p-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    font-family: var(--font-primary);
}

.p-tags {
    display: flex;
    gap: 8px;
}

.p-tags span {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 50px;
    background-color: var(--bg-highlight);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.p-tags .tag-highlight {
    background-color: var(--shape-1);
    color: var(--text-primary);
    border-color: transparent;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.project-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 90%;
}

.project-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.8;
    padding: 10px;
    margin: -10px;
    cursor: pointer;
}

.icon-link img,
.icon-link svg {
    width: 32px;
    height: 32px;
    display: block;
}

.icon-link:hover {
    opacity: 1;
    transform: translateY(-4px) scale(1.1);
    color: var(--text-primary);
}

/* Filtros PB para Ícones */
[data-theme="light"] .project-links .icon-bw {
    filter: grayscale(100%) opacity(0.8);
    transition: filter 0.3s ease;
}
[data-theme="light"] .icon-link:hover .icon-bw {
    filter: none;
    opacity: 1;
}
[data-theme="dark"] .project-links .icon-bw {
    filter: invert(1) grayscale(100%) opacity(0.8);
    transition: filter 0.3s ease;
}
[data-theme="dark"] .icon-link:hover .icon-bw {
    filter: invert(1) grayscale(0%);
    opacity: 1;
}

/* === GALERIA (ALINHAMENTO) === */
.section-gallery {
    padding: 80px 0;
    overflow: hidden;
}
.gallery-header {
    margin-bottom: 40px;
}
.gallery-track-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.gallery-track-wrapper::-webkit-scrollbar { display: none; }

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 0 24px; /* Alinhamento com container */
    width: max-content;
}

.gallery-item {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 4px;
    transition: filter 0.3s ease;
}
.gallery-item:hover img {
    filter: brightness(0.9);
}
.caption {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === CONTATO === */
.section-contact {
    padding-bottom: 120px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background-color: var(--bg-highlight);
    border-radius: 50px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.method-item {
    margin-bottom: 24px;
}

.method-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.method-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.method-link:hover {
    color: var(--text-secondary);
}

.social-row {
    display: flex;
    gap: 20px;
}

.text-link {
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    padding-bottom: 2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.text-link .arrow { transition: transform 0.3s ease; }
.text-link:hover { color: var(--text-secondary); border-color: var(--text-secondary); }
.text-link:hover .arrow { transform: translate(3px, -3px); }

.contact-form-container {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.main-form input,
.main-form textarea,
.main-form select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    background-color: var(--bg-highlight);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.main-form input:focus,
.main-form textarea:focus,
.main-form select:focus {
    outline: none;
    background-color: var(--bg-card);
    border-color: var(--text-primary);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

.main-form textarea {
    resize: vertical;
    min-height: 120px;
}

.select-wrapper {
    position: relative;
}
.select-wrapper::after {
    content: "↓";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    font-size: 0.9rem;
}
.main-form select {
    appearance: none;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* === FOOTER === */
.footer {
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border);
  background-color: var(--bg-primary);
  transition: background-color 0.3s;
  overflow: hidden;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.footer__cta {
  max-width: 100%;
}

.footer__cta h2 {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  line-height: 1.1;
}

.footer__cta p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer__socials {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.social-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.social-link:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.footer__image {
  width: 100%;
  max-width: 300px;
  position: relative;
}

.footer__image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: filter 0.3s ease, transform 0.3s ease;
}

[data-theme="light"] .footer__image img {
  filter: invert(1) brightness(0);
}
[data-theme="dark"] .footer__image img {
  filter: none;
}

.footer__image img:hover {
  transform: scale(1.05) rotate(3deg);
}

.footer__copy {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === RESPONSIVE MEDIA QUERIES === */
@media (min-width: 768px) {
  .container-content {
    padding-left: 32px;
    padding-right: 32px;
  }
  .footer__row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .footer__cta {
    max-width: 50%;
  }
  .footer__cta p {
    margin-left: 0;
    margin-right: 0;
  }
  .footer__socials {
    justify-content: flex-start;
  }
  .footer__image {
    max-width: 350px;
  }
  
  /* Hero Jane - Desktop (Tamanho Original) */
  .jane-hero-title {
    font-size: 5.5rem;
  }
  .jane-hero-desc {
    font-size: 1.4rem;
  }
  .jane-photo-container {
    width: 350px;
    height: 450px;
    max-width: none;
  }
  /* Formas Grandes Desktop */
  .shape-yellow {
    width: 160px;
    height: 160px;
    top: -50px;
    left: -60px;
  }
  .shape-red {
    width: 80px;
    height: 120px;
    right: -50px;
    bottom: 40px;
  }
  .jane-row {
    grid-template-columns: 200px 1fr;
    gap: 60px;
    padding: 60px 0;
  }
  
  /* Hero Projetos Desktop */
  .projects-hero-title {
    font-size: 4.5rem;
  }
  .projects-hero-desc {
    font-size: 1.4rem;
  }
  .shape-circle { top: 10px; left: 20%; width: 80px; height: 80px; }
  .shape-triangle { top: 20%; right: 20%; border-bottom-width: 50px; border-left-width: 30px; border-right-width: 30px; }
  .shape-cross { bottom: 10px; left: 30%; transform: scale(2); }

  /* Gallery Desktop */
  .gallery-item {
    width: 350px;
  }
  .gallery-item img {
    height: 450px;
  }
  .gallery-track {
    padding: 0 5%;
  }
}

@media (min-width: 1024px) {
  .container-content {
    padding-left: 40px;
    padding-right: 40px;
  }
  .nav {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  .nav__link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s;
  }
  .nav__link:hover {
    color: var(--text-primary);
  }
  .nav__link.active {
    color: var(--text-primary);
  }
  .desktop-only {
    display: inline-block !important;
  }
  .mobile-menu-btn {
    display: none !important;
  }
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* Responsividade Específica para Grid/Projetos */
@media (max-width: 900px) {
    .project-row {
        flex-direction: column !important;
        gap: 30px;
        align-items: flex-start;
        border-bottom: 1px solid var(--border);
        padding-bottom: 60px;
    }
    .projects-list {
        gap: 60px;
    }
    .project-visual {
        width: 100%;
        height: 250px;
    }
    .project-title {
        font-size: 2rem;
    }
    .project-desc {
        max-width: 100%;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-form-container {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-shape, .hero-label, .projects-hero-title, .projects-hero-desc, .status-dot {
        animation: none;
        opacity: 1;
    }
}