/* Foto mobile após subtítulo */
.hero-mobile-photo {
  display: none;
}
@media (max-width: 700px) {
  .hero-mobile-photo {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 2vh auto 1.5vh auto;
    box-shadow: 0 8px 24px rgba(26,122,69,0.18);
  }
}
/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #0d3321;
  --forest-mid: #155233;
  --green: #1a7a45;
  --green-light: #23a05c;
  --green-soft: #e6f7ee;
  --accent: #34d17a;
  --accent-dim: rgba(52,209,122,0.15);
  --white: #ffffff;
  --off-white: #f7faf8;
  --gray-100: #f0f5f2;
  --gray-200: #dde8e2;
  --gray-400: #8faa9a;
  --gray-600: #4d6658;
  --gray-800: #233029;
  --teal: #0e7490;
  --emerald: #047857;
  --slate: #475569;
  --amber: #b45309;
  --blue: #1d4ed8;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: Arial, 'Montserrat', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(13,51,33,0.07);
  --shadow-lg: 0 12px 48px rgba(13,51,33,0.13);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,122,69,0.3);
}

.btn-ghost {
  display: inline-block;
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--gray-200);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--forest);
  letter-spacing: -0.03em;
}
.logo-dot { color: var(--green-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-600);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--forest); background: var(--gray-100); }

.btn-nav {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.4rem;
  background: var(--forest);
  color: var(--white);
  border-radius: 50px;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-nav:hover { background: var(--green); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--forest);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 0.25rem;
  border-top: 1px solid var(--gray-200);
}
.mobile-menu a { font-weight: 500; color: var(--gray-600); padding: 0.5rem 0; }
.mobile-menu.open { display: flex; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  width: 100%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  padding: 100px 2rem 4rem;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  gap: 4rem;
  overflow: hidden;
}

.hero-bg-dots {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  min-width: 0;
  animation: fadeUp 0.8s ease both;
}

.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--accent-dim);
  border: 1px solid rgba(26,122,69,0.2);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    margin: 2vh 0px;
  }
.hero-name {
  display: block;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hero-subtitle-line {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
}

.stat span { font-size: 0.8rem; color: var(--gray-400); font-weight: 400; }
.stat-divider { width: 1px; height: 36px; background: var(--gray-200); }

/* Hero visual */
.hero-visual {
  flex: 0 0 340px;
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-circle {
  width: 260px; height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(26,122,69,0.3);
}
.hero-initials {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: -0.05em;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  min-width: 175px;
}
.card-float { top: 20px; right: -20px; animation: float 3s ease-in-out infinite; }
.card-float-2 { bottom: 30px; left: -20px; animation: float 3s 1.5s ease-in-out infinite; }

.hcard-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.hcard-label { font-size: 0.72rem; color: var(--gray-400); font-weight: 500; }
.hcard-value { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--forest); }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gray-400), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ========== SECTION COMMON ========== */
section { padding: 6rem 0; width: 100%; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 2vh;
}
.section-header { text-align: center; max-width: 540px; margin: 0 auto 3.5rem; }
.section-desc { color: var(--gray-600); margin-top: 1rem; font-weight: 300; }

/* ========== SOBRE ========== */
.sobre { background: var(--white); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.sobre-text { color: var(--gray-600); margin-bottom: 1rem; font-weight: 300; font-size: 1.02rem; }
.sobre-text strong { color: var(--forest); font-weight: 600; }

.sobre-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.skill-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.skill-tag:hover { background: var(--green); color: var(--white); border-color: var(--green); }

.sobre-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.scard-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.scard-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.scard-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--forest); }
.scard-role { font-size: 0.82rem; color: var(--gray-400); }

.scard-items { display: flex; flex-direction: column; gap: 1rem; }
.scard-item { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.88rem; }
.scard-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.scard-item strong { display: block; color: var(--forest); font-weight: 600; }
.scard-item span { color: var(--gray-400); font-size: 0.8rem; }

