/* ===== VARIÁVEIS CSS ===== */
:root {
  --cream: #f5f2eb;
  --terracotta: #b75d69;
  --cinnamon: #a56f4b;
  --moss: #4f7a65;
  --lavender: #d7c7e5;
  --charcoal: #222223;
  --seed-color: rgba(255, 255, 255, 0.5);

  /* Sombras padronizadas */
  --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-heavy: 0 15px 30px rgba(0, 0, 0, 0.15);

  /* Transições padronizadas */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.8s ease;

  /* Border radius padronizado */
  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --radius-round: 50%;
}

/* ===== RESET E BASE ===== */
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: var(--charcoal);
  background: linear-gradient(180deg, var(--terracotta) 0%, var(--cinnamon) 40%, var(--moss) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== ACESSIBILIDADE ===== */
.skip-links {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  font-size: 0.9rem;
  transition: top var(--transition-fast);
  box-shadow: var(--shadow-medium);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

.skip-link:hover:focus {
  background: var(--terracotta);
}

button:focus,
a:focus,
input:focus,
textarea:focus,
.grid-item:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.menu-toggle:focus {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.nav-overlay a:focus {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-small);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  overflow: hidden;
  background-image: url("../images/hero-bg-v2.webp");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--lavender), var(--terracotta));
  opacity: 0.6;
  z-index: -2;
}

.hero-content {
  text-align: center;
  color: var(--cream);
  padding: 2rem;
}

.brand-logo {
  width: clamp(150px, 20vw, 300px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(245, 242, 235, 0.8));
}

.hero-quote {
  margin-top: 1.5rem;
  font-family: "Cormorant", serif;
  font-size: clamp(1.2rem, 2vw + 0.8rem, 2.5rem);
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(245, 242, 235, 0.7), 0 0 20px rgba(245, 242, 235, 0.5);
}

/* ===== ANIMAÇÕES DECORATIVAS ===== */
.seeds-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.seed {
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: var(--seed-color);
  border-radius: var(--radius-round);
  opacity: 0.6;
  animation: seedMove linear infinite;
}

.seed1 {
  top: 15%;
  left: -5%;
  animation-duration: 80s;
  animation-delay: 0s;
}
.seed2 {
  top: 35%;
  left: -10%;
  animation-duration: 65s;
  animation-delay: 10s;
}
.seed3 {
  top: 55%;
  left: -15%;
  animation-duration: 90s;
  animation-delay: 5s;
}
.seed4 {
  top: 75%;
  left: -8%;
  animation-duration: 75s;
  animation-delay: 15s;
}
.seed5 {
  top: 25%;
  left: -12%;
  animation-duration: 70s;
  animation-delay: 20s;
}
.seed6 {
  top: 45%;
  left: -20%;
  animation-duration: 85s;
  animation-delay: 25s;
}

@keyframes seedMove {
  0% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    transform: translateX(120vw) translateY(-30vh) scale(0.8);
  }
  100% {
    transform: translateX(240vw) translateY(-60vh) scale(0.6);
    opacity: 0;
  }
}

.blob {
  position: absolute;
  border-radius: var(--radius-round);
  opacity: 0.3;
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.blob1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle at 30% 30%, var(--lavender), var(--terracotta));
  animation-delay: 0s;
}

.blob2 {
  width: 600px;
  height: 600px;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle at 70% 70%, var(--moss), var(--cinnamon));
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) rotate(10deg);
  }
}

/* ===== LAYOUT PRINCIPAL ===== */
.cards-container {
  position: relative;
  padding-top: 2rem;
}

.card {
  background-color: rgba(245, 242, 235, 0.45);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-large);
  margin: 3rem auto;
  padding: 3rem 2rem;
  max-width: 1200px;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.card.active {
  opacity: 1;
  transform: translateY(0);
}

.card h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 4vw + 1rem, 3.5rem);
  color: var(--cinnamon);
  margin: 0 0 1rem;
}

/* ===== SEÇÃO SOBRE ===== */
.about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-photo {
  flex: 1 1 350px;
  height: 450px;
  background-size: cover;
  background-position: center;
  border-radius: 50% 60% 50% 60% / 60% 40% 60% 40%;
}

.about-text {
  flex: 2 1 400px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-text h1 {
  font-family: "Fraunces", serif;
  font-size: 1.75rem;
  color: var(--terracotta);
  margin: 0.5rem 0 1rem 0;
}

.read-more-about {
  color: var(--terracotta);
  cursor: pointer;
  text-decoration: underline;
  white-space: nowrap;
}

/* ===== GALERIA ===== */
.gallery-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.masonry-grid {
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 600px) {
  .masonry-grid {
    column-count: 2;
  }
}
@media (min-width: 900px) {
  .masonry-grid {
    column-count: 3;
  }
}

.grid-item {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  break-inside: avoid;
}

.grid-item.tall {
  height: 400px;
}
.grid-item.wide {
  height: 250px;
}
.grid-item:not(.tall):not(.wide) {
  height: 300px;
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.grid-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--cream);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform var(--transition-fast);
}

