/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/*=============== VARIÁVEIS CSS ===============*/
:root {
  --header-height: 4.5rem;

  /* Paleta Premium - Verde Esmeralda */
  --primary-color: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --accent-color: #06d6a0;
  --accent-light: #6ee7b7;
  --cyan-accent: #6ee7b7;
  --emerald-accent: #2dd4bf;
  --teal-accent: #14b8a6;
  --slate-accent: #64748b;
  --bg-dark: #0a0f1a;
  --bg-darker: #030712;
  --bg-card: rgba(15, 23, 42, 0.8);
  --bg-card-solid: #0f172a;
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --border-color: rgba(16, 185, 129, 0.15);
  --glow-primary: rgba(16, 185, 129, 0.5);
  --glow-accent: rgba(6, 214, 160, 0.5);

  /* Tipografia */
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --h1-size: 3.5rem;
  --h2-size: 2.5rem;
  --h3-size: 1.75rem;
  --normal-size: 1rem;
  --small-size: 0.875rem;
  --tiny-size: 0.75rem;

  /* Espaçamentos */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.35);

  /* Bordas */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Transições */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-size);
  background: var(--bg-darker);
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(6, 214, 160, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }

ul {
  list-style: none;
}

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

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

strong {
  color: var(--accent-light);
  font-weight: 600;
}

p {
  text-align: justify;
}

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

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.section {
  padding-block: var(--spacing-3xl) var(--spacing-2xl);
  position: relative;
}

.section-title {
  font-size: var(--h2-size);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 40%, var(--accent-light) 70%, var(--cyan-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(16, 185, 129, 0.5);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px var(--glow-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: calc(var(--spacing-xl) * -0.5);
  margin-bottom: var(--spacing-xl);
  font-size: var(--normal-size);
}

.main {
  overflow-x: hidden;
}

/*=============== ANIMAÇÕES DE REVEAL ===============*/
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/*=============== HEADER E NAVEGAÇÃO PREMIUM ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
  transition: all var(--transition-base);
}

/* Deixa o header mais enxuto quando rolar a página (opcional via JS, mas fica lindo assim) */
.header.scroll-header {
  background: rgba(3, 7, 18, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo mais sofisticada */
/* Nova Logo Tech */
.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
  transition: all var(--transition-base);
}

.logo-tag {
  color: var(--primary-color);
  font-weight: 900;
}

.nav-logo:hover {
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}


/* Layout do Menu Central */
.nav-list {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: rgba(15, 23, 42, 0.4);
  padding: 0.35rem 0.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all var(--transition-base);
}

.nav-link i {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

/* Efeito Hover Elegante nas opções */
.nav-link:hover {
  background: rgba(16, 185, 129, 0.1);
  color: var(--text-primary);
}

.nav-link:hover i {
  color: var(--primary-light);
}

/* Ações (Botão + Toggle) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botão de Contato no Header */
.nav-btn-contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 214, 160, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-light);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.nav-btn-contact:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.nav-btn-contact i {
  font-size: 1.1rem;
}

.nav-toggle {
  font-size: 1.8rem;
  color: var(--text-primary);
  cursor: pointer;
  display: none;
  transition: color 0.3s;
}

.nav-toggle:hover {
  color: var(--primary-color);
}

.nav-close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-primary);
  cursor: pointer;
}


/*=============== HERO SECTION ===============*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--header-height);
  background: var(--bg-darker);
  overflow: hidden;
}

/* 1. Imagem de fundo responsiva (z-index: 1) */
.hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.25; /* Aumentei de 0.12 para 0.25 para dar pra ver bem */
}

.hero-img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Faz a imagem preencher a tela no celular e PC */
  object-position: center;
}

/* 2. Efeito de brilho animado (z-index: 2) */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(6, 214, 160, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(110, 231, 183, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.06) 0%, transparent 30%);
  pointer-events: none;
  animation: heroGlow 12s ease-in-out infinite;
  z-index: 2;
}