/* ========== PROJETOS ========== */
.projetos { background: var(--off-white); }

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.projeto-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.projeto-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pcard-img {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.pcard-img--green   { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.pcard-img--teal    { background: linear-gradient(135deg, #ccfbf1, #99f6e4); }
.pcard-img--emerald { background: linear-gradient(135deg, #d1fae5, #6ee7b7); }
.pcard-img--slate   { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.pcard-img--amber   { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.pcard-img--blue    { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }

.pcard-icon-big { font-size: 3rem; }

.pcard-body { padding: 1.5rem; }

.pcard-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.85rem; }
.ptag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--gray-100);
  color: var(--gray-600);
}
.ptag--green   { background: rgba(26,122,69,0.1);   color: var(--green); }
.ptag--teal    { background: rgba(14,116,144,0.1);  color: var(--teal); }
.ptag--emerald { background: rgba(4,120,87,0.1);    color: var(--emerald); }
.ptag--slate   { background: rgba(71,85,105,0.1);   color: var(--slate); }
.ptag--amber   { background: rgba(180,83,9,0.1);    color: var(--amber); }
.ptag--blue    { background: rgba(29,78,216,0.1);   color: var(--blue); }

.pcard-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.pcard-desc { font-size: 0.88rem; color: var(--gray-600); font-weight: 300; }

.pcard-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}
.pcard-status { font-size: 0.72rem; font-weight: 600; margin-bottom: 0.5rem; display: inline-block; }
.pcard-status--live { color: var(--green); }
.pcard-status--done { color: var(--gray-400); }
.pcard-status--demo { color: var(--amber); }
.pcard-status--dev { color: var(--blue); }

.btn-ver {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
  padding: 0;
}
.btn-ver:hover { color: var(--forest); transform: translateX(2px); }

.btn-card {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  flex: 1;
  background: var(--green);
  color: var(--white);
  border: 1.5px solid var(--green);
}
.btn-card:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,122,69,0.25);
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(13,51,33,0.55);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 32px 80px rgba(13,51,33,0.22);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: sticky;
  top: 1rem;
  float: right;
  margin: 1rem 1rem 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}
.modal-close:hover { background: var(--gray-200); }

.modal-content { padding: 0 2.5rem 2.5rem; }

.modal-hero {
  height: 180px;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.modal-tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.modal-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.modal-subtitle { font-size: 0.88rem; color: var(--gray-400); margin-bottom: 2rem; }

.modal-section { margin-bottom: 1.5rem; }
.modal-section-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}
.modal-section p, .modal-section ul {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.7;
}
.modal-section ul { padding-left: 1.2rem; }
.modal-section ul li { margin-bottom: 0.3rem; }

.modal-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.modal-tool {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.modal-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  align-items: center;
}
.modal-actions .btn-card {
  flex: 1 1 0;
  min-width: 0;
}
.btn-card--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.modal-access-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
  flex-basis: 100%;
}

/* ========== EXPERIÊNCIA ========== */
.experiencia { background: var(--white); }

.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3rem; }
.exp-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 2rem;
}

.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 7px; top: 20px; bottom: 0;
  width: 1px;
  background: var(--gray-200);
}
.timeline-item:last-child::before { display: none; }

.tl-marker {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--green);
}
.tl-marker--green { background: var(--green-light); box-shadow: 0 0 0 1px var(--green-light); }

.tl-body { min-width: 0; }
.tl-date { font-size: 0.75rem; font-weight: 600; color: var(--gray-400); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.25rem; }
.tl-role { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--forest); }
.tl-company { font-size: 0.85rem; color: var(--green); font-weight: 500; margin-bottom: 0.4rem; }
.tl-desc { font-size: 0.88rem; color: var(--gray-600); font-weight: 300; line-height: 1.6; }

/* ========== CONTATO ========== */
.contato { background: var(--off-white); }

.contato-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.contato-desc { color: var(--gray-600); margin: 1rem 0 2rem; font-weight: 300; font-size: 1.02rem; }

.contato-links { display: flex; flex-direction: column; gap: 0.75rem; }
.contato-link {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.92rem; color: var(--gray-600);
  transition: color var(--transition);
  font-weight: 500;
}
.contato-link:hover { color: var(--green); }
.cl-icon { font-size: 1.1rem; }

.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-600); letter-spacing: 0.03em; }
.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--forest);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,122,69,0.12);
}
.form-group textarea { min-height: 120px; }

.form-success {
  display: none;
  font-size: 0.88rem;
  color: var(--green);
  font-weight: 500;
  text-align: center;
  padding: 0.75rem;
  background: rgba(26,122,69,0.08);
  border-radius: var(--radius-sm);
}
.form-success.show { display: block; }

/* ========== FOOTER ========== */
.footer { background: var(--forest); padding: 2.5rem 0; }
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.footer .logo { color: var(--white); }
.footer-text { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

/* ========== UTILITY CLASSES (moved from inline styles) ========== */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(26,122,69,0.3);
}

.sobre-cta {
  width: 100%;
  text-align: center;
  margin-top: 1.25rem;
  display: block;
}

.pcard-img--custom {
  background: #0a1121;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
}
.pcard-img--white {
  background: #ffffff;
}
.pcard-img--white .pcard-cover-img {
  box-shadow: none;
}

.pcard-cover-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  object-fit: cover;
}

.modal-hero--image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}

.modal-hero-img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  object-fit: cover;
}

.modal-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 1.2em;
}

.modal-stat-label {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.modal-stat-value {
  font-size: 22px;
  font-weight: 500;
  color: var(--forest);
  display: block;
}

.nav-links a.active {
  color: var(--forest);
  font-weight: 600;
}

.form-btn-sent {
  background: #1a7a45;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 120px; gap: 2rem; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats  { justify-content: center; }
  .hero-visual { flex: 0 0 auto; height: 280px; }
  .sobre-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .exp-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .contato-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }
  .hero { padding: 100px 1.25rem 3rem; min-height: 100svh; }
  .hero-visual { display: none; }
  .hero-name { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-subtitle-line { font-size: clamp(1.2rem, 5vw, 1.8rem); }
  .hero-scroll { display: none; }
  .projetos-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
}

@media (max-width: 640px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .modal-content { padding: 0 1.25rem 1.5rem; }
  .modal-overlay { padding: 1rem; }
  .modal { max-height: 92vh; }
  .modal-hero { height: 140px; font-size: 3rem; }
  .modal-title { font-size: 1.3rem; }
  .contato-desc { font-size: 0.92rem; }
  .stat strong { font-size: 1.3rem; }
  .hero-stats { gap: 1rem; }
  .sobre-card { padding: 1.5rem; }
  .exp-grid { gap: 2rem; }
}
