/* ========================================
   Base e variáveis
======================================== */
:root {
    --primary: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0369a1;
    --bg: #f8fafc;
    --surface: #ffffff;
    --card: rgba(255, 255, 255, 0.76);
    --text: #0f172a;
    --text-muted: #64748b;
    --border: rgba(14, 165, 233, 0.16);
    --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    --radius: 18px;
  }
  
  html.dark {
    --bg: #050b16;
    --surface: #08111f;
    --card: rgba(11, 22, 39, 0.78);
    --text: #f8fafc;
    --text-muted: #cbd5e1;
    --border: rgba(125, 211, 252, 0.16);
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.25s ease, color 0.25s ease;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input,
  textarea {
    font: inherit;
  }
  
  button {
    cursor: pointer;
  }
  
  section {
    padding: 110px 0;
  }
  
  .container {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }
  
  /* ========================================
     Navegação
  ======================================== */
  .navbar {
    align-items: center;
    background: rgba(5, 11, 22, 0.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    display: flex;
    height: 76px;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: 0.25s ease;
    z-index: 100;
  }
  
  .navbar.scrolled {
    background: rgba(5, 11, 22, 0.94);
    border-color: var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  }
  
  html:not(.dark) .navbar {
    background: rgba(87, 94, 99, 0.74);
  }
  
  html:not(.dark) .navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
  }
  
  .navbar-content,
  .footer-content {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .logo-text {
    font-family: "Poppins", sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.06em;
  }
  
  .logo-dot {
    color: var(--primary-light);
  }
  
  .nav-links,
  .mobile-nav-links,
  .footer-links,
  .social-links,
  .tech-tags {
    display: flex;
    gap: 22px;
    list-style: none;
  }
  
  .nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
  }
  
  .nav-link::after {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    bottom: -8px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transition: width 0.25s ease;
    width: 0;
  }
  
  .nav-link:hover,
  .nav-link:hover::after {
    color: var(--text);
    width: 100%;
  }
  
  .nav-actions {
    align-items: center;
    display: flex;
    gap: 10px;
  }
  
  .theme-toggle,
  .menu-toggle,
  .back-top-btn {
    align-items: center;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--primary-light);
    display: flex;
    height: 42px;
    justify-content: center;
    transition: 1s ease;
    width: 42px;
  }
  
  .theme-toggle:hover,
  .menu-toggle:hover,
  .back-top-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
  }
  
  .menu-toggle,
  .mobile-menu {
    display: none;
  }
  
  /* ========================================
     Hero
  ======================================== */
  .hero-section {
    align-items: center;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 120px;
    position: relative;
  }
  
  .hero-content {
    align-items: center;
    display: grid;
    gap: 64px;
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .hero-greeting,
  .section-tag {
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  
  .hero-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.08rem, 4.8vw, 4.35rem);
    letter-spacing: -0.055em;
    line-height: 1.08;
    margin: 1px 0 22px;
  }
  
  .hero-subtitle {
    color: var(--primary-light);
    font-size: 1.0rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .hero-description,
  .about-paragraph {
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 690px;
  }
  
  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
  }
  
  .btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    font-weight: 700;
    gap: 9px;
    justify-content: center;
    padding: 13px 20px;
    transition: 0.25s ease;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.28);
    color: #fff;
  }
  
  .btn-outline {
    background: rgba(143, 163, 172, 0.08);
    border-color: var(--border);
    color: var(--text);
  }
  
  .btn:hover {
    transform: translateY(-3px);
  }
  
  .btn-primary:hover {
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.38);
  }
  
  .btn-outline:hover {
    background: rgba(14, 165, 233, 0.16);
  }
  
  .btn-full {
    width: 100%;
  }
  
  .hero-visual {
    display: flex;
    justify-content: center;
  }
  
  .avatar-container {
    height: 330px;
    position: relative;
    width: 330px;
  }
  
  .avatar-glow {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 66%);
    border-radius: 50%;
    filter: blur(20px);
    inset: -28px;
    position: absolute;
  }
  
  .avatar-ring {
    background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
    border-radius: 50%;
    height: 100%;
    padding: 10px;
    position: relative;
    width: 100%;
  }
  
  .avatar-inner,
  .avatar-photo-bg {
    align-items: center;
    background: radial-gradient(circle at 30% 20%, #164e63, #071827 70%);
    border-radius: 50%;
    display: flex;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    width: 100%;
  }
  
  .avatar-photo {
    color: rgba(125, 211, 252, 0.8);
    font-size: 8.5rem;
  }
  
  .floating-badge {
    align-items: center;
    background: rgba(8, 17, 31, 0.92);
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 999px;
    color: #e0f2fe;
    display: flex;
    font-size: 0.84rem;
    font-weight: 700;
    gap: 8px;
    padding: 10px 14px;
    position: absolute;
  }
  
  .floating-badge i {
    color: var(--primary-light);
  }
  
  .badge-top-right {
    right: -50px;
    top: 18%;
  }
  
  .badge-bottom-left {
    bottom: 15%;
    left: -48px;
  }
  
  .orb {
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.26;
    pointer-events: none;
    position: absolute;
  }
  
  .orb-1 {
    background: var(--primary);
    height: 320px;
    left: -90px;
    top: 14%;
    width: 320px;
  }
  
  .orb-2 {
    background: #2563eb;
    height: 280px;
    right: -90px;
    top: 52%;
    width: 280px;
  }
  
  .orb-3 {
    background: #06b6d4;
    bottom: -160px;
    height: 280px;
    left: 35%;
    width: 280px;
  }
  
  #particles-canvas {
    inset: 10;
    pointer-events: none;
    position: absolute;
    z-index: 0;
  }
  
  /* ========================================
     Seções e cards
  ======================================== */
  .section-header {
    margin: 0 auto 54px;
    max-width: 800px;
    text-align: center;
  }
  
  .section-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    letter-spacing: -0.045em;
    line-height: 1.15;
    margin-top: 13px;
  }
  
  .section-subtitle {
    color: var(--text-muted);
    margin: 14px auto 0;
    max-width: 630px;
  }
  
  .services-section,
  .what-section {
    background: var(--surface);
  }
  
  .about-section,
  .experience-section {
    background: var(--bg);
  }
  
  .services-grid,
  .what-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .glass-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  }
  
  .glass-card:hover {
    border-color: rgb(56, 191, 248);
    box-shadow: 0 18px 38px rgba(80, 131, 155, 0.12);
    transform: translateY(-5px);
  }
  
  .service-card,
  .what-card {
    padding: 28px;
  }
  
  .icon-box,
  .lifestyle-icon {
    align-items: center;
    background: rgba(14, 165, 233, 0.11);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--primary-light);
    display: flex;
    font-size: 1.2rem;
    height: 52px;
    justify-content: center;
    width: 52px;
  }
  
  .service-title,
  .what-title,
  .quality-title,
  .timeline-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.12rem;
    margin-top: 19px;
  }
  
  .service-description,
  .what-description,
  .timeline-description {
    color: #5689cc;
    font-size: 0.94rem;
    margin-top: 9px;
  }
  
  .tech-stack {
    margin-top: 50px;
    text-align: center;
  }
  
  .tech-stack-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    margin-bottom: 18px;
  }
  
  .tech-tags {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .tech-tag {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 13px;
  }
  

  /* ========================================
   Cards de tecnologias
======================================== */

.tech-stack {
  margin-top: 58px;
  text-align: center;
}

.tech-stack-title {
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.tech-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-card {
  background: rgba(15, 15, 24, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  min-height: 300px;
  padding: 32px 22px 26px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

html:not(.dark) .tech-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(14, 165, 233, 0.16);
}

.tech-card:hover {
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.1);
  transform: translateY(-6px);
}

.tech-card-icon {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 22px;
}

.tech-card-title {
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 1.40rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.tech-card-tags {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-card .tech-tag {
  background: rgba(56, 56, 170, 0);
  border: 1px solid rgba(177, 192, 212, 0.12);
  border-radius: 10px;
  color: #a1a1b5;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

html:not(.dark) .tech-card .tech-tag {
  background: rgba(14, 116, 233, 0.301);
  color: #597daf;
}

.tech-card .tech-tag:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--primary-light);
}

/* Tablet */
@media (max-width: 980px) {
  .tech-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 480px;
    width: 100%;
  }
}

/* Celular */
@media (max-width: 640px) {
  .tech-cards {
    grid-template-columns: 1fr;
  }

  .tech-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .tech-card {
    min-height: auto;
    padding: 28px 18px 24px;
  }

  .tech-card-title {
    font-size: 1.25rem;
  }

  .tech-card .tech-tag {
    font-size: 0.82rem;
    padding: 8px 11px;
  }
}

/* ========================================
   Processo de trabalho
======================================== */

.process-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
  position: relative;
}

/* Linha conectando os cards */
.process-grid::before {
  background: rgba(139, 92, 246, 0.42);
  content: "";
  height: 2px;
  left: 8%;
  position: absolute;
  right: 8%;
  top: 150px;
  z-index: 0;
}

.process-card {
  min-height: 298px;
  padding: 30px 28px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.process-number {
  color: rgba(139, 92, 246, 0.25);
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  right: 20px;
  top: 20px;
}

.process-icon {
  align-items: center;
  display: flex;
  font-size: 2.5rem;
  height: 66px;
  justify-content: center;
  margin: 4px auto 20px;
  position: relative;
  width: 66px;
  z-index: 2;
}

.process-title {
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.process-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 260px;
  position: relative;
  z-index: 2;
}

/* Pequenas divisões visuais entre os cards */
.process-card:not(:last-child)::after {
  background: rgba(139, 92, 246, 0.45);
  content: "";
  height: 2px;
  position: absolute;
  right: -40px;
  top: 150px;
  width: 40px;
}

/* Tablet */
@media (max-width: 1050px) {
  .process-grid {
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid::before {
    display: none;
  }

  .process-card:not(:last-child)::after {
    display: none;
  }
}

/* Celular */
@media (max-width: 640px) {
  .process-grid {
    gap: 18px;
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .process-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .process-number {
    font-size: 2.5rem;
    right: 16px;
    top: 16px;
  }

  .process-icon {
    font-size: 2.2rem;
    margin-top: 8px;
  }

  .process-title {
    font-size: 1.15rem;
  }
}

/* ========================================
   Seção Sobre Mim
======================================== */

.about-container {
  max-width: 980px;
}

.about-section .section-header {
  margin-bottom: 54px;
}

.about-card {
  padding: 34px 30px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 20px;
}

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

.about-card strong {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 640px) {
  .about-card {
    padding: 24px 20px;
  }

  .about-card p {
    font-size: 0.96rem;
    line-height: 1.65;
  }
}
  /* ========================================
     Sobre e habilidades
  ======================================== */
  .about-content {
    align-items: start;
    display: grid;
    gap: 64px;
    grid-template-columns: 1fr 1fr;
  }
  
  .about-paragraph:first-child {
    margin-top: 0;
  }
  
  .about-skills {
    display: grid;
    gap: 23px;
  }
  
  .skill-header {
    display: flex;
    font-size: 0.92rem;
    font-weight: 700;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  
  .skill-percent {
    color: var(--primary-light);
  }
  
  .skill-bar-wrap {
    background: rgba(14, 165, 233, 0.1);
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
  }
  
  .skill-bar {
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    border-radius: inherit;
    height: 100%;
    transition: width 1.15s ease;
    width: 0;
  }
  
  /* ========================================
     Experiência
  ======================================== */
  .qualities-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, 1fr);
  }
  
  .quality-card {
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 25px 16px;
    text-align: center;
  }
  
  .quality-title {
    font-size: 0.94rem;
    margin-top: 14px;
  }
  
  .timeline-section {
    margin: 68px auto 0;
    max-width: 780px;
  }
  
  .timeline {
    display: grid;
    gap: 24px;
    position: relative;
  }
  
  .timeline::before {
    background: linear-gradient(var(--primary), transparent);
    content: "";
    height: calc(100% - 60px);
    left: 13px;
    position: absolute;
    top: 25px;
    width: 2px;
  }
  
  .timeline-item {
    padding-left: 52px;
    position: relative;
  }
  
  .timeline-dot {
    background: var(--primary);
    border: 5px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
    height: 27px;
    left: 0;
    position: absolute;
    top: 27px;
    width: 27px;
  }
  
  .timeline-content {
    padding: 24px;
  }
  
  .timeline-title {
    margin: 0;
  }
  
  /* ========================================
     Contato e rodapé
  ======================================== */
  .contact-section {
    background: var(--surface);
  }
  
  .contact-content {
    display: grid;
    gap: 28px;
    grid-template-columns: 0.9fr 1.1fr;
  }
  
  .contact-card,
  .contact-form {
    min-height: 100%;
    padding: 30px;
  }
  
  .contact-details {
    display: grid;
    gap: 15px;
    position: relative;
    z-index: 1;
  }
  
  .contact-info-box {
    align-items: center;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    gap: 13px;
    padding: 14px;
  }
  
  .contact-info-box .icon-box {
    flex: 0 0 45px;
    height: 45px;
    width: 45px;
  }
  
  .contact-label {
    color: var(--text-muted);
    font-size: 0.78rem;
  }
  
  .contact-value {
    font-size: 0.9rem;
    font-weight: 700;
  }
  
  .social-links {
    margin-top: 25px;
    position: relative;
    z-index: 1;
  }

  .optional {
    color: #71717a;
    font-weight: 400;
  }
  
  .social-link-card {
    align-items: center;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--primary-light);
    display: flex;
    height: 43px;
    justify-content: center;
    transition: 0.25s ease;
    width: 43px;
  }
  
  .social-link-card:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
  }
  
  .contact-form {
    display: grid;
    gap: 19px;
  }
  
  .form-group {
    display: grid;
    gap: 8px;
  }
  
  .form-label {
    font-size: 0.88rem;
    font-weight: 700;
  }
  
  .form-input {
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    outline: none;
    padding: 13px 14px;
    resize: vertical;
    transition: 0.25s ease;
  }
  
  .form-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
  }
  
  .footer {
    background: #030712;
    color: #cbd5e1;
    padding: 28px 0;
  }
  
  .footer-text,
  .footer-link {
    font-size: 0.84rem;
  }
  
  .footer-links {
    gap: 16px;
  }
  
  .footer-link:hover {
    color: var(--primary-light);
  }

  .footer-brand {
    align-items: center;
    display: flex;
    gap: 10px;
  }
  
  .footer-logo {
    display: block;
    height: 34px;
    object-fit: contain;
    width: auto;
  }
  
  .back-top-btn {
    bottom: 22px;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 22px;
    transform: translateY(12px);
    transition: 0.25s ease;
    z-index: 90;
  }
  
  .back-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .form-alert {
    display: none;
  }
  
  .form-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid #ef4444;
    border-radius: 12px;
    color: #ef4444;
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
    padding: 12px 14px;
  }
  
  .optional {
    color: #71717a;
    font-weight: 400;
  }
  
  /* ========================================
     Animações
  ======================================== */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  /* ========================================
     Responsividade
  ======================================== */
  @media (max-width: 980px) {
    .hero-content,
    .about-content,
    .contact-content {
      grid-template-columns: 1fr;
    }
  
    .hero-text {
      text-align: center;
    }
  
    .hero-description {
      margin-left: auto;
      margin-right: auto;
    }
  
    .hero-buttons {
      justify-content: center;
    }
  
    .hero-visual {
      order: -1;
    }
  
    .services-grid,
    .what-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .qualities-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (max-width: 720px) {
    section {
      padding: 80px 0;
    }
  
    .container {
      padding: 0 18px;
    }
  
    .nav-links {
      display: none;
    }
  
    .menu-toggle {
      display: flex;
    }
  
    .mobile-menu {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow);
      left: 0;
      padding: 16px 24px 22px;
      position: fixed;
      right: 0;
      top: 76px;
      z-index: 99;
    }
  
    .mobile-menu.hidden {
      display: none;
    }
  
    .mobile-nav-links {
      display: grid;
      gap: 14px;
    }
  
    .mobile-nav-link {
      color: var(--text-muted);
      font-weight: 700;
    }
  
    .hero-section {
      min-height: auto;
      padding-bottom: 80px;
    }
  
    .hero-content {
      gap: 40px;
    }
  
    .hero-title {
      font-size: clamp(1rem, 5vw, 1rem);
    }
  
    .avatar-container {
      height: 245px;
      width: 245px;
    }
  
    .avatar-photo {
      font-size: 6rem;
    }
  
    .badge-top-right {
      right: -28px;
    }
  
    .badge-bottom-left {
      left: -26px;
    }
  
    .floating-badge {
      font-size: 0.7rem;
      padding: 8px 10px;
    }
  
    .services-grid,
    .what-grid,
    .qualities-grid {
      grid-template-columns: 1fr;
    }
  
    .quality-card {
      align-items: center;
      flex-direction: row;
      gap: 16px;
      justify-content: flex-start;
      min-height: auto;
      text-align: left;
    }
  
    .quality-title {
      margin: 0;
    }
  
    .footer-content {
      align-items: flex-start;
      flex-direction: column;
      gap: 13px;
    }
  
    .footer-links {
      flex-wrap: wrap;
    }
  }
  
  /* Menu mobile fechado por padrão */