/* 3. Degradê escuro para dar leitura ao texto (z-index: 3) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.4) 50%, var(--bg-darker) 100%);
  pointer-events: none;
  z-index: 3;
}

/* 4. Partículas flutuantes (z-index: 4) */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(110, 231, 183, 0.3), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(16, 185, 129, 0.2), transparent),
    radial-gradient(2px 2px at 60% 40%, rgba(6, 214, 160, 0.25), transparent),
    radial-gradient(2px 2px at 80% 60%, rgba(45, 212, 191, 0.2), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(110, 231, 183, 0.15), transparent),
    radial-gradient(1px 1px at 90% 20%, rgba(16, 185, 129, 0.15), transparent),
    radial-gradient(1.5px 1.5px at 50% 50%, rgba(6, 214, 160, 0.2), transparent);
  background-size: 550px 550px;
  animation: particleDrift 20s linear infinite;
  pointer-events: none;
}

@keyframes particleDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-550px); }
}

@keyframes heroGlow {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.8;
  }
}

/* 5. Container com os textos e botões (z-index: 10) */
.hero-container {
  position: relative;
  z-index: 10;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.hero-subtitle {
  font-size: var(--small-size);
  font-weight: 600;
  color: var(--cyan-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--spacing-sm);
  animation: fadeInUp 0.6s ease-out 0.2s both;
  text-shadow: 0 0 30px rgba(110, 231, 183, 0.5);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 50%, var(--cyan-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease-out 0.4s both;
  filter: drop-shadow(0 0 40px rgba(16, 185, 129, 0.3));
}

.hero-education {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  background: linear-gradient(90deg, var(--text-secondary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--spacing-xl);
  line-height: 1.8;
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

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

/*=============== BOTÕES ===============*/
.button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--teal-accent) 100%);
  background-size: 200% 200%;
  color: white;
  font-weight: 600;
  font-size: var(--small-size);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow:
    0 4px 15px rgba(16, 185, 129, 0.4),
    0 0 30px rgba(6, 214, 160, 0.2);
  animation: fadeInUp 0.6s ease-out 1s both, gradientShift 5s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.button::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.5s ease;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 30px rgba(16, 185, 129, 0.5),
    0 0 50px rgba(6, 214, 160, 0.4),
    0 0 80px rgba(45, 212, 191, 0.2);
}

.button:active {
  transform: translateY(0) scale(1);
}

.button i {
  font-size: 1.25rem;
}

.button-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-light);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.button-secondary:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

/*=============== TECH SCROLLER ===============*/
.tech-scroller {
  width: 100%;
  overflow: hidden;
  padding-block: var(--spacing-lg);
  background: linear-gradient(90deg, var(--bg-darker), rgba(15, 23, 42, 0.8), var(--bg-darker));
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  border-bottom: 1px solid rgba(6, 214, 160, 0.1);
  position: relative;
}

.tech-scroller::before,
.tech-scroller::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-scroller::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-darker), transparent);
}

.tech-scroller::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-darker), transparent);
}

.tech-scroller-inner {
  display: flex;
  gap: var(--spacing-xl);
  animation: scroll 15s linear infinite;
}

.tech-scroller-inner span {
  font-size: var(--small-size);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.1);
  transition: all 0.3s ease;
}

.tech-scroller-inner span:hover {
  color: var(--cyan-accent);
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(110, 231, 183, 0.3);
  box-shadow: 0 0 20px rgba(110, 231, 183, 0.2);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/*=============== SOBRE MIM PREMIUM ===============*/
#sobre {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
  position: relative;
}

#sobre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(6, 214, 160, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.about-container {
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 4rem 5rem;
  max-width: 1100px;
  margin-inline: auto;
}

/* Imagem e Efeitos */
.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  z-index: 1;
}

.about-image-inner {
  position: relative;
  border-radius: 24px;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.about-image-inner::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-color), transparent, var(--cyan-accent));
  border-radius: 26px;
  z-index: -1;
  opacity: 0.3;
}

.about-photo {
  border-radius: 16px;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-inner:hover .about-photo {
  transform: scale(1.03);
}

/* Badges Flutuantes */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(16, 185, 129, 0.1);
  z-index: 5;
}

.floating-badge i {
  color: var(--cyan-accent);
  font-size: 1.25rem;
}

.badge-1 {
  bottom: 2rem;
  left: -2.5rem;
  animation: floatBadge 6s ease-in-out infinite;
}