.grid-item:hover .grid-item-overlay {
  transform: translateY(0);
}

.grid-item-title {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.grid-item-description {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

.grid-item-technique {
  font-size: 0.8rem;
  color: var(--lavender);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ===== SKILLS & PROJETOS UNIFICADOS ===== */

.projects-card .tech-stack {
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.tech-category {
  text-align: center;
}

.tech-category h3 {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: var(--terracotta);
  margin-bottom: 1rem;
  font-weight: 600;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tech-tag {
  background: var(--lavender);
  color: var(--charcoal);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background: var(--moss);
  color: var(--cream);
  transform: translateY(-2px);
}

/* CTAs para Recrutadores */
.recruiter-actions {
  background: linear-gradient(135deg, 
    rgba(79, 122, 101, 0.1) 0%, 
    rgba(183, 93, 105, 0.05) 100%);
  border-radius: var(--radius-large);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
  border: 2px solid rgba(79, 122, 101, 0.2);
}

.recruiter-actions h3 {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  color: var(--moss);
  margin-bottom: 1rem;
}

.recruiter-actions p {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Botão Download CV */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: var(--cream);
  padding: 1.2rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-light);
  min-width: 180px;
}

.btn-download:hover {
  background: var(--moss);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-download:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

/* Links Profissionais */
.professional-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-social {
  display: inline-block;
  background: rgba(79, 122, 101, 0.1);
  color: var(--moss);
  padding: 0.9rem 1.8rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--moss);
  transition: all var(--transition-fast);
  min-width: 120px;
  text-align: center;
}

.btn-social:hover {
  background: var(--moss);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-social:focus {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

/* ===== PROJETOS ===== */
.project-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  -webkit-overflow-scrolling: touch;
}

.project-slide {
  flex: 0 0 80%;
  min-width: 80%;
  background-color: rgba(245, 242, 235, 0.65);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.project-slide:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

@media (min-width: 700px) {
  .project-slide {
    flex-direction: row;
    min-width: 60%;
    flex: 0 0 60%;
  }
}

.project-img {
  flex: 1;
  height: 250px;
  background-size: cover;
  background-position: center;
}

.project-desc {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.project-desc h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  color: var(--terracotta);
  font-size: 1.8rem;
}

.project-desc p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.project-link {
  margin-top: 1rem;
  display: inline-block;
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.project-link:hover {
  border-color: var(--terracotta);
}

/* ===== BLOG CARDS ===== */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .blog-list {
    flex-direction: row; 
  }
}

.blog-post {
  background-color: rgba(245, 242, 235, 0.65);
  border-radius: var(--radius-medium);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  flex: 1; 
  cursor: pointer;
  position: relative;
  overflow: hidden;
  
  transform: rotate(2.5deg);
  transform-origin: center bottom;
  
  /* Transição suave */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-post:nth-child(even) {
  transform: rotate(1.5deg);
}

.blog-post:hover {
  transform: rotate(0deg) translateY(8px) scale(1.02);
  
  box-shadow: var(--shadow-heavy);
  background-color: rgba(245, 242, 235, 0.85);
}

.blog-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.blog-post:hover::before {
  left: 100%;
}

.blog-post h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  color: var(--moss);
  transition: color var(--transition-fast);
}

.blog-post:hover h3 {
  color: var(--terracotta);
}

.blog-post p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.blog-post:hover p {
  color: var(--charcoal);
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
}

.read-more:hover {
  border-color: var(--terracotta);
  transform: translateX(5px);
}

.read-more::after {
  content: '→';
  opacity: 0;
  margin-left: 0.5rem;
  transition: all var(--transition-fast);
}

.read-more:hover::after {
  opacity: 1;
  margin-left: 0.8rem;
}

/* CTA button */
.blog-cta-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.blog-cta-button {
  display: inline-block;
  background-color: rgba(201, 160, 96, 0.1);
  color: var(--terracotta);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  transition: all var(--transition-fast);
  border: 2px solid var(--terracotta);
}

.blog-cta-button:hover {
  background-color: var(--terracotta);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

.blog-cta-button .seta {
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.blog-cta-button:hover .seta {
  transform: translateX(4px);
}

/* ===== RESPONSIVIDADE - MANTÉM O LAYOUT ORIGINAL ===== */
@media (max-width: 800px) {
  .blog-post {
    transform: rotate(-0.8deg);
  }
  
  .blog-post:nth-child(even) {
    transform: rotate(0.8deg);
  }
  
  .blog-post:hover {
    transform: rotate(0deg) translateY(-5px) scale(1.01);
  }
}

/* ===== PREFERÊNCIAS DE MOVIMENTO REDUZIDO ===== */
@media (prefers-reduced-motion: reduce) {
  .blog-post {
    transform: none;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
  }
  
  .blog-post:nth-child(even) {
    transform: none;
  }
  
  .blog-post:hover {
    transform: none;
  }
  
  .read-more:hover,
  .blog-cta-button:hover {
    transform: none;
  }
  
  .blog-post::before {
    display: none;
  }
}

/* ===== CONTACTO ===== */
.contact-card {
  background-color: rgba(79, 122, 101, 0.5);
  backdrop-filter: blur(10px);
  color: var(--cream);
  padding: 2rem 1.5rem;
  margin: 1.5rem auto;
}

.contact-card h2 {
  color: var(--cream);
}

.contact-card p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: var(--radius-small);
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--cream);
  font-size: 1rem;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 242, 235, 0.7);
}

.contact-form button {
  padding: 0.8rem;
  background-color: var(--terracotta);
  color: var(--cream);
  border: none;
  border-radius: var(--radius-small);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: background-color var(--transition-fast);
}

.contact-form button:hover {
  background-color: var(--cinnamon);
}

.contact-form button[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.contact-form button .arrow {
  font-size: 1.2rem;
  line-height: 1;
}

/* ===== MENSAGENS DO FORMULÁRIO ===== */
.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
  font-size: 0.9rem;
  line-height: 1.4;
  animation: slideIn 0.3s ease-out;
}

.form-message--success {
  background-color: rgba(74, 93, 58, 0.1);
  border: 1px solid var(--moss);
  color: var(--moss);
}

.form-message--error {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid #dc3545;
  color: #dc3545;
}

.form-message--info {
  background-color: rgba(13, 110, 253, 0.1);
  border: 1px solid #0d6efd;
  color: #0d6efd;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== NAVEGAÇÃO ===== */
.nav {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
}

.menu-toggle {
  width: 50px;
  height: 50px;
  background: rgba(183, 93, 105, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(183, 93, 105, 0.4);
  border-radius: var(--radius-round);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(183, 93, 105, 0.3);
}

.menu-toggle:hover {
  background: rgba(183, 93, 105, 1);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(183, 93, 105, 0.4);
}

.menu-toggle .bar {
  width: 20px;
  height: 2px;
  background-color: var(--cream);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(183, 93, 105, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav-overlay li {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-fast);
}

.nav-overlay.open li {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.open li:nth-child(1) {
  transition-delay: 0.1s;
}
.nav-overlay.open li:nth-child(2) {
  transition-delay: 0.2s;
}
.nav-overlay.open li:nth-child(3) {
  transition-delay: 0.3s;
}
.nav-overlay.open li:nth-child(4) {
  transition-delay: 0.4s;
}
.nav-overlay.open li:nth-child(5) {
  transition-delay: 0.5s;
}
.nav-overlay.open li:nth-child(6) {
  transition-delay: 0.6s;
}

.nav-overlay a {
  color: var(--cream);
  font-family: "Fraunces", serif;
  font-size: 2.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-overlay a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--cream);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-overlay a:hover::after {
  width: 100%;
}

.nav-overlay a:hover {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  z-index: 30;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--cream);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: var(--radius-medium);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  color: var(--charcoal);
  position: relative;
}

.modal-content h2 {
  font-family: "Fraunces", serif;
  color: var(--terracotta);
  margin-top: 0;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--terracotta);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 20;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius-small);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ===== RODAPÉ ===== */
.footer {
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0.8rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  color: var(--cream);
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  width: 70px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.clock {
  font-size: 1rem;
  letter-spacing: 1px;
}

.footer-quote {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.4;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-round);
  color: var(--cream);
  transition: background var(--transition-fast);
  text-decoration: none;
}

.social-icon img {
  width: 60%;
  height: auto;
  display: block;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ===== RESPONSIVIDADE GERAL ===== */

/* Responsividade da nova seção Skills & Projetos */
@media (min-width: 768px) {
  .action-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav {
    top: 1rem;
    right: 1rem;
  }

  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-photo {
    width: 280px;
    height: 280px;
    flex: none;
  }

  .nav-overlay a {
    font-size: 2rem;
  }

  .tech-categories {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .recruiter-actions {
    padding: 2rem 1rem;
  }
  
  .recruiter-actions h3 {
    font-size: 1.4rem;
  }
  
  .btn-download {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 160px;
  }
  
  .professional-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .btn-social {
    width: 100%;
    min-width: auto;
  }

  .action-buttons {
    gap: 1.5rem;
  }
}

@media (min-width: 600px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .clock {
    font-size: 1.1rem;
  }

  .footer-quote {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .tech-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
  
  .btn-download {
    width: 100%;
    justify-content: center;
  }

  .recruiter-actions {
    padding: 1.5rem 1rem;
  }
}

/* ===== PREFERÊNCIAS DE MOVIMENTO REDUZIDO ===== */
@media (prefers-reduced-motion: reduce) {
  .seeds-container,
  .blob {
    animation: none;
  }

  .card,
  .project-slide,
  .grid-item,
  .blog-post {
    transition: none;
  }

  .nav-overlay {
    transition: opacity 0.1s ease;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn-download:hover,
  .btn-social:hover,
  .blog-post:hover,
  .read-more:hover {
    transform: none;
  }
}