.mobile-menu {
    display: none;
  }
  
  /* Menu mobile aberto pelo JavaScript */
  .mobile-menu.menu-open {
    display: block;
  }
  
  /* Links dentro do menu */
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 20px 24px;
  }
  
  .mobile-nav-link {
    color: var(--text-light-soft);
    display: block;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.25s ease;
  }
  
  .mobile-nav-link:hover {
    color: var(--blue-secondary);
  }
  
  /* Não mostra o menu mobile no desktop */
  @media (min-width: 768px) {
    .mobile-menu,
    .mobile-menu.menu-open {
      display: none;
    }
  }

  @media (max-width: 768px) {
  .footer-brand {
    justify-content: center;
    text-align: center;
  }

  .footer-logo {
    height: 30px;
  }
}

/* ========================================
   Ferramentas que uso
======================================== */

.tools-section {
  background: var(--bg);
}

.tools-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
}

.tool-card {
  min-height: 360px;
  padding: 38px 28px 30px;
  text-align: center;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.tool-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.14);
  transform: translateY(-6px);
}

.tool-icon {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 22px;
}

.tool-title {
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.tool-tags {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tool-tag {
  background: rgba(10, 10, 17, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 10px;
  color: #a1a1b5;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 14px;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

html:not(.dark) .tool-tag {
  background: rgba(14, 165, 233, 0.06);
  color: #475569;
}

.tool-tag:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(167, 139, 250, 0.5);
  color: #c4b5fd;
}

/* Tablet */
@media (max-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 480px;
    width: 100%;
  }
}

/* Celular */
@media (max-width: 640px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .tool-card {
    min-height: auto;
    padding: 30px 20px 26px;
  }

  .tool-title {
    font-size: 1.25rem;
  }

  .tool-tag {
    font-size: 0.82rem;
    padding: 8px 11px;
  }
}

/* ========================================
   Projetos — versão compacta
======================================== */

.projects-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.project-card {
  overflow: hidden;
}

.project-image-wrapper {
  height: 155px;
}

.project-content {
  padding: 18px;
}

.project-category {
  font-size: 0.66rem;
  margin-bottom: 7px;
}

.project-title {
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.project-description {
  display: -webkit-box;
  font-size: 0.82rem;
  line-height: 1.5;
  min-height: 62px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-tags {
  gap: 6px;
  margin-top: 14px;
}

.project-tag {
  font-size: 0.66rem;
  padding: 5px 8px;
}

.project-actions {
  gap: 10px;
  margin-top: 15px;
  padding-top: 13px;
}

.project-link {
  font-size: 0.76rem;
  gap: 5px;
}

/* Tablet: dois cards por linha */
@media (max-width: 1000px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-image-wrapper {
    height: 175px;
  }
}

/* Celular: um card por linha */
@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image-wrapper {
    height: 190px;
  }

  .project-content {
    padding: 18px;
  }

  .project-description {
    min-height: auto;
    -webkit-line-clamp: 4;
  }
}

/* Redes sociais abaixo dos botões do Hero */
.hero-social-links {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.hero-social-link {
  align-items: center;
  background: rgba(14, 165, 233, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 50%;
  color: var(--text-muted);
  display: flex;
  font-size: 1.15rem;
  height: 44px;
  justify-content: center;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
  width: 44px;
}

.hero-social-link:hover {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(167, 139, 250, 0.5);
  color: #c4b5fd;
  transform: translateY(-3px);
}

@media (max-width: 980px) {
  .hero-social-links {
    justify-content: center;
  }
}

.highlight {
  color: #4a6ddf; /* azul — ajuste para o tom que preferir */
}


.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 48px;
}

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .hero-subtitle {
    justify-content: center;
  }

  .hero-buttons,
  .hero-social-links {
    justify-content: center;
  }

  .hero-image-wrapper {
    margin: 0 auto;
  }
} 

@media (min-width: 769px) and (max-width: 900px) {
  .hero-section {
    padding-top: 80px;
  }

  .hero-content {
    gap: 36px;
  }

  .hero-title {
    font-size: 3.4rem;
  }

  .hero-description {
    padding-inline: 24px;
    font-size: 1rem;
  }

  .hero-image-wrapper {
    width: min(72vw, 480px);
  }

  .process-grid,
  .tools-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 560px);
    margin-inline: auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-description {
    font-size: 0.95rem;
  }

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

  .hero-image-wrapper {
    width: min(88vw, 360px);
  }

  .process-grid,
  .tools-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}