.badge-2 {
  top: 3rem;
  right: -2.5rem;
  animation: floatBadge 6s ease-in-out infinite 3s; /* Delay para flutuar em tempos diferentes */
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Conteúdo Textual */
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.08);
  color: var(--primary-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.about-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.about-heading span {
  background: linear-gradient(135deg, var(--primary-light), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: left;
}

/* ── About Redesign ── */
.about-content {
  min-width: 0;
}

.about-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-light);
  margin-bottom: 1.1rem;
  opacity: 0.8;
}

.about-statement {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}

.about-highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-sub {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(16, 185, 129, 0.3);
}

/* Info cards */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.about-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.about-card:hover {
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.about-card > i {
  font-size: 1.35rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.about-card-info strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
}

.about-card-info span {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: nowrap;
}

/* Availability badge (replaces floating badges) */
.about-avail-badge {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  padding: 0.55rem 1.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 12px rgba(16, 185, 129, 0.1);
  z-index: 5;
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

/* Grid Bento Box */
.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.875rem;
}

.bento-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.bento-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.bento-icon i {
  font-size: 1.5rem;
  color: var(--primary-light);
}

.bento-info h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.bento-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/*=============== HABILIDADES ===============*/
#habilidades {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
  position: relative;
}

#habilidades::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.skill-group {
  padding: 2rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.35));
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-group:hover {
  border-color: rgba(16, 185, 129, 0.28);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(16, 185, 129, 0.06));
  transform: translateY(-5px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(16, 185, 129, 0.08);
}

.skill-group-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.skill-group-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 214, 160, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 11px;
  flex-shrink: 0;
}

.skill-group-icon i {
  font-size: 1.3rem;
  color: var(--primary-light);
}

.skill-group h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
  background: none;
  letter-spacing: 0.02em;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.skill-pill:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--primary-light);
  transform: translateY(-2px);
}

/*=============== PROJETOS ===============*/
#projetos {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
  position: relative;
}

#projetos::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(6, 214, 160, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.projects-carousel-wrapper {
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--cyan-accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-card:hover::after {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(16, 185, 129, 0.2),
    0 0 80px rgba(6, 214, 160, 0.1);
}

.project-card-featured {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(16, 185, 129, 0.1));
}

.project-card-featured::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--cyan-accent), var(--primary-color), var(--accent-color), var(--emerald-accent));
}

.project-card-featured:hover {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(16, 185, 129, 0.3),
    0 0 100px rgba(6, 214, 160, 0.2);
}

.project-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.project-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  background: #0a0f1e;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.3;
}

.project-card-description {
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
}

.tech-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-light);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.25);
  white-space: nowrap;
  transition: all var(--transition-base);
}

.tech-badge:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* Botão Ver Mais no Card */
.project-btn-more {
  margin-top: 1rem;
  padding-top: 0.75rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.project-btn-more i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.project-card:hover .project-btn-more {
  color: var(--cyan-accent);
}

.project-card:hover .project-btn-more i {
  transform: translateX(4px);
}

.carousel-arrow {
  display: none;
}

/*=============== ESTATÍSTICAS ===============*/
.stats {
  background: var(--bg-darker);
  padding-block: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(6, 214, 160, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.stats-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  width: 100%; /* Ocupa toda a largura da célula da grade */
  justify-content: center; /* Centraliza o conteúdo dentro da caixa */
}

.stats-box:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.15);
}

.stats-icon {
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--cyan-accent), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(110, 231, 183, 0.4));
}

.stats-number {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stats-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Stats content wrapper */
.stats-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

/*=============== CONTATO ===============*/
#contato {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
  position: relative;
  padding-block: var(--spacing-2xl);
}

#contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  text-align: center;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-email:hover {
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
}

.contact-email i {
  font-size: 1.25rem;
  color: var(--cyan-accent);
}

.contact-email span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-email:hover span {
  color: var(--text-primary);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-icons a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(16, 185, 129, 0.15);
  font-size: 1.35rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--cyan-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(16, 185, 129, 0.2);
}

/*=============== FOOTER ===============*/
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-xl) 0;
}

.footer-container {
  display: flex;
  flex-direction: column; /* Empilha o conteúdo verticalmente */
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-container p {
  color: var(--text-muted);
  font-size: var(--small-size);
}

.footer-socials {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social-link {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.footer-social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(-2px);
}

/*=============== MODAL DE PROJETO PREMIUM ===============*/
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.project-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.project-modal-container {
  position: relative;
  width: 94%;
  max-width: 1100px;
  max-height: 90vh;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border-radius: 24px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.5),
    0 30px 60px -30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(16, 185, 129, 0.1),
    0 0 80px rgba(16, 185, 129, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.project-modal.active .project-modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Botão Fechar Premium */
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 14px;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.modal-close-btn i {
  font-size: 1.75rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: #ef4444;
  transform: rotate(90deg);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.modal-close-btn:hover i {
  color: white;
}

/* Hero do Modal */
.modal-hero {
  position: relative;
  padding: 1.5rem 2rem 1.25rem;
  overflow: hidden;
}

.modal-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: blur(30px);
  transform: scale(1.2);
}

.modal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.5) 50%,
    rgba(15, 23, 42, 1) 100%
  );
  pointer-events: none;
}

.modal-hero-content {
  position: relative;
  z-index: 1;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 214, 160, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.625rem;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(16, 185, 129, 0.2); }
}

.modal-badge i {
  color: #fbbf24;
  font-size: 0.75rem;
}

.modal-badge span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-title {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.modal-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-tech-stack li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 0.675rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: all 0.3s ease;
  list-style: none;
}

.modal-tech-stack li:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Corpo do Modal */
.modal-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  padding: 0 2rem 1.75rem;
  max-height: calc(90vh - 140px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* scroll suave no iOS */
  overscroll-behavior: contain; /* impede vazar scroll para a página */
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
}

/* Galeria Premium */
.modal-gallery-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-main-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.modal-main-image {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  display: block;
  padding: 1rem;
  transition: transform 0.5s ease;
}

.modal-main-image-wrapper:hover .modal-main-image {
  transform: scale(1.02);
}

.image-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.modal-main-image-wrapper:hover .image-glow {
  opacity: 1;
}

.modal-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.625rem;
}

.modal-thumbnails img {
  width: 100%;
  height: 55px;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.375rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.modal-thumbnails img:hover {
  opacity: 0.8;
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-3px);
}

.modal-thumbnails img.active {
  opacity: 1;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Seção de Informações */
.modal-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Cards do Modal */
.modal-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modal-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.1);
}

.modal-card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 1.25rem 0;
}

.modal-card-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 214, 160, 0.15));
  border-radius: 12px;
  flex-shrink: 0;
}

.modal-card-icon i {
  font-size: 1.25rem;
  color: var(--primary-light);
}

.modal-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.modal-card-content {
  padding: 1rem 1.25rem 1.25rem;
}

/* Features List Premium */
.project-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-topics li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 2rem;
}

.project-topics li::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.project-topics li:hover {
  background: rgba(16, 185, 129, 0.1);
  transform: translateX(4px);
  color: var(--text-primary);
}

.topic-hidden {
  display: none !important;
}

.topic-visible {
  display: flex !important;
}

.show-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px dashed rgba(16, 185, 129, 0.4);
  color: var(--primary-light);
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  width: 100%;
}

.show-more-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-style: solid;
  border-color: var(--primary-color);
}

.show-more-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.show-more-btn:hover i {
  transform: translateY(3px);
}

/* Botões de Ação Compactos (abaixo da imagem) */
.modal-actions-inline {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.75rem;
}

.modal-btn-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
}

.modal-btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3);
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.modal-btn-secondary {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-light);
}

.modal-btn-secondary:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.modal-btn-compact i {
  font-size: 1.1rem;
}

/* Responsivo Modal Premium */
@media screen and (max-width: 992px) {
  .modal-body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .modal-hero {
    padding: 1.25rem 1.5rem 1rem;
  }

  .modal-main-image {
    max-height: 250px;
  }
}

@media screen and (max-width: 767px) {
  .project-modal-container {
    width: 96%;
    max-height: 95vh;
    border-radius: 18px;
  }

  .modal-hero {
    padding: 1rem 1.25rem 0.875rem;
  }

  .modal-title {
    font-size: 1.125rem;
  }

  .modal-body {
    padding: 0 1.25rem 1.25rem;
    max-height: calc(95vh - 120px);
  }

  .modal-close-btn {
    width: 44px;
    height: 44px;
    top: 0.75rem;
    right: 0.75rem;
    border-radius: 10px;
  }

  .modal-close-btn i {
    font-size: 1.35rem;
  }

  .modal-action-btn {
    padding: 0.75rem 0.875rem;
  }

  .action-icon {
    width: 36px;
    height: 36px;
  }

  .modal-badge {
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.5rem;
  }

  .modal-badge span {
    font-size: 0.6rem;
  }
}

/*=============== MEDIA QUERIES ===============*/
@media screen and (max-width: 992px) {
  :root {
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
  }

  .project-card-featured {
    grid-column: span 1;
  }

  .about-container {
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl) 3rem;
  }

  .skills-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  /* ================= MENU MOBILE — OVERLAY FULL-SCREEN ================= */
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    background: rgba(3, 7, 18, 0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 3rem;
    border-left: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
  }

  .show-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 0;
    width: 100%;
    max-width: 300px;
    overflow: hidden;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0;
    background: rgba(15, 23, 42, 0.3);
    border: none;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
  }

  .nav-link i {
    font-size: 1.1rem;
    color: var(--text-muted);
    background: none;
    padding: 0;
    border-radius: 0;
    transition: color 0.2s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary-light);
    background: rgba(16, 185, 129, 0.08);
  }

  .nav-link:hover i,
  .nav-link.active i {
    color: var(--primary-light);
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .nav-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
  }

  .nav-toggle {
    display: block;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
  }

  .nav-btn-contact {
    display: none;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .about-image-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-avail-badge {
    font-size: 0.72rem;
    padding: 0.45rem 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .stats-box {
    padding: 0.875rem 1rem;
    gap: 0.5rem;
  }

  .stats-icon {
    font-size: 1.5rem;
  }

  .stats-number {
    font-size: 1.25rem;
  }

  .stats-title {
    font-size: 0.65rem;
  }

  .about-image {
    width: 220px;
    height: 220px;
  }

  .about-highlights {
    gap: var(--spacing-xs);
  }

  .highlight-item {
    font-size: 0.9rem;
  }

  .skills-wrapper {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .skill-group {
    padding: 1.5rem;
  }
}

@media screen and (min-width: 768px) {
  .about-container {
    grid-template-columns: 320px 1fr;
    gap: 3rem 4rem;
  }

  .about-image-wrapper {
    max-width: 100%;
    margin: 0;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .container {
    padding-inline: var(--spacing-lg);
  }
}

/*=============== GRAIN OVERLAY ===============*/
.grain-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.022;
  pointer-events: none;
  z-index: 9998;
}

/*=============== CURSOR SPOTLIGHT ===============*/
.cursor-spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.055) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: left 0.08s ease, top 0.08s ease;
  will-change: left, top;
}

/*=============== HERO AVAILABLE BADGE ===============*/
.hero-available {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease-out 0.05s both;
  letter-spacing: 0.02em;
}

.hero-available-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
}

@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/*=============== HERO BUTTONS ===============*/
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 1s both;
}

.hero-buttons .button {
  animation: gradientShift 5s ease infinite;
}

.hero-btn-cv {
  animation: fadeInUp 0.6s ease-out 1.1s both !important;
}

/*=============== ACTIVE NAV LINK (SCROLL SPY) ===============*/
.nav-link.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-light);
}

.nav-link.active i {
  color: var(--primary-light);
}

/*=============== BACK TO TOP ===============*/
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border: none;
  border-radius: 14px;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
}

/*=============== FLOAT CONTACT BUTTON (MOBILE) ===============*/
.float-contact-btn {
  display: none; /* escondido no desktop — o nav já tem "Fale Comigo" */
}

@media screen and (max-width: 992px) {
  .float-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 14px;
    color: white;
    font-size: 1.5rem;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  }

  .float-contact-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .float-contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
  }
}

/*=============== DEVICONS NAS SKILL PILLS ===============*/
.skill-pill {
  gap: 0.45rem;
}

.skill-pill i {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}

/*=============== TIMELINE ===============*/
.timeline-section {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
  position: relative;
}

.timeline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.timeline-container {
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--primary-color) 15%,
    var(--accent-color) 50%,
    var(--primary-color) 85%,
    transparent 100%
  );
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(16, 185, 129, 0.15),
    0 0 20px rgba(16, 185, 129, 0.45);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  box-shadow:
    0 0 0 6px rgba(16, 185, 129, 0.2),
    0 0 30px rgba(16, 185, 129, 0.6);
  transform: scale(1.2);
}

.timeline-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.45));
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.timeline-card:hover::before {
  transform: scaleX(1);
}

.timeline-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateX(8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 0 25px rgba(16, 185, 129, 0.08);
}

.timeline-date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  background: rgba(16, 185, 129, 0.08);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  background: none;
  -webkit-text-fill-color: var(--text-primary);
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  text-align: left;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.timeline-tags span {
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

/*=============== TESTIMONIAL ===============*/
.testimonial-section {
  background: var(--bg-darker);
  position: relative;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.testimonial-container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.5));
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), var(--cyan-accent), transparent);
}

.testimonial-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 0 50px rgba(16, 185, 129, 0.1);
}

.testimonial-quote-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 1.75rem;
  text-align: left;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 214, 160, 0.1));
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  background: none;
  -webkit-text-fill-color: var(--text-primary);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/*=============== CONTACT LAYOUT COM FORMULÁRIO ===============*/
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.contact-form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.contact-form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-group input,
.form-group textarea {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--body-font);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
  min-height: 120px;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1.5rem;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  letter-spacing: 0.02em;
}

.form-submit-btn i {
  font-size: 1.1rem;
}

.form-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 1rem;
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.form-success.visible {
  display: flex;
}

.form-success i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 50px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-whatsapp-link i {
  font-size: 1.25rem;
  color: #25d366;
}

.contact-whatsapp-link span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-whatsapp-link:hover {
  border-color: rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 211, 102, 0.15);
}

.contact-divider {
  height: 1px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 1px;
}

/*=============== RESPONSIVO - NOVOS ELEMENTOS ===============*/
@media screen and (max-width: 767px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-marker {
    left: -2rem;
  }

  .timeline-card {
    padding: 1.25rem;
  }

  .testimonial-card {
    padding: 1.75rem 1.25rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
  }

  .float-contact-btn {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/*=============== TIMELINE GRID — COMPACTA ===============*/
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tl-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.4));
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 18px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  border-radius: 18px 0 0 18px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.tl-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2), 0 0 25px rgba(16, 185, 129, 0.08);
}

.tl-card:hover::before {
  opacity: 1;
}

.tl-date {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.tl-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.tl-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.875rem;
  text-align: left;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tl-tags span {
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: var(--primary-light);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
}

@media (max-width: 767px) {
  .timeline-grid {
    grid-template-columns: 1fr;
  }
}

/*=============== CONTATO MINIMAL ===============*/
.contact-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-links-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.5));
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-align: left;
}

.contact-link-card i {
  font-size: 1.5rem;
  color: var(--cyan-accent);
  flex-shrink: 0;
}

.contact-link-wa i {
  color: #25d366;
}

.contact-link-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(16, 185, 129, 0.1);
}

.clc-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.clc-value {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.contact-link-card:hover .clc-value {
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .contact-links-row {
    grid-template-columns: 1fr;
  }
}

/*=============== MODAL DE CONTATO ===============*/
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(16, 185, 129, 0.1),
    0 0 60px rgba(16, 185, 129, 0.12);
}

.contact-modal.active .contact-modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.contact-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
  transform: rotate(90deg);
}

.contact-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: left;
}

/*=============== STATS REDESIGN — MINIMALISTA ===============*/
/* Override todos os estilos antigos das stats */
.stats {
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.stats .stats-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  grid-template-columns: none;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 1.5rem 2rem;
  gap: 0.5rem;
}

/* Override the old stats-number */
.stats .stats-number {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 50%, var(--cyan-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.25));
}

.stats-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stats-sep {
  width: 1px;
  height: 55px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(16, 185, 129, 0.3) 50%,
    transparent 100%
  );
  flex-shrink: 0;
}

/* Remove estilos antigos que sobram */
.stats-box { display: none; }
.stats-icon { display: none; }
.stats-content { display: none; }
.stats-title { display: none; }

@media (max-width: 767px) {
  .stats .stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stats-sep {
    display: none;
  }

  .stats-item {
    padding: 1.25rem 1rem;
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 16px;
    margin: 0.35rem;
  }

  .stats .stats-number {
    font-size: 2.2rem;
  }
}
