
:root {
    --primary-color: #10b981;
    --secondary-color: #0ea5e9;
    --accent-color: #f97316;
    --bg-primary: #18191a;
    --bg-secondary: #242526;
    --bg-card: rgba(255, 255, 255, 0.06);
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --text-muted: #8a8d91;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --shadow-primary: 0 10px 28px rgba(16, 185, 129, 0.18);
    --shadow-secondary: 0 20px 60px rgba(0, 0, 0, 0.3);
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


:root {
    
    --primary-color: #10b981;
    --primary-color-hover: #059669;
    --primary-color-light: rgba(16, 185, 129, 0.12);
    --primary-color-dark: #047857;
    
    
    --secondary-color: #00b8e6;
    --secondary-color-hover: #0099c7;
    --secondary-color-light: rgba(0, 184, 230, 0.1);
    
    
    --bg-primary: #18191a;
    --bg-secondary: #242526;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.09);
    
    
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --text-muted: #8a8d91;
    --text-accent: #10b981;
    
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-hover: rgba(16, 185, 129, 0.35);
    --shadow-primary: 0 8px 28px rgba(16, 185, 129, 0.14);
    --shadow-secondary: 0 4px 16px rgba(0, 0, 0, 0.3);
    
    
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --gradient-text: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    
    --accent-color: #f97316;
    
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
}


[data-theme="light"] {
    
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f7f7f8;
    
    
    --text-primary: #141619;
    --text-secondary: #4b4f58;
    --text-muted: #6b7280;
    --text-accent: #00A79D;
    
    
    --border-color: #e2e5eb;
    --border-color-hover: #00A79D;
    --shadow-primary: 0 4px 16px rgba(0, 167, 157, 0.12);
    --shadow-secondary: 0 2px 8px rgba(31, 41, 55, 0.08);
    --shadow-card: 0 1px 3px rgba(31, 41, 55, 0.08);
    
    
    --primary-color: #00A79D;
    --primary-color-hover: #008F87;
    --primary-color-light: rgba(0, 167, 157, 0.1);
    --primary-color-dark: #007A73;
    
    
    --secondary-color: #0284C7;
    --secondary-color-hover: #0369A1;
    --secondary-color-light: rgba(2, 132, 199, 0.1);
    
    
    --gradient-primary: linear-gradient(135deg, #00A79D 0%, #0284C7 100%);
    --gradient-secondary: linear-gradient(135deg, #0284C7 0%, #00A79D 100%);
    --gradient-text: linear-gradient(135deg, #00A79D 0%, #0284C7 100%);

    --accent-color: #ea580c;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
input,
textarea,
select,
button {
    font-family: var(--font-secondary, 'Inter'), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.titulo {
    font-family: var(--font-primary, 'Inter'), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-padding-top: 76px;
}

body {
    font-size: max(1rem, 16px);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    scroll-behavior: smooth;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    width: 100%;
    max-width: 100vw;
    
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    
    transition: background 0.3s ease, color 0.3s ease;
}

section {
    overflow-x: hidden;
    max-width: 100%;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2%;
    width: 100%;
    box-sizing: border-box;
}

.flex {
    display: flex;
}

*:focus-visible {
    outline: 2px solid var(--primary-color, #00e5a0);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}


html *,
html *::before,
html *::after {
    transition:
        background-color 250ms ease,
        color 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease;
}


.tecnologias,
.certificacoes,
.experiencia,
section.especialidades,
.blog,
section.formulario {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.light-theme .tecnologias,
.light-theme .certificacoes,
.light-theme .experiencia,
.light-theme section.especialidades,
.light-theme .blog,
.light-theme section.formulario {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}



[data-theme='light'] .especialidades-box,
[data-theme='light'] .img-port,
[data-theme='light'] .blog-card,
[data-theme='light'] .cert-card,
[data-theme='light'] .tech-card,
[data-theme='light'] .timeline-content {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  background: var(--bg-card);
}

[data-theme='light'] .especialidades-box:hover,
[data-theme='light'] .blog-card:hover,
[data-theme='light'] .cert-card:hover,
[data-theme='light'] .tech-card:hover,
[data-theme='light'] .timeline-content:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-primary);
}

[data-theme='light'] .btn-hero-primary,
[data-theme='light'] .btn-contato-link,
[data-theme='light'] .btn-saiba-mais {
  background: var(--primary-color);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

[data-theme='light'] .btn-hero-primary:hover,
[data-theme='light'] .btn-contato-link:hover,
[data-theme='light'] .btn-saiba-mais:hover {
  background: var(--primary-color-hover);
  color: #ffffff;
  border-color: var(--primary-color-hover);
  box-shadow: 0 6px 20px rgba(0, 167, 157, 0.25);
}

[data-theme='light'] .btn-hero-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

[data-theme='light'] .btn-hero-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

[data-theme='light'] header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

[data-theme='light'] header > .interface {
  background: rgba(255, 255, 255, 0.52);
  border: none;
  box-shadow: none;
}

[data-theme='light'] header.scrolled {
  background: transparent;
  box-shadow: none;
}

[data-theme='light'] header.scrolled > .interface {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

[data-theme='light'] header nav.menu-desktop a {
  color: var(--text-secondary);
}

[data-theme='light'] header nav.menu-desktop a:hover,
[data-theme='light'] header nav.menu-desktop a:focus {
  color: #ffffff;
  background: var(--gradient-primary);
}

[data-theme='light'] .titulo span,
[data-theme='light'] .timeline-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme='light'] form input,
[data-theme='light'] form textarea {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}


[data-theme='light'] form select {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme='light'] form input:focus,
[data-theme='light'] form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-color-light);
  background-color: #ffffff;
}

[data-theme='light'] form select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-color-light);
  background-color: #ffffff;
}

[data-theme='light'] form input::placeholder,
[data-theme='light'] form textarea::placeholder {
  color: var(--text-muted);
}

[data-theme='light'] .timeline::before {
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(0, 167, 157, 0.3);
}

[data-theme='light'] .timeline-item::before {
  background: var(--gradient-primary);
  border-color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 167, 157, 0.4);
}

[data-theme='light'] .timeline-meta {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme='light'] .timeline-chip {
  background: rgba(0, 167, 157, 0.12);
  border-color: rgba(0, 167, 157, 0.35);
  color: var(--text-secondary);
}

[data-theme='light'] .timeline-chip--accent {
  background: rgba(0, 120, 200, 0.1);
  border-color: rgba(0, 120, 200, 0.35);
}

[data-theme='light'] .timeline-description li {
  border-left-color: rgba(0, 167, 157, 0.4);
}

[data-theme='light'] .timeline-impact {
  background: rgba(0, 167, 157, 0.08);
  border-color: rgba(0, 167, 157, 0.28);
  color: var(--text-secondary);
}

[data-theme='light'] .blog-category,
[data-theme='light'] .tech-badge,
[data-theme='light'] .cert-badge {
  background: var(--primary-color-light);
  color: var(--primary-color-dark);
  border: 1px solid var(--primary-color);
}

[data-theme='light'] .blog-image {
  background: rgba(0, 0, 0, 0.025);
}

[data-theme='light'] .blog-image-icon svg {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.12));
}

[data-theme='light'] .codigo {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

[data-theme='light'] .codigo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(0, 167, 157, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(2, 132, 199, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.1) 25%,
      transparent 25%,
      transparent 75%,
      rgba(255, 255, 255, 0.1) 75%
    ),
    linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.1) 25%,
      transparent 25%,
      transparent 75%,
      rgba(255, 255, 255, 0.1) 75%
    );
  background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
  background-position: 0 0, 0 0, 0 0, 10px 10px;
  pointer-events: none;
  z-index: 1;
}

[data-theme='light'] .codigo .titulo,
[data-theme='light'] .codigo .titulo span {
  color: var(--text-primary);
  background: linear-gradient(135deg, #00a896 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

[data-theme='light'] .code-section {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

[data-theme='light'] .code-carousel-wrapper {
  position: relative;
  z-index: 2;
}

[data-theme='light'] .code-header {
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme='light'] .code-title {
  color: #e0e0e0;
}

[data-theme='light'] .language-badge {
  background: rgba(0, 224, 122, 0.1);
  color: #00e07a;
  border: 1px solid rgba(0, 224, 122, 0.3);
}

[data-theme='light'] .code-content {
  background: #1a1a1a;
}

[data-theme='light'] .code-line {
  color: #e0e0e0;
}

[data-theme='light'] .keyword {
  color: #ff79c6;
}

[data-theme='light'] .function {
  color: #50fa7b;
}

[data-theme='light'] .string {
  color: #f1fa8c;
}

[data-theme='light'] .variable {
  color: #8be9fd;
}

[data-theme='light'] .operator {
  color: #ff79c6;
}

[data-theme='light'] .comment {
  color: #6272a4;
}

[data-theme='light'] .code-cursor {
  background: #00e07a;
}

[data-theme='light'] .code-nav {
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme='light'] .carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.2);
}

[data-theme='light'] .carousel-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 167, 157, 0.4);
}

[data-theme='light'] .nav-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme='light'] .nav-btn:hover {
  background: rgba(0, 224, 122, 0.1);
  border-color: #00e07a;
  color: #00e07a;
}

[data-theme='light'] .nav-btn.active {
  background: rgba(0, 224, 122, 0.2);
  border-color: #00e07a;
  color: #00e07a;
}

[data-theme='light'] .indicator-dot {
  background: rgba(0, 167, 157, 0.2);
  border: 2px solid rgba(0, 167, 157, 0.3);
}

[data-theme='light'] .indicator-dot:hover {
  background: rgba(0, 167, 157, 0.4);
  border-color: rgba(0, 167, 157, 0.6);
  transform: scale(1.2);
}

[data-theme='light'] .indicator-dot.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 167, 157, 0.6);
}

[data-theme='light'] .tech-card {
  background: #ffffff;
}

[data-theme='light'] .tech-card i {
  color: var(--primary-color);
}

[data-theme='light'] footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

[data-theme='light'] footer .line-footer p a:hover {
  color: var(--primary-color);
}

[data-theme='light'] .scroll-progress {
  background: var(--gradient-primary);
}

[data-theme='light'] .loading-screen {
  background: var(--bg-primary);
}

[data-theme='light'] .loading-text {
  color: var(--text-primary);
}

[data-theme='light'] .overlay {
  background: rgba(249, 250, 251, 0.95);
}


[data-theme='light'] ::selection {
  background: var(--primary-color-light);
  color: var(--primary-color-dark);
}


[data-theme='light'] ::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

[data-theme='light'] ::-webkit-scrollbar-track {
  background: #e5e7eb;
}


[data-theme='light'] .topo-do-site::before,
[data-theme='light'] section.especialidades::before,
[data-theme='light'] section.portfolio::before,
[data-theme='light'] section.experiencia::before {
  background: radial-gradient(
      circle at 20% 20%,
      rgba(0, 167, 157, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(2, 132, 199, 0.03) 0%,
      transparent 50%
    );
}


[data-theme='light'] i {
  color: var(--text-secondary);
}

[data-theme='light'] i.bi-check-circle-fill,
[data-theme='light'] i.bi-star-fill {
  color: var(--primary-color);
}


[data-theme='light'] a {
  color: var(--primary-color);
}

[data-theme='light'] a:hover {
  color: var(--primary-color-hover);
}


[data-theme='light'] .internal-link {
  color: var(--primary-color);
}

[data-theme='light'] .internal-link:hover {
  color: var(--primary-color-hover);
  background: var(--primary-color-light);
}

[data-theme='light'] .internal-link:visited {
  color: var(--primary-color);
}


[data-theme='light'] .btn-social button,
[data-theme='light'] .btn-social a.btn-social-link {
  background: #ffffff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.15);
}

[data-theme='light'] .btn-social button:hover,
[data-theme='light'] .btn-social a.btn-social-link:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 167, 157, 0.4);
}

[data-theme='light'] .btn-social button::before,
[data-theme='light'] .btn-social a.btn-social-link::before {
  background: var(--primary-color);
  opacity: 0;
}

[data-theme='light'] .btn-social button:hover::before,
[data-theme='light'] .btn-social a.btn-social-link:hover::before {
  opacity: 0;
}


[data-theme='light'] p {
  color: var(--text-secondary);
  line-height: 1.7;
}


[data-theme='light'] h1,
[data-theme='light'] h2,
[data-theme='light'] h3,
[data-theme='light'] h4,
[data-theme='light'] h5,
[data-theme='light'] h6 {
  color: var(--text-primary);
}


[data-theme='light'] .cert-card {
  background: #ffffff;
}

[data-theme='light'] .cert-badge {
  background: var(--primary-color);
  color: #ffffff;
}

[data-theme='light'] .cert-badge:hover {
  background: var(--primary-color-hover);
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.25);
}


[data-theme='light'] .menu-mobile {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-color);
}

[data-theme='light'] .menu-mobile ul li a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

[data-theme='light'] .menu-mobile ul li a:hover {
  color: var(--primary-color);
  background: var(--primary-color-light);
}


[data-theme='light'] .overlay-menu {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}



html[data-theme='light'] .menu-mobile .btn-fechar i {
  background: var(--text-primary) !important;
  border: 1px solid var(--text-primary) !important;
  color: #ffffff !important;
}

html[data-theme='light'] .menu-mobile .btn-fechar i:hover {
  background: var(--gradient-primary) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
  transform: scale(1.1);
  box-shadow: var(--shadow-primary);
}


html:not([data-theme]) .menu-mobile .btn-fechar i {
  color: var(--primary-color) !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
}

html:not([data-theme]) .menu-mobile .btn-fechar i:hover {
  background: var(--gradient-primary) !important;
  color: var(--bg-primary) !important;
}


html[data-theme='light'] .btn-abrir-menu i {
  color: var(--text-primary) !important;
}

html[data-theme='light'] .btn-abrir-menu:hover i {
  color: #ffffff !important;
}


html:not([data-theme]) .btn-abrir-menu i {
  color: #00e07a !important;
}

html:not([data-theme]) .btn-abrir-menu:hover i {
  color: #18191a !important;
}


[data-theme='light'] .theme-toggle {
  background: #ffffff;
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme='light'] .theme-toggle:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.15);
}


[data-theme='light'] .blog-status {
  background: rgba(0, 167, 157, 0.1);
  color: var(--primary-color-dark);
  border: 1px solid var(--primary-color);
}


[data-theme='light'] .img-port {
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  transition: all 0.6s ease;
  opacity: 1;
  animation: slideInUp 0.8s ease-out forwards;
}

[data-theme='light'] .img-port:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 224, 122, 0.3);
  border-color: var(--primary-color);
}

[data-theme='light'] .img-port::before {
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.6s ease;
}

[data-theme='light'] .img-port:hover::before {
  opacity: 0.1;
}

[data-theme='light'] .img-port::after {
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.6s ease;
}

[data-theme='light'] .img-port:hover::after {
  opacity: 1;
}


[data-theme='light'] .img-port .overlay {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  opacity: 0;
  transition: all 0.6s ease;
}

[data-theme='light'] .img-port:hover .overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}


[data-theme='light'] .img-port:nth-child(1) {
  animation-delay: 0.2s;
}

[data-theme='light'] .img-port:nth-child(2) {
  animation-delay: 0.4s;
}

[data-theme='light'] .img-port:nth-child(3) {
  animation-delay: 0.6s;
}

[data-theme='light'] .img-port:nth-child(4) {
  animation-delay: 0.8s;
}


[data-theme='light'] .img-port[style*='Front_Qualitech'] {
  transition: all 1.2s ease;
}

[data-theme='light'] .img-port[style*='Front_Qualitech']::before,
[data-theme='light'] .img-port[style*='Front_Qualitech']::after {
  transition: opacity 1.2s ease;
}

[data-theme='light'] .img-port[style*='Front_Qualitech'] .overlay {
  transition: all 1.2s ease;
}




[data-theme='light'] .timeline-company {
  color: var(--text-muted);
}


@media (max-width: 768px) {
  [data-theme='light'] header {
    background: transparent;
    border-bottom: none;
  }
}


.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    opacity: 0.6;
    animation: trailFade 0.5s ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}


.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
    text-align: center;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    animation: logoSpin 2s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(0, 228, 38, 0.5);
    position: relative;
}

.loading-logo::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 0.1px solid transparent;
    border-top: 0.1px solid var(--primary-color);
    border-right: 0.1px solid var(--secondary-color);
    border-radius: 50%;
    animation: borderSpin 1.5s linear infinite;
}

.loading-logo img {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: none; 
}

.loading-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 auto 40px auto;
    animation: textGlow 2s ease-in-out infinite alternate;
    text-align: center;
}

.loading-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.loading-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 228, 38, 0.5);
}

.loading-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

.loading-percentage {
    margin: 15px auto 0 auto;
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 600;
    
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@keyframes logoSpin {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes borderSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px rgba(0, 228, 38, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 228, 38, 0.8);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}


.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 20px rgba(0, 228, 38, 0.5);
}

.scroll-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 16px 0;
    margin: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    outline: none;
    box-shadow: none;
    z-index: 999;
    box-sizing: border-box;
}

header.scrolled {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

header.scrolled > .interface {
    background: rgba(10, 10, 10, 0.58);
}

header > .interface {
    font-size: 1rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 16px;
    width: 100%;
    max-width: min(1040px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 8px 16px 8px 14px;
    position: relative;
    height: auto;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.38);
    backdrop-filter: blur(22px) saturate(165%);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    border: none;
    box-shadow: none;
    overflow: visible;
    box-sizing: border-box;
    transition: background-color 0.35s ease;
}

header .logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-self: start;
    z-index: 2;
    background: transparent !important;
}

header .logo a {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    display: block;
}

header .logo a:focus,
header .logo a:focus-visible,
header .logo a:hover {
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

header .logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    position: relative;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    
    transform: none !important;
}

header a {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    
    outline: none;
}


header a:focus {
    outline: none;
    color: var(--bg-primary);
    background: linear-gradient(135deg, #00e426 0%, #00b8e6 100%);
    border-radius: 25px;
}

header a:focus-visible {
    outline: none;
    color: var(--bg-primary);
    background: linear-gradient(135deg, #00e426 0%, #00b8e6 100%);
    border-radius: 25px;
}

header nav.menu-desktop a {
    padding: 6px 12px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

header nav.menu-desktop a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

header nav.menu-desktop a:hover {
    color: var(--bg-primary);
    background: linear-gradient(135deg, #00e426 0%, #00b8e6 100%);
    transform: translateY(-2px);
}

header nav.menu-desktop a:hover::before {
    opacity: 1;
}

header nav.menu-desktop {
    justify-self: center;
    min-width: 0;
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 0;
}

header nav.menu-desktop ul li {
    display: inline-block;
    padding: 0 6px;
}


.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    justify-self: end;
    position: relative;
    z-index: 2;
}


.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.theme-toggle:hover {
    transform: translateY(-2px) rotate(15deg);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px var(--primary-color-light);
}

.theme-toggle:hover::before {
    opacity: 0.15;
}

.theme-toggle:active {
    transform: translateY(0) rotate(0deg) scale(0.95);
}

.theme-toggle i {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.theme-toggle:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}


.theme-toggle.rotating {
    animation: themeRotate 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes themeRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}


@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) and (orientation: portrait) and (pointer: coarse) {
    .theme-toggle.rotating {
        animation: themeRotateAndroid 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes themeRotateAndroid {
        0% {
            transform: rotate(0deg) scale(1);
        }
        50% {
            transform: rotate(180deg) scale(1.1);
        }
        100% {
            transform: rotate(360deg) scale(1);
        }
    }
}


header .btn-contato-link {
    padding: 8px 18px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-actions {
        gap: 8px;
        display: flex;
        align-items: center;
        position: relative;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        position: relative;
        z-index: 10;
    }
    
    
    .header-actions::after {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
}


.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-primary, #ffffff);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.lang-btn:hover {
    background-color: var(--primary-color);
    color: #18191a;
}

.lang-arrow {
    font-size: 0.65rem;
    transition: transform 150ms ease;
}

.lang-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-secondary, #1a1a1a);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 6px;
    list-style: none;
    padding: 4px 0;
    min-width: 130px;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lang-dropdown.open {
    display: block;
}

.lang-option {
    padding: 8px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-primary, #ffffff);
    transition: background-color 150ms ease;
}

.lang-option:hover,
.lang-option.active {
    background-color: var(--primary-color);
    color: #18191a;
}

[data-theme="light"] .lang-dropdown {
    background: var(--bg-secondary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .lang-dropdown {
        right: 0;
        left: auto;
    }
}


.btn-abrir-menu {
    display: none;
    font: inherit;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    
    outline: none;
    
    will-change: transform;
    transform: translateZ(0);
}

.btn-abrir-menu:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 228, 38, 0.2);
}

.btn-abrir-menu:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 228, 38, 0.2);
}

.btn-abrir-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-abrir-menu:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-primary);
}

.btn-abrir-menu:hover::before {
    opacity: 0.1;
}

.btn-abrir-menu i {
    color: var(--primary-color);
    font-size: 22px;
    transition: var(--transition);
    z-index: 1;
    position: relative;
}

.btn-abrir-menu:hover i {
    color: var(--bg-primary);
}


.menu-mobile {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: var(--transition);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    
    will-change: width;
    transform: translateZ(0);
}

.menu-mobile.abrir-menu {
    width: 80%;
}

.menu-mobile .btn-fechar {
    padding: 20px 5%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 10;
    cursor: pointer;
    border: none;
    background: transparent;
    font: inherit;
    width: 100%;
    box-sizing: border-box;
}

.menu-mobile .btn-fechar i {
    color: var(--primary-color);
    font-size: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.menu-mobile .btn-fechar i:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-primary);
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.menu-mobile nav ul {
    list-style: none;
    padding: 0 5%;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.menu-mobile nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.menu-mobile nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 224, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-mobile nav ul li a:hover {
    color: var(--primary-color);
    padding-left: 20px;
    transform: translateX(10px);
}

.menu-mobile nav ul li a:hover::before {
    left: 100%;
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    display: none;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}


@media (max-width: 768px) {
    .menu-mobile.abrir-menu {
        width: 85%;
    }
}







section.topo-do-site {
    padding: max(80px, clamp(60px, 8vw, 120px)) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(16, 185, 129, 0.06) 0%, transparent 52%),
        radial-gradient(circle at 82% 78%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
}

section.topo-do-site::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 32% 18%, rgba(16, 185, 129, 0.05) 0%, transparent 48%),
        radial-gradient(circle at 68% 82%, rgba(14, 165, 233, 0.05) 0%, transparent 48%);
    pointer-events: none;
}

section.topo-do-site .flex {
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title-line {
    display: block;
}

.topo-do-site h1 {
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 4.6vw, 3.35rem);
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.3s forwards;
    letter-spacing: -0.03em;
    text-align: left;
    max-width: 38rem;
}

.topo-do-site .txt-topo-site h1 .hero-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.topo-do-site .hero-role {
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    line-height: 1.45;
}

.topo-do-site .txt-topo-site p {
    color: var(--text-secondary);
    margin: 1.25rem 0 0;
    font-size: clamp(1rem, 1.15vw, 1.08rem);
    line-height: 1.72;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.6s forwards;
    text-align: left;
    max-width: 36rem;
    font-weight: 400;
    font-family: var(--font-secondary);
}

.topo-do-site .txt-topo-site p.hero-welcome {
    margin: 0 0 0.75rem;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    animation: slideInUp 0.85s ease-out 0.12s forwards;
}

.topo-do-site .img-topo-site {
    position: relative;
    opacity: 0;
    animation: slideInRight 1s ease-out 0.9s forwards;
}

.topo-do-site .img-topo-site img {
    width: min(260px, 28vw);
    height: min(260px, 28vw);
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    box-shadow: var(--shadow-secondary);
    border: 2px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    transform: none !important;
}


.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 26px;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.8s forwards;
}

.hero-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.85s forwards;
}

.hero-social-label {
    font-size: var(--text-xs);
    font-family: var(--font-secondary);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: 100%;
}

.hero-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: var(--bg-card);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.25rem;
}

.hero-social a:hover,
.hero-social a:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.topo-do-site .internal-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.topo-do-site .internal-link:hover {
    color: var(--secondary-color);
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: clamp(12px, 2vw, 18px) clamp(24px, 4vw, 36px);
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 224, 122, 0.4);
    color: var(--bg-primary);
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: clamp(12px, 2vw, 18px) clamp(24px, 4vw, 36px);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.btn-hero-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-hero-secondary:hover {
    color: var(--bg-primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 224, 122, 0.3);
    border-color: var(--primary-color-hover);
}

.btn-hero-secondary:hover::before {
    width: 100%;
}

.btn-hero-secondary:active {
    transform: translateY(0) scale(0.98);
}

.topo-do-site .img-topo-site::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.2;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}


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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 228, 38, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 228, 38, 0.8);
    }
}



@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-400-normal.woff2')
        format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-500-normal.woff2')
        format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-600-normal.woff2')
        format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-700-normal.woff2')
        format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-ext-400-normal.woff2')
        format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
        U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-ext-500-normal.woff2')
        format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
        U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-ext-600-normal.woff2')
        format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
        U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-ext-700-normal.woff2')
        format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
        U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    
    
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.8rem + 2.25vw, 3rem);
    --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    
    
    --leading-tight: 1.15;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;
    
    
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;
}


h2.titulo {
    color: var(--text-primary);
    font-size: clamp(1.75rem, 4.5vw, 3.2rem);
    font-family: var(--font-primary);
    text-align: center;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(
        120deg,
        var(--text-primary) 0%,
        var(--text-primary) 40%,
        var(--primary-color) 70%,
        var(--secondary-color) 100%
    );
    background-size: 100% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15em;
}

h2.titulo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 15px;
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    min-width: 100px;
    transition: opacity 0.35s ease;
}

h2.titulo:hover::before {
    opacity: 0.12;
}


.dynamic-text {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.7;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.dynamic-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

.dynamic-text:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.dynamic-text:hover::before {
    opacity: 0.1;
}

h2.titulo::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    
    min-width: 80px;
}

h2.titulo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}


.btn-contato-link {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    outline: none;
}

.btn-contato-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-contato-link:hover::before {
    left: 0;
}

.btn-contato-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    color: var(--bg-primary);
    text-decoration: none;
}

.btn-contato-link:focus:not(:focus-visible) {
    outline: none;
}

.btn-contato-link:focus-visible {
    outline: none;
    background: rgba(0, 228, 38, 0.2);
    box-shadow: 0 0 0 2px rgba(0, 228, 38, 0.3);
}

button:hover,
.btn-enviar input:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

button:focus:not(:focus-visible),
.btn-hero-primary:focus:not(:focus-visible),
.btn-hero-secondary:focus:not(:focus-visible),
.btn-saiba-mais:focus:not(:focus-visible),
.btn-primary:focus:not(:focus-visible),
.btn-secondary:focus:not(:focus-visible) {
    outline: none;
}

button:focus-visible,
.btn-hero-primary:focus-visible,
.btn-hero-secondary:focus-visible,
.btn-saiba-mais:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: none;
    background: rgba(0, 228, 38, 0.2);
    box-shadow: 0 0 0 2px rgba(0, 228, 38, 0.3);
}


section.especialidades {
    position: relative;
    
    min-height: 600px;
    padding-block: max(80px, 0px);
}

section.especialidades::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 184, 230, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

section.especialidades .flex {
    gap: 60px;
    margin-top: 80px;
}

.especialidades .especialidades-box {
    color: var(--text-primary);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    margin-top: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
    cursor: pointer;
}

.especialidades .especialidades-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 228, 38, 0.2);
    border-color: var(--primary-color);
}


.btn-saiba-mais {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 1;
    transform: translateY(0);
}

.btn-saiba-mais:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 228, 38, 0.4);
    color: var(--bg-primary);
}

.especialidades .especialidades-box:nth-child(1) {
    animation-delay: 0.2s;
}

.especialidades .especialidades-box:nth-child(2) {
    animation-delay: 0.4s;
}

.especialidades .especialidades-box:nth-child(3) {
    animation-delay: 0.6s;
}

.especialidades .especialidades-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.especialidades .especialidades-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(0, 228, 38, 0.3);
}

.especialidades .especialidades-box:hover::before {
    opacity: 0.1;
}

.especialidades .especialidades-box i {
    font-size: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
    transition: var(--transition);
}

.especialidades .especialidades-box:hover i {
    transform: scale(1.1);
}

.especialidades .especialidades-box h3 {
    font-size: 22px;
    margin: 25px 0 20px 0;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.especialidades .especialidades-box p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    text-align: left;
    font-weight: 400;
    margin: 0;
}


.especialidades .btn-saiba-mais {
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    transition:
        color 150ms ease,
        background-color 150ms ease,
        border-color 150ms ease;
}

.especialidades .btn-saiba-mais:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    box-shadow: none;
}


.specialty-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
}

.specialty-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 228, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 184, 230, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.specialty-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.specialty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 30px;
    border-radius: 50%;
    box-shadow: var(--shadow-primary);
}

.specialty-icon i {
    font-size: 60px;
    color: var(--bg-primary);
}

.specialty-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.specialty-header h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.specialty-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.specialty-content {
    position: relative;
    z-index: 2;
}

.specialty-description {
    margin-bottom: 80px;
    text-align: center;
}

.specialty-description h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.specialty-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.specialty-features {
    margin-bottom: 80px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.specialty-process {
    margin-bottom: 80px;
}

.specialty-process h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 50px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: var(--shadow-primary);
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.specialty-cta {
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.specialty-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: -1;
}

.specialty-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.specialty-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 228, 38, 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 228, 38, 0.4);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 15px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 228, 38, 0.3);
}


@media screen and (max-width: 768px) {
    .specialty-page {
        padding: 100px 0 60px;
    }
    
    .specialty-header {
        margin-bottom: 60px;
    }
    
    .specialty-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .specialty-icon i {
        font-size: 50px;
    }
    
    .specialty-header h1 {
        font-size: 2.5rem;
    }
    
    .specialty-description h2,
    .specialty-process h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .specialty-page {
        padding: 80px 0 40px;
    }
    
    .specialty-header h1 {
        font-size: 2rem;
    }
    
    .specialty-description h2,
    .specialty-process h2 {
        font-size: 1.8rem;
    }
    
    .specialty-cta {
        padding: 40px 20px;
    }
    
    .specialty-cta h2 {
        font-size: 1.8rem;
    }
}






.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: var(--transition);
    position: relative;
}

.hover-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.hover-glow:hover::before {
    opacity: 0.3;
}


.card-interactive {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: clamp(20px, 3vw, 32px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.card-interactive:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
    border-color: var(--border-color-hover);
}

.card-interactive:hover::before {
    opacity: 0.05;
}


.btn-micro {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-micro::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-micro:hover::before {
    width: 300px;
    height: 300px;
}


.icon-animated {
    transition: var(--transition);
    display: inline-block;
}

.icon-animated:hover {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-color);
}


.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    
}




.loading-shimmer {
    background: linear-gradient(90deg, 
        var(--bg-card) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        var(--bg-card) 75%
    );
    background-size: 200% 100%;
    
}




.focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}




.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }


.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 224, 122, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 224, 122, 0.6);
    }
}


.bounce-in {
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.spin-animation {
    animation: spin 2s ease-in-out;
}


html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}


section.sobre {
    position: relative;
    
    min-height: 600px;
    margin-top: 80px;
    padding-block: max(80px, 0px);
}

section.sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 228, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 184, 230, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

section.sobre .flex {
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.sobre .txt-sobre {
    color: var(--text-primary);
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.3s forwards;
    padding: 20px 0;
}

.sobre .txt-sobre h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sobre .txt-sobre h2 span:first-of-type {
    color: var(--text-primary);
    display: inline;
}

.sobre .txt-sobre h2 span:last-of-type {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}


.stats-sobre {
    display: flex;
    gap: 30px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 228, 38, 0.2);
    border-color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.sobre .txt-sobre p {
    margin: 1.8rem 0;
    text-align: left;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 100%;
}

.sobre .img-sobre {
    opacity: 0;
    animation: slideInRight 1s ease-out 0.6s forwards;
}

.sobre .img-sobre img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-secondary);
    border: none;
    transition: var(--transition);
}

.sobre .img-sobre img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-primary);
}


.btn-ler-mais {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 12px 30px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 228, 38, 0.2);
}

.btn-ler-mais::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-ler-mais:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 228, 38, 0.4);
    color: var(--bg-primary);
    border-color: var(--primary-color);
}

.btn-ler-mais:hover::before {
    opacity: 1;
}


.btn-social {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.btn-social button,
.btn-social a.btn-social-link {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-social a.btn-social-link {
    text-decoration: none;
    box-sizing: border-box;
}

.btn-social button::before,
.btn-social a.btn-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-social button:hover,
.btn-social a.btn-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 228, 38, 0.5);
    color: var(--bg-primary);
    border-color: var(--primary-color);
}

.btn-social button:hover::before,
.btn-social a.btn-social-link:hover::before {
    opacity: 1;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.internal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 2px 4px;
    border-radius: 4px;
}

.internal-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.internal-link:hover {
    color: var(--primary-color-hover);
    background: var(--primary-color-light);
    transform: translateY(-1px);
}

.internal-link:hover::before {
    width: 100%;
}

.internal-link:visited {
    color: var(--primary-color);
}

.internal-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}


@media screen and (max-width: 768px) {
    section.sobre {
        margin-top: 60px;
    }
}

@media screen and (max-width: 480px) {
    section.sobre {
        margin-top: 40px;
    }
}


.confianca {
    padding: max(80px, clamp(56px, 8vw, 88px)) 4%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.confianca-lead {
    font-family: var(--font-secondary);
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    max-width: 52rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.confianca-lead strong {
    color: var(--text-primary);
    font-weight: 600;
}

.confianca-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 40rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.confianca-lead .internal-link,
.confianca-list .internal-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.confianca-list li {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: 0.65rem 1rem;
    border-left: 3px solid var(--primary-color);
    background: var(--bg-card);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    line-height: 1.5;
}

.confianca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0;
}

.confianca-card {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--primary-color);
    background: var(--bg-card);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    line-height: 1.5;
}

.confianca-card h3 {
    margin: 0 0 0.5rem;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
}

.confianca-card p {
    margin: 0;
}

.confianca-grid .internal-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}


section.portfolio {
    padding: max(80px, 60px) 4%;
    position: relative;
    background: var(--bg-secondary);
    
    min-height: 500px;
}

section.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio-intro {
    font-family: var(--font-secondary);
    text-align: center;
    max-width: 42rem;
    margin: -1.5rem auto 2.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--text-sm);
    position: relative;
    z-index: 2;
}

.portfolio-intro .internal-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

section.portfolio .flex {
    justify-content: space-around;
    margin-top: 40px;
    gap: 20px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
    align-items: stretch;
}



section.portfolio .img-port {
    min-height: 280px;
    height: 100%;
}

section.portfolio .project-link {
    min-height: 280px;
    height: 100%;
}

section.portfolio .project-card {
    min-height: 280px;
}

.img-port {
    width: 280px;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.6s ease;
    cursor: pointer;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
    box-shadow: var(--shadow-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (min-width: 769px) {
    .img-port {
        transition: all 0.6s ease;
    }
    
    .img-port::before {
        transition: opacity 0.6s ease;
    }
    
    .img-port::after {
        transition: opacity 0.6s ease;
    }
    
    .overlay,
    .project-overlay {
        transition: all 0.6s ease;
    }
    
    
    .img-port.img-port--qualitech {
        transition: all 1.2s ease;
    }
    
    .img-port.img-port--qualitech::before,
    .img-port.img-port--qualitech::after {
        transition: opacity 1.2s ease;
    }
    
    .img-port.img-port--qualitech .project-overlay {
        transition: all 1.2s ease;
    }
}

.img-port:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 228, 38, 0.3);
    border-color: var(--primary-color);
}

.img-port:nth-child(1) {
    animation-delay: 0.2s;
}

.img-port:nth-child(2) {
    animation-delay: 0.4s;
}

.img-port:nth-child(3) {
    animation-delay: 0.6s;
}

.img-port:nth-child(4) {
    animation-delay: 0.8s;
}

.img-port::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    border-radius: var(--border-radius);
}

.img-port:hover {
    background-position: 100% 100%;
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-primary);
}

.img-port:hover::before {
    opacity: 0.1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 2;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.overlay:hover {
    opacity: 1;
}


.img-port::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    border-radius: var(--border-radius);
}

.img-port:hover::after {
    opacity: 1;
}


.img-port:hover .overlay,
.img-port:hover .project-overlay {
    opacity: 1;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(0, 0, 0, 0.95);
    border: none;
    outline: none;
}


.img-port * {
    border: none !important;
    outline: none !important;
}

.img-port .overlay,
.img-port .overlay *,
.img-port .project-overlay,
.img-port .project-overlay * {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.img-port .project-stack .badge,
.img-port .badge-em-breve {
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
}


.img-port {
    position: relative;
    overflow: hidden;
}

.img-port .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
    outline: none;
}

.img-port .project-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-port .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 1rem 1.1rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.65rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    text-align: left;
    overflow-y: auto;
}

.img-port[data-status="em-breve"],
.project-card[data-status="em-breve"] {
    pointer-events: none;
    opacity: 0.5;
}

.badge-em-breve {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--text-primary);
}

.project-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
}

.project-stack {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.project-stack .badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.22rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.project-result {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.project-links a {
    pointer-events: auto;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.project-link-soon {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}


.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 280px;
    height: 400px;
    transition: all 0.6s ease;
}

.project-link:hover {
    text-decoration: none;
    color: inherit;
}

.project-link .img-port {
    width: 100%;
    height: 100%;
    transition: all 0.6s ease;
}

.project-link:hover .img-port {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 228, 38, 0.3);
    border-color: var(--primary-color);
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


section.formulario {
  padding: max(80px, clamp(60px, 8vw, 100px)) 4%;
  position: relative;
  background: var(--bg-primary);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

section.formulario h2.titulo > span:first-of-type {
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  display: inline;
}

section.formulario::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    color-mix(in srgb, var(--primary-color) 7%, transparent) 0%,
    transparent 50%
  );
  pointer-events: none;
}

form {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-secondary);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  
  min-height: 400px;
}

form input,
form textarea,
form select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  outline: none;
  padding: clamp(12px, 2vw, 16px) clamp(16px, 3vw, 20px);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  backdrop-filter: blur(10px);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: var(--primary-color);
  
  box-shadow:
    0 0 0 3px var(--primary-color-light),
    0 10px 24px color-mix(in srgb, var(--primary-color) 12%, transparent);
  background: var(--bg-card-hover);
  outline: none;
}


form input:valid,
form textarea:valid,
form select:valid {
  border-color: var(--border-color);
}

form input:invalid:not(:placeholder-shown),
form textarea:invalid:not(:placeholder-shown),
form select:invalid:not(:placeholder-shown) {
  border-color: var(--border-color);
  box-shadow: none;
}

form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2310b981' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  color: var(--text-primary);
  font-size: 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  backdrop-filter: blur(10px);
  
  z-index: auto;
  position: relative;
  min-height: 60px;
  display: block;
  overflow: visible;
  white-space: nowrap;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

[data-theme='light'] form select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300A79D' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

[data-theme='light'] .phone-country-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300A79D' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 12px;
}


.phone-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
}

.phone-input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow:
    0 0 0 3px var(--primary-color-light),
    0 10px 24px color-mix(in srgb, var(--primary-color) 12%, transparent);
  background: var(--bg-card-hover);
}

.phone-country-select {
  flex-shrink: 0;
  width: auto;
  min-width: 70px;
  max-width: 85px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: clamp(12px, 2vw, 16px) clamp(8px, 1.5vw, 12px);
  padding-right: 30px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2310b981' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 6px center;
  background-repeat: no-repeat;
  background-size: 12px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.phone-country-select:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

form .phone-country-select:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.08);
  
  box-shadow: none;
}

.phone-number-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  padding: clamp(12px, 2vw, 16px) clamp(12px, 2.5vw, 18px);
  margin: 0;
  background: transparent;
  font-size: var(--text-base);
}

.phone-number-input:focus {
  outline: none;
  box-shadow: none;
  transform: none;
}

form select option {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 8px 10px;
  border: none;
  font-size: 15px;
  display: block;
  width: 100%;
}


.phone-country-select option {
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
}


form select option:checked {
  background: var(--primary-color);
  color: var(--bg-primary);
}

form select option:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

form select:active {
  border-color: var(--primary-color);
  outline: none;
}

form input::placeholder,
form textarea::placeholder {
  color: var(--text-muted);
}

form textarea {
  resize: none;
  max-height: 150px;
  min-height: 100px;
}

form .btn-enviar {
  margin-top: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.formulario .form-response-time {
  margin-top: 1rem;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

form .btn-enviar input {
  width: 150px;
  background: var(--gradient-primary);
  color: var(--bg-primary);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

form .btn-enviar input::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

form .btn-enviar input:hover::before {
  left: 100%;
}

form .btn-enviar input:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}


form .btn-enviar button {
  width: 150px;
  background: var(--gradient-primary);
  color: var(--bg-primary);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

form .btn-enviar button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

form .btn-enviar button:hover::before {
  left: 100%;
}

form .btn-enviar button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

form .btn-enviar button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}


.form-group {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.field-error {
  color: #ff4757;
  font-size: 12px;
  margin-top: 5px;
  display: none;
  animation: slideInDown 0.3s ease-out;
}

.field-error.show {
  display: block;
}


.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--border-color);
  box-shadow: none;
  background: var(--bg-card);
  animation: shake 0.5s ease-in-out;
}

.form-group input.valid,
.form-group textarea.valid,
.form-group select.valid {
  border-color: var(--border-color);
  box-shadow: none;
  background: var(--bg-card);
}


@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

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



.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.form-success {
  display: none;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid color-mix(in srgb, var(--primary-color) 32%, transparent);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--primary-color) 14%, transparent);
}

.form-success.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: successSlideIn 0.5s ease-out;
}

.form-success i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
  animation: successPulse 1s ease-out;
}

.form-success p {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 10px 0;
}

.form-success span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: block;
}

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

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


@media (max-width: 768px) {
  section.formulario {
    padding: 40px 4%;
  }

  form {
    gap: 10px;
    padding: 20px;
    margin-top: 30px;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  form input,
  form textarea,
  form select {
    padding: 10px 15px;
    font-size: 14px;
    box-sizing: border-box;
  }

  .form-group {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
  }

  .phone-input-group {
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    flex-wrap: nowrap;
    display: flex;
  }

  .phone-country-select {
    min-width: 60px;
    max-width: 70px;
    padding: 10px 6px;
    padding-right: 24px;
    font-size: 12px;
    background-size: 10px;
    background-position: right 4px center;
    flex-shrink: 0;
  }

  .phone-country-select option {
    padding: 8px 10px;
    font-size: 12px;
  }

  .phone-number-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    font-size: 14px;
  }

  form textarea {
    min-height: 80px;
    max-height: 120px;
  }

  form .btn-enviar {
    margin-top: 15px;
  }

  form .btn-enviar input,
  form .btn-enviar button {
    padding: 12px 24px;
    font-size: 14px;
    width: 130px;
  }

  .form-group {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  section.formulario {
    padding: 30px 3%;
  }

  form {
    gap: 8px;
    padding: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  form input,
  form textarea,
  form select {
    padding: 8px 12px;
    font-size: 14px;
    min-height: auto;
    box-sizing: border-box;
  }

  form select {
    min-height: 45px;
  }

  .phone-input-group {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
  }

  .phone-country-select {
    min-width: 55px;
    max-width: 65px;
    padding: 8px 5px;
    padding-right: 22px;
    font-size: 11px;
    background-size: 9px;
    background-position: right 3px center;
    flex-shrink: 0;
  }

  .phone-country-select option {
    padding: 6px 8px;
    font-size: 11px;
  }

  .phone-number-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    font-size: 14px;
    width: auto;
  }

  form textarea {
    min-height: 70px;
    max-height: 100px;
  }

  form .btn-enviar {
    margin-top: 10px;
  }

  form .btn-enviar input,
  form .btn-enviar button {
    padding: 10px 20px;
    font-size: 14px;
    width: 120px;
  }

  .form-success {
    padding: 15px;
    margin-top: 15px;
  }

  .form-success i {
    font-size: 2rem;
  }

  .form-success p {
    font-size: 1rem;
  }

  .form-success span {
    font-size: 0.85rem;
  }
}


[data-theme='light'] form .phone-country-select:focus {
  box-shadow: none;
}


.codigo {
    
    min-height: 600px;
    padding-block: max(80px, 0px);
}


.codigo .titulo {
    margin-bottom: 80px;
    margin-top: 60px;
}


.code-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 60px 0;
}


.code-carousel-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}


.code-section {
    background: #0d1117;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    
    min-height: 500px;
}


.code-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.code-slide.active {
    display: block;
    opacity: 1;
    animation: slideIn 0.5s ease-out;
}

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


.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 228, 38, 0.3);
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 228, 38, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}


.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.indicator-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    
    min-width: 44px;
    min-height: 44px;
}

.indicator-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.indicator-dot:hover {
    background: transparent;
    border: none;
    transform: scale(1.2);
}

.indicator-dot:hover::before {
    background: rgba(0, 228, 38, 0.5);
    border-color: rgba(0, 228, 38, 0.7);
}

.indicator-dot.active {
    background: transparent;
    border: none;
    width: 44px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 228, 38, 0.6);
}

.indicator-dot.active::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.code-title {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-title i {
    color: var(--primary-color);
    font-size: 20px;
}

.code-controls {
    display: flex;
    gap: 10px;
}

.code-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: default;
    pointer-events: none;
    transition: var(--transition);
    position: relative;
    flex-shrink: 0;
    
    min-width: 44px;
    min-height: 44px;
    display: inline-block;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
}

.code-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: var(--transition);
}

.code-btn.close { background: transparent; }
.code-btn.minimize { background: transparent; }
.code-btn.maximize { background: transparent; }

.code-btn.close::before { background: #ff5f56; }
.code-btn.minimize::before { background: #ffbd2e; }
.code-btn.maximize::before { background: #27ca3f; }

.code-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.code-content {
    position: relative;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.4;
    color: #c9d1d9;
    overflow-x: auto;
    background: #161b22;
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.code-line {
    display: block;
    margin: 2px 0;
    position: relative;
    opacity: 1;
    line-height: 1.5;
    padding: 2px 0;
    min-height: 20px;
}


.code-slide[data-language='python'] .code-line.level-1 {
    padding-left: 4ch;
}

.code-slide[data-language='python'] .code-line.level-2 {
    padding-left: 8ch;
}

.code-slide[data-language='javascript'] .code-line.level-1 {
    padding-left: 2ch;
}

.code-slide[data-language='javascript'] .code-line.level-2 {
    padding-left: 4ch;
}

.code-slide[data-language='java'] .code-line.level-1 {
    padding-left: 4ch;
}

.code-slide[data-language='java'] .code-line.level-2 {
    padding-left: 8ch;
}


.code-line.typing::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--primary-color);
    animation: cursorBlink 0.8s infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
    position: relative;
    top: -2px;
}

.keyword { color: #ff7b72; font-weight: 600; }
.string { color: #a5d6ff; }
.comment { color: #7c3aed; font-style: italic; }
.function { color: #d2a8ff; }
.variable { color: #79c0ff; }
.number { color: #f85149; }
.operator { color: #ffa657; }

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: var(--primary-color);
    animation: blink 1s infinite;
    margin-left: 2px;
}


.language-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

@keyframes codeReveal {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}


.tecnologias {
    padding-block: max(80px, 0px);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    margin: 40px 0;
    
    min-height: 200px;
}

.tech-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


@media screen and (min-width: 769px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .tech-card {
        min-height: 200px;
        padding: 40px 30px;
    }
    
    .tech-name {
        font-size: 18px;
        margin-bottom: 8px;
        font-weight: 700;
    }
    
    .tech-level {
        font-size: 14px;
    }
    
    .tech-icon {
        font-size: 50px;
        margin-bottom: 20px;
    }
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 228, 38, 0.3);
}



.tech-card:hover::before {
    opacity: 0.1;
}

.tech-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    transition: var(--transition);
}

.tech-card:hover .tech-icon {
    transform: translateY(-5px);
}

.tech-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.tech-level {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}


.stack-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 28px);
    align-items: start;
}

@media screen and (min-width: 720px) {
    .stack-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.stack-grupo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.stack-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
}

.stack-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.stack-grid .badge {
    padding: 4px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: max(0.8rem, 14px);
    font-weight: 500;
    color: var(--text-primary, #ffffff);
    background: transparent;
}


.experiencia {
    padding: clamp(80px, 10vw, 120px) 4%;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.experiencia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 224, 122, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 184, 230, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.experiencia .titulo {
    margin-top: 0;
    margin-bottom: clamp(40px, 6vw, 80px);
    text-align: center;
}

.timeline-grade-footnote {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.35rem 0 0.75rem;
    max-width: 42rem;
    line-height: 1.45;
    text-align: left;
    align-self: stretch;
}


ol.timeline {
    position: relative;
    padding: 40px 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    list-style: none;
    list-style-type: none;
    padding-left: 0;
    padding-inline-start: 0;
    margin-inline: 0;
    counter-reset: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 224, 122, 0.3);
    transform-origin: top;
}



.timeline-item {
    position: relative;
    margin: 20px 0 28px;
    width: 100%;
    max-width: none;
    left: 0 !important;
    padding-left: 72px !important;
    padding-right: 8px !important;
    text-align: left !important;
    opacity: 1;
    transition: var(--transition);
    list-style: none;
    box-sizing: border-box;
}

.timeline-item:nth-child(even) {
    left: 0 !important;
    padding-left: 72px !important;
    padding-right: 8px !important;
}

.timeline-item:hover {
    transform: translateY(-4px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 20px;
    left: 16px;
    right: auto;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0, 224, 122, 0.6);
    border: 4px solid var(--bg-primary);
    transition: var(--transition);
}

.timeline-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 40px rgba(0, 224, 122, 0.8);
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: clamp(20px, 3vw, 30px);
    position: relative;
    transition: var(--transition);
    min-height: 0;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
    box-sizing: border-box;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}


.timeline-meta {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    width: 100%;
}

.timeline-impact {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--border-radius);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.timeline-period-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.35rem 0.5rem;
    margin-block-start: 0;
    margin-block-end: 0.65rem;
    margin-inline: 0;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: var(--text-primary);
    width: 100%;
    text-align: left;
}

.timeline-period-start,
.timeline-period-end {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    text-align: left;
}

.timeline-period-sep {
    color: var(--text-secondary);
    font-weight: 600;
    opacity: 0.85;
    user-select: none;
}

.timeline-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.45rem;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 0;
    width: 100%;
}

.timeline-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    background: rgba(0, 224, 122, 0.1);
    border: 1px solid rgba(0, 224, 122, 0.35);
    border-radius: 6px;
    line-height: 1.2;
}

.timeline-chip--accent {
    background: rgba(0, 184, 230, 0.12);
    border-color: rgba(0, 184, 230, 0.4);
    color: var(--text-primary);
}

.timeline-title {
    color: var(--text-primary);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-top: 0;
    margin-bottom: 8px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: var(--leading-tight);
    text-align: left;
    align-self: stretch;
    width: 100%;
}

.timeline-company {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-top: 0;
    margin-bottom: 12px;
    flex-shrink: 0;
    font-weight: var(--weight-medium);
    text-align: left;
    align-self: stretch;
    width: 100%;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: var(--text-sm);
    flex: 1;
    overflow: visible;
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.timeline-description li {
    position: relative;
    margin: 0 0 0.65rem;
    padding: 0 0 0 0.95rem;
    border-left: 3px solid rgba(0, 224, 122, 0.35);
}

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



@media (max-width: 1024px) {
    .timeline::before {
        left: 22px;
    }

    .timeline-item {
        padding-left: 60px !important;
    }

    .timeline-item::before {
        left: 10px !important;
    }
}


@media (max-width: 768px) {
    .timeline-item {
        width: 100%;
        max-width: 100%;
        left: 0 !important;
        padding-left: 56px !important;
        padding-right: 10px !important;
        margin: 18px 0 22px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 8px !important;
        
        top: calc(16px + 9px);
        transform: translateY(-50%);
    }

    .timeline-item:hover::before {
        transform: translateY(-50%) scale(1.2);
    }
}

@media (max-width: 480px) {
    .timeline-item {
        width: 100%;
        margin: 12px 0;
    }

    .timeline-item::before {
        top: calc(15px + 9px);
        transform: translateY(-50%);
    }

    .timeline-item:hover::before {
        transform: translateY(-50%) scale(1.2);
    }

    .timeline-content {
        padding: 15px;
        min-height: 0;
    }

    .timeline-description li {
        padding-left: 0.65rem;
        border-left-width: 2px;
        margin-bottom: 0.55rem;
    }

    .timeline-chip {
        font-size: 0.68rem;
        padding: 0.26rem 0.55rem;
    }

    .timeline-description {
        font-size: var(--text-xs);
        line-height: 1.55;
    }
}


@media (hover: none) {
    .timeline-item:hover {
        transform: none;
    }

    .timeline-content:hover {
        transform: none;
        box-shadow: none;
    }
}


.certificacoes {
    padding: 80px 4%;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    
    min-height: 600px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

@media (max-width: 1024px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cert-card {
        height: auto;
        min-height: 280px;
        max-height: none;
    }
}

.cert-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    min-height: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.cert-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-primary);
}

.cert-card:hover::before {
    opacity: 0.1;
}

.cert-card:hover .cert-glow {
    opacity: 1;
    transform: scale(1.1);
}

.cert-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.cert-card:hover .cert-icon {
    transform: rotate(10deg) scale(1.1);
    color: var(--secondary-color);
}

.cert-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.cert-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cert-title {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: var(--transition);
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.cert-card:hover .cert-title {
    color: var(--primary-color);
}

.cert-issuer {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 5px;
    overflow-wrap: anywhere;
}

.cert-date {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto; 
    align-self: flex-start; 
}

.cert-badge i,
.cert-badge .platform-icon {
    color: inherit;
    flex-shrink: 0;
    font-size: 1.1em;
    line-height: 1;
}

.cert-card:hover .cert-badge {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 228, 38, 0.3);
}

.cert-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 228, 38, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}


.cert-oculto {
    display: none !important;
}

.btn-ver-mais {
    display: block;
    margin: 24px auto 0;
    padding: 10px 20px;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition:
        color 150ms ease,
        background-color 150ms ease,
        border-color 150ms ease;
}

.btn-ver-mais:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
}



a.blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 20px;
    height: 100%;
}

a.blog-card-link:focus-visible {
    outline: 2px solid rgba(0, 224, 122, 0.85);
    outline-offset: 4px;
}

a.blog-card-link .blog-card {
    height: 100%;
}

.blog {
    padding: clamp(80px, 10vw, 120px) 4%;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 224, 122, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 184, 230, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(20px, 4vw, 30px);
    margin-top: clamp(40px, 6vw, 60px);
    align-items: start;
}

.blog-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    border-color: var(--border-color-hover);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.blog-card:hover::before {
    opacity: 0.05;
}


.blog-meta {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    pointer-events: none;
}

.blog-status {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: var(--bg-primary);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    border-radius: var(--border-radius);
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.25;
    box-shadow: 0 2px 8px rgba(0, 224, 122, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
    max-width: 11rem;
    text-align: right;
    position: relative;
}


.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 0;
    flex-shrink: 0;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color-light);
    color: var(--primary-color);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 224, 122, 0.3);
}


.blog-grid > .blog-card-link:nth-child(1) .blog-card {
    animation-delay: 0.1s;
}
.blog-grid > .blog-card-link:nth-child(2) .blog-card {
    animation-delay: 0.2s;
}
.blog-grid > .blog-card-link:nth-child(3) .blog-card {
    animation-delay: 0.3s;
}


@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        min-height: 400px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: var(--text-base);
    }
    
    .blog-excerpt {
        font-size: var(--text-sm);
    }
    
    
    .blog-category {
        top: 10px;
        left: 10px;
        font-size: 10px;
        padding: 4px 8px;
        z-index: 15;
    }
    
    .blog-meta {
        top: 10px;
        right: 10px;
        z-index: 15;
    }
    
    .blog-status {
        font-size: 9px;
        padding: 3px 6px;
        max-width: 9rem;
    }
}

@media (max-width: 480px) {
    .blog-card {
        min-height: 380px;
    }
    
    .blog-content {
        padding: 15px;
    }
    
    
    .blog-category {
        top: 8px;
        left: 8px;
        font-size: 9px;
        padding: 3px 6px;
        z-index: 15;
    }
    
    .blog-meta {
        top: 8px;
        right: 8px;
        z-index: 15;
    }
    
    .blog-status {
        font-size: 8px;
        padding: 2px 5px;
        white-space: nowrap;
    }
}

.blog-image {
    height: clamp(140px, 28vw, 200px);
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.blog-image-icon svg {
    width: min(42%, 7.5rem);
    height: auto;
    max-height: 78%;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}

.python-bg,
.fullstack-bg,
.devops-bg {
    background: transparent;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 14px;
    border-radius: var(--border-radius);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 4;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-overlay i {
    font-size: 30px;
    color: white;
}

.blog-content {
    padding: clamp(20px, 3vw, 25px);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 0;
}

.blog-read-time {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 10px;
}

.blog-status {
    color: var(--primary-color);
    font-weight: 600;
    background: color-mix(in srgb, var(--primary-color) 14%, transparent);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 32%, transparent);
    font-size: 12px;
}

.blog-title {
    color: var(--text-primary);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: 12px;
    line-height: var(--leading-tight);
    text-align: left;
    flex-shrink: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    margin-bottom: 20px;
    text-align: left;
    flex: 1;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.tag {
    background: var(--gradient-primary);
    color: rgba(248, 250, 252, 0.98);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    transition: var(--transition);
}

.blog-card:hover .tag {
    transform: scale(1.05);
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.8);
    transition: var(--transition);
    box-shadow: var(--shadow-secondary);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

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

.modal-body {
    margin-bottom: 30px;
}

.modal-body p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
}

.modal-footer {
    text-align: center;
}

.btn-modal {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modal:hover::before {
    left: 100%;
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}


footer {
    padding: clamp(60px, 8vw, 100px) 4% clamp(30px, 4vw, 50px);
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-color);
    min-height: 200px;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 224, 122, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 184, 230, 0.05) 0%, transparent 50%);
    pointer-events: none;
}


@media (min-width: 769px) {
    footer {
        padding: 50px 4% 30px;
        min-height: 150px;
    }
    
    footer .line-footer {
        padding: 20px 0;
    }
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 228, 38, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 184, 230, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

footer .flex {
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

footer .line-footer {
    padding: 30px 0;
}

footer .line-footer p {
    color: var(--text-secondary);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .line-footer p i {
    color: var(--primary-color);
    font-size: 20px;
}

footer .line-footer p a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 4px 8px;
    border-radius: var(--border-radius);
}

footer .line-footer p a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

footer .line-footer p a:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 224, 122, 0.3);
}

footer .line-footer p a:hover::before {
    opacity: 1;
}


footer .line-footer p i {
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition);
    display: inline-block;
}

footer .line-footer p i:hover {
    color: var(--primary-color);
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 20px rgba(0, 224, 122, 0.6);
}


.logo-footer img {
    filter: brightness(0.8);
    transition: var(--transition);
}

.logo-footer img:hover {
    filter: brightness(1);
    transform: scale(1.05);
}


footer .interface {
    min-height: 0;
}

footer nav.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

footer nav.footer-nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px 12px;
    min-height: 44px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

footer nav.footer-nav a:hover,
footer nav.footer-nav a:focus-visible {
    color: var(--primary-color);
}

footer .footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

footer .footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

footer .footer-social a:hover,
footer .footer-social a:focus-visible {
    color: var(--primary-color);
}

footer .footer-copy {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}


html.is-satellite {
    scroll-padding-top: 76px;
}

body.is-satellite {
    padding-top: 0;
}

body.is-satellite main {
    padding-top: 68px;
}

body.is-satellite .post-article {
    padding-top: 40px;
    padding-bottom: 100px;
}

body.is-satellite .specialty-page {
    padding-top: 40px;
    padding-bottom: 80px;
}

body.is-satellite .logo-footer img {
    width: 72px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
}




@media screen and (min-width: 769px) {
    .theme-toggle {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        user-select: none;
        cursor: pointer;
        min-width: 45px;
        min-height: 45px;
        padding: 8px;
    }
    
    .theme-toggle:hover {
        transform: translateY(-2px) rotate(15deg);
        border-color: var(--primary-color);
        box-shadow: 0 4px 12px var(--primary-color-light);
    }
    
    .theme-toggle:active {
        transform: translateY(-2px) rotate(15deg) scale(0.95);
    }
    
    .theme-toggle:focus {
        transform: translateY(-2px) rotate(15deg);
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}


@media screen and (max-width: 1200px) {
    .interface {
        padding: 0 3%;
    }
    
    section.topo-do-site .flex {
        gap: 50px;
    }
    
    .topo-do-site .img-topo-site img {
        width: 180px;
        height: 180px;
    }
}


@media screen and (max-width: 1024px) {
    .interface {
        padding: 0 4%;
    }
    
    section.topo-do-site .flex {
        gap: 40px;
    }
    
    .topo-do-site .img-topo-site img {
        width: 150px;
        height: 150px;
    }
    
    section.especialidades .flex {
        gap: 20px;
    }
    
    section.portfolio .flex {
        gap: 15px;
    }
    
    .img-port {
        width: 200px;
        height: 300px;
    }
    
}


@media screen and (max-width: 768px) {
    
    .flex {
        flex-wrap: wrap;
    }
    
    .interface {
        padding: 0 1.2rem;
        max-width: 100%;
    }
    
    section {
        padding: max(80px, 50px) 0;
        margin-bottom: 2.5rem;
    }
    
    
    .titulo {
        margin-bottom: 30px;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.3;
    }
    
    
    header {
        padding: 12px 12px 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: transparent;
        box-shadow: none;
    }
    
    header .logo {
        position: relative;
        display: flex;
        align-items: center;
        z-index: 1001;
    }
    
    header .logo img {
        width: 42px;
        height: 42px;
        object-fit: contain;
        display: block;
        
        transform: none !important;
    }
    
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
    }
    
    .btn-abrir-menu {
        display: flex;
    }
    
    header nav.menu-desktop {
        display: none;
    }
    
    
    section.topo-do-site {
        padding: max(64px, clamp(56px, 14vw, 76px)) 0 60px;
        text-align: center;
    }
    
    section.topo-do-site .flex {
        flex-direction: column;
        gap: 30px;
    }
    
    .topo-do-site h1 {
        font-size: clamp(1.6rem, 4vw, 2rem);
        text-align: center;
        line-height: 1.2;
    }
    
    .topo-do-site p {
        text-align: center;
        font-size: 1rem;
    }
    
    .topo-do-site .img-topo-site {
        display: none;
    }
    
    .topo-do-site .img-topo-site img {
        width: 120px;
        height: 120px;
    }
    
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 1rem;
    }
    
    
    .topo-do-site .img-topo-site img {
        max-width: 85%;
    }
    
    
    section.especialidades .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .especialidades .especialidades-box {
        padding: 25px 20px;
        margin: 0 auto 15px auto;
        max-width: 100%;
        width: 100%;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        transition: transform .2s ease;
        box-sizing: border-box;
    }
    
    .especialidades .especialidades-box:active {
        transform: scale(1.02);
    }
    
    .especialidades .especialidades-box i {
        font-size: 2rem;
        margin-bottom: 15px;
        display: block;
    }
    
    .especialidades .especialidades-box h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .especialidades .especialidades-box p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    
    section.sobre .flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .sobre .txt-sobre h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .sobre .txt-sobre p {
        text-align: center;
        font-size: 1rem;
    }
    
    .sobre .img-sobre img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
        margin: 0 auto;
        display: block;
    }
    
    .sobre .txt-sobre {
        text-align: center;
    }
    
    .sobre .txt-sobre p {
        font-size: 0.9rem;
        line-height: 1.8;
        margin-bottom: 15px;
    }
    
    
    .sobre .txt-sobre p:first-of-type {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    
    .btn-ler-mais {
        display: none;
    }
    
    
    .stats-sobre {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        margin: 20px 0;
        flex-wrap: nowrap;
    }
    
    .stat-item {
        flex: 1;
        min-width: 0;
        padding: 12px 8px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    
    .sobre .btn-social {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }
    
    .sobre .btn-social button,
    .sobre .btn-social a.btn-social-link {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }
    
    
    section.portfolio .flex {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        align-items: center;
    }
    
    .img-port {
        width: 100%;
        max-width: 350px;
        height: 250px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 15px;
        margin: 0 auto;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        transition: transform 0.6s ease;
        position: relative;
        overflow: hidden;
        flex-shrink: 0; 
    }
    
    .project-link {
        width: 100%;
        max-width: 350px;
        display: block;
        margin: 0 auto;
    }
    
    .img-port:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 10px 30px rgba(0, 228, 38, 0.3);
    }
    
    .overlay {
        font-size: 16px;
        padding: 15px;
        text-align: center;
        line-height: 1.3;
    }
}


@media (max-width: 480px) {
    .img-port {
        height: 200px;
        max-width: 100%;
    }
    
    .project-link {
        max-width: 100%;
    }
    
    .overlay {
        font-size: 14px;
        padding: 10px;
    }
}


@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) and (orientation: portrait) and (pointer: coarse) {
    
    .btn-contato {
        display: none !important;
    }
    
    
    .menu-mobile {
        background: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }
    
    .overlay-menu {
        background-color: rgba(0, 0, 0, 0.9) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }
    
    
    [data-theme="light"] .menu-mobile {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }
    
    [data-theme="light"] .overlay-menu {
        background-color: rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }
    
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        position: relative;
    }
    
    
    .theme-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 45px;
        height: 45px;
        font-size: 1rem;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        z-index: 10;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .theme-toggle:hover {
        transform: rotate(15deg);
        border-color: var(--primary-color);
        box-shadow: 0 4px 12px var(--primary-color-light);
    }
    
    .theme-toggle i {
        position: relative;
        z-index: 1;
        transition: var(--transition);
        color: var(--primary-color);
    }
    
    .theme-toggle:active {
        transform: rotate(15deg) scale(0.95);
    }
    
    .theme-toggle:focus {
        transform: rotate(15deg);
    }
    
    
    .header-actions::after {
        display: none !important;
    }
    
    
    .dropdown-menu {
        display: none !important;
    }
}


@media (max-width: 360px) {
    
    .btn-abrir-menu {
        display: none !important;
    }
    
    .menu-mobile {
        display: none !important;
    }
    
    .overlay-menu {
        display: none !important;
    }
    
    header .interface {
        max-width: calc(100vw - 16px);
        padding: 8px 12px !important;
        gap: 8px 10px !important;
    }

    header .logo img {
        width: 36px;
        height: 36px;
    }
    
    
    .btn-contato-link {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    
    .btn-contato {
        display: none !important;
    }
    
    
    .theme-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        z-index: 10;
    }
    
    .theme-toggle:hover {
        transform: rotate(15deg);
        border-color: var(--primary-color);
        box-shadow: 0 4px 12px var(--primary-color-light);
    }
    
    .theme-toggle i {
        position: relative;
        z-index: 1;
        transition: var(--transition);
        color: var(--primary-color);
    }
    
    
    .header-actions::after {
        display: none !important;
    }
    
    
    .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        padding: 10px 0;
        min-width: 150px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 1001;
    }
    
    .dropdown-menu.show {
        display: block;
    }
    
    .dropdown-menu a {
        display: block;
        padding: 10px 20px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 14px;
        transition: var(--transition);
    }
    
    .dropdown-menu a:hover {
        background: var(--gradient-primary);
        color: var(--bg-primary);
    }
}


@media (min-width: 769px) {
    .dropdown-menu {
        display: none !important;
    }
    
    .header-actions::after {
        display: none !important;
    }
    
    
    .btn-contato {
        display: block !important;
    }
    
    
    .btn-abrir-menu {
        display: none !important;
    }
    
    
    .menu-mobile {
        display: none !important;
    }
    
    
    .overlay-menu {
        display: none !important;
    }
    
    
    section.codigo {
        display: block !important;
    }
    
    
    section.experiencia {
        display: block !important;
    }
}


@media (min-width: 361px) and (max-width: 768px) {
    .dropdown-menu {
        display: none !important;
    }
    
    .header-actions::after {
        display: none !important;
    }
    
    
    .btn-contato {
        display: block !important;
    }
    
    
    .theme-toggle {
        display: flex !important;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        color: var(--text-primary);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
    }
    
    .theme-toggle::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-primary);
        opacity: 0;
        transition: var(--transition);
        border-radius: 50%;
    }
    
    .theme-toggle:hover {
        transform: translateY(-2px) rotate(15deg);
        border-color: var(--primary-color);
        box-shadow: 0 4px 12px var(--primary-color-light);
    }
    
    .theme-toggle:hover::before {
        opacity: 0.15;
    }
    
    .theme-toggle:active {
        transform: translateY(-2px) rotate(15deg) scale(0.95);
    }
    
    .theme-toggle:focus {
        transform: translateY(-2px) rotate(15deg);
    }
    
    
    @media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) and (orientation: portrait) and (pointer: coarse) {
        .theme-toggle {
            transform: none !important;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }
        
        .theme-toggle:hover {
            transform: rotate(15deg) !important;
        }
        
        .theme-toggle:active {
            transform: rotate(15deg) scale(0.95) !important;
        }
        
        .theme-toggle:focus {
            transform: rotate(15deg) !important;
        }
        
        .theme-toggle.rotating {
            transform: none !important;
        }
        
        .dropdown-menu {
            display: none !important;
            pointer-events: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
        }
    }
    
    .theme-toggle i {
        position: relative;
        z-index: 1;
        transition: var(--transition);
    }
    
    .theme-toggle:hover i {
        color: var(--primary-color);
        transform: scale(1.1);
    }
    
    
    .theme-toggle {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        user-select: none;
    }
    
    
    .theme-toggle {
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
    }
}


@media screen and (max-width: 768px) {
    
    section.codigo {
        display: none !important;
    }
    
    .code-section {
        padding: 15px;
        margin: 20px 0;
        border-radius: 10px;
        overflow-x: auto;
        height: auto;
        min-height: 300px;
        position: relative;
    }
    
    .code-content {
        font-size: 12px;
        line-height: 1.2;
        white-space: pre;
        word-break: break-all;
        height: auto;
        padding: 10px 0;
        text-align: left;
        overflow-x: auto;
        font-family: 'Fira Code', 'Courier New', monospace;
    }
    
    
    .code-carousel-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        position: static;
    }
    
    .carousel-prev,
    .carousel-next {
        display: none;
    }
    
    .carousel-indicators {
        margin-top: 20px;
        gap: 12px;
    }
    
    .indicator-dot {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .indicator-dot.active {
        width: 44px;
    }
    
    
    .language-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: var(--primary-color);
        color: var(--bg-primary);
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: 600;
        z-index: 5;
    }
    
    
    .code-header {
        z-index: 20;
    }
    
    .code-line {
        padding: 0;
        min-height: 16px;
        margin: 0;
        white-space: pre;
    }
    
    .code-header {
        padding: 10px 15px;
        margin-bottom: 15px;
    }
    
    .code-title {
        font-size: 0.9rem;
    }
    
    .code-controls {
        gap: 8px;
    }
    
    .code-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    
    form {
        padding: 30px 20px;
    }
    
    form input,
    form textarea,
    form select {
        padding: 1rem;
        font-size: 16px;
        border-radius: 8px;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 48px;
    }
    
    form input::placeholder,
    form textarea::placeholder {
        font-size: 14px;
        opacity: 0.7;
    }
    
    form select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300e426' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 15px center;
        background-repeat: no-repeat;
        background-size: 16px;
        padding-right: 45px;
    }
    
    form button {
        padding: 18px 30px;
        font-size: 16px;
        width: 100%;
        border-radius: 10px;
        margin-top: 10px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    
    .form-success {
        background: var(--primary-color);
        color: var(--bg-primary);
        padding: 15px 20px;
        border-radius: 10px;
        margin-top: 20px;
        text-align: center;
        font-weight: 600;
        display: none;
    }
    
    .form-success.show {
        display: block;
        animation: slideInDown 0.5s ease-out;
    }
    
    
    .input-group {
        position: relative;
        margin-bottom: 25px;
    }
    
    .input-group label {
        font-size: 14px;
        color: var(--text-secondary);
        transition: all 0.3s ease;
    }
    
    .input-group.focused label {
        transform: translateY(-25px);
        font-size: 12px;
        color: var(--primary-color);
    }
    
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 30px 0;
    }
    
    .tech-card {
        padding: 20px 15px;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 15px;
        transition: var(--transition);
        box-sizing: border-box;
        width: 100%;
    }
    
    .tech-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: var(--primary-color);
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .tech-card h4 {
        font-size: 0.9rem;
        margin: 0 0 5px 0;
        color: var(--text-primary);
    }
    
    
    .tech-card .tech-description {
        font-size: 0.8rem;
        color: var(--text-secondary);
        text-align: center;
        line-height: 1.3;
        margin-top: 5px;
    }
    
    
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cert-card {
        padding: 20px;
        height: auto;
        min-height: auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        border-radius: 12px;
        box-sizing: border-box;
    }
    
    .cert-card .cert-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: var(--primary-color);
    }
    
    .cert-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        color: var(--text-primary);
    }
    
    .cert-card p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        color: var(--text-secondary);
        line-height: 1.4;
    }
    
    .cert-card .cert-badge {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 48px;
        padding: 12px 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        line-height: 1.25;
        font-weight: 600;
        background: var(--gradient-primary);
        color: #ffffff;
        border: none;
        border-radius: var(--border-radius);
        transition: var(--transition);
    }

    .cert-card .cert-badge i,
    .cert-card .cert-badge .platform-icon {
        color: inherit;
        font-size: 1.05em;
        margin: 0;
    }

    .cert-card .cert-badge:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-primary);
    }
    
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-card {
        margin-bottom: 25px;
        height: auto;
        min-height: 220px;
        border-radius: 15px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform .2s ease, box-shadow .2s ease;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .blog-card:active {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 228, 38, 0.2);
    }
    
    .blog-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        line-height: 1.3;
        color: var(--text-primary);
    }
    
    .blog-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
        color: var(--text-secondary);
        flex-grow: 1;
    }
    
    .blog-card .blog-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        font-size: 0.8rem;
        color: var(--text-muted);
    }
    
    .blog-card .blog-read-time {
        background: var(--primary-color);
        color: var(--bg-primary);
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 600;
    }
    
    .blog-card .btn {
        width: 100%;
        padding: 12px 20px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .blog-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .blog-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .blog-tags {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .blog-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    
    ol.timeline {
        display: block;
        padding: 24px 0 28px;
    }

    .timeline::before {
        display: block;
        left: 20px;
    }

    .timeline-item {
        position: relative;
        margin: 0 0 1rem;
        padding-left: 56px !important;
        padding-right: 10px !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        border: none;
        overflow: visible;
        left: 0 !important;
        text-align: left !important;
        box-sizing: border-box;
    }

    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        background: transparent;
    }

    .timeline-item::before {
        display: block;
        left: 8px !important;
        top: calc(16px + 9px);
        transform: translateY(-50%);
    }

    .timeline-item:hover::before {
        transform: translateY(-50%) scale(1.2);
    }

    .timeline-content {
        padding: 16px 18px;
        height: auto;
        min-height: 0;
        min-width: 0;
        background: var(--bg-card);
        backdrop-filter: blur(20px);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-secondary);
        border: 1px solid var(--border-color);
        margin: 0;
        width: 100%;
        max-width: 100%;
        position: relative;
        left: 0;
        text-align: left;
        z-index: 2;
        overflow-x: hidden;
        overflow-y: visible;
        align-items: stretch;
    }

    .timeline-meta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        width: 100%;
    }

    .timeline-chip-list {
        justify-content: flex-start;
        align-content: flex-start;
        width: 100%;
    }

    .timeline-grade-footnote {
        max-width: none;
        width: 100%;
        text-align: left;
    }

    .timeline-impact {
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    .timeline-description li {
        padding-left: 0.7rem;
        border-left-width: 2px;
    }

    .timeline-item::after {
        display: none;
    }

    @keyframes pulse {
        0% { box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px var(--primary-color); }
        50% { box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 8px rgba(0, 228, 38, 0.3); }
        100% { box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px var(--primary-color); }
    }

    .timeline-period-line {
        justify-content: flex-start;
        width: 100%;
        font-size: 0.85rem;
    }

    .timeline-chip {
        font-size: 0.65rem;
        padding: 0.22rem 0.5rem;
    }

    .timeline-title {
        font-size: clamp(0.95rem, 4.2vw, 1.05rem);
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 8px;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .timeline-company {
        font-size: 14px;
    }

    .timeline-description {
        font-size: 0.85rem;
        line-height: 1.65;
        color: var(--text-secondary);
        margin: 0.25rem 0 0;
        padding: 0;
        display: block;
        overflow: visible;
        -webkit-line-clamp: none;
        line-clamp: none;
        text-overflow: initial;
    }

    
    footer .flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .modal-header i {
        font-size: 40px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
}


@media screen and (max-width: 480px) {
    .interface {
        padding: 0 1rem;
    }
    
    section {
        padding: max(80px, 40px) 0;
    }
    
    .titulo {
        font-size: 1.8rem;
        margin-bottom: 30px;
        line-height: 1.2;
    }
    
    
    .flex {
        gap: 20px;
    }
    
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tech-card {
        min-height: 100px;
        padding: 15px;
    }
    
    .tech-card i {
        font-size: 2rem;
    }
    
    .tech-card h4 {
        font-size: 0.9rem;
    }
    
    .tech-card .tech-description {
        font-size: 0.75rem;
    }
    
    .topo-do-site h1 {
        font-size: 2rem;
    }
    
    .topo-do-site p {
        font-size: 0.9rem;
    }
    
    .topo-do-site .img-topo-site img {
        width: 100px;
        height: 100px;
    }
    
    
    section.sobre .flex {
        gap: 15px;
    }
    
    .sobre .img-sobre img {
        width: 150px;
        height: 150px;
        max-width: 150px;
    }
    
    
    .code-section {
        height: auto;
        min-height: 250px;
    }
    
    .code-content {
        font-size: 0.75rem;
        line-height: 1.4;
        height: auto;
        text-align: left;
        padding: 10px 0;
    }
    
    
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }
    
    
    .stats-sobre {
        gap: 8px;
    }
    
    .stat-item {
        padding: 10px 6px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    header .logo img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        display: block;
        transform: none !important;
    }
    
    .especialidades .especialidades-box {
        padding: 20px 15px;
    }
    
    .especialidades .especialidades-box i {
        font-size: 40px;
    }
    
    .especialidades .especialidades-box h3 {
        font-size: 18px;
    }
    
    .sobre .txt-sobre h2 {
        font-size: 1.8rem;
    }
    
    .sobre .txt-sobre p {
        font-size: 0.9rem;
    }
    
    .img-port {
        height: 200px;
    }
    
    form {
        padding: 20px 15px;
    }
    
    form input,
    form textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .cert-card {
        padding: 20px;
    }
    
    .blog-card {
        margin-bottom: 15px;
    }
    
    .timeline-content {
        padding: 14px 13px;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .timeline-item::before {
        top: calc(14px + 9px);
        transform: translateY(-50%);
    }

    .timeline-item:hover::before {
        transform: translateY(-50%) scale(1.2);
    }
    
    .timeline-title {
        font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    }
    
    .timeline-company {
        font-size: 13px;
    }
    
    .timeline-description {
        font-size: 0.82rem;
    }
    
    .modal-content {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .modal-header i {
        font-size: 30px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .menu-mobile .btn-fechar {
        padding: 15px 5%;
    }
    
    .menu-mobile .btn-fechar i {
        width: 48px;
        height: 48px;
        font-size: 26px;
        min-width: 48px;
        min-height: 48px;
    }
}


@media screen and (max-width: 375px) {
    .interface {
        padding: 0 0.8rem;
    }
    
    section {
        padding: max(80px, 30px) 0;
    }
    
    .titulo {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
        margin-bottom: 25px;
    }
    
    header .logo img {
        width: 38px;
        height: 38px;
    }
    
    .btn-abrir-menu {
        width: 44px;
        height: 44px;
    }
    
    .topo-do-site h1 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }
    
    .topo-do-site p {
        font-size: 0.85rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .especialidades .especialidades-box {
        padding: 18px 12px;
    }
    
    .especialidades .especialidades-box i {
        font-size: 35px;
    }
    
    .especialidades .especialidades-box h3 {
        font-size: 16px;
    }
    
    .especialidades .especialidades-box p {
        font-size: 0.85rem;
    }
    
    .sobre .img-sobre img {
        width: 120px;
        height: 120px;
    }
    
    .sobre .txt-sobre h2 {
        font-size: 1.5rem;
    }
    
    .sobre .txt-sobre p {
        font-size: 0.85rem;
    }
    
    
    .stats-sobre {
        gap: 8px;
    }
    
    .stat-item {
        padding: 10px 6px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .img-port {
        height: 180px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .tech-card {
        padding: 12px;
        min-height: 90px;
    }
    
    .tech-card i {
        font-size: 1.8rem;
    }
    
    .tech-card h4 {
        font-size: 0.85rem;
    }
    
    .tech-card .tech-description {
        font-size: 0.7rem;
    }
    
    .cert-card {
        padding: 15px;
    }
    
    .cert-card h3 {
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 12px;
        padding-left: 12px;
        min-height: 0;
        overflow: visible;
    }

    .timeline-item::before {
        top: calc(12px + 9px);
        transform: translateY(-50%);
    }

    .timeline-item:hover::before {
        transform: translateY(-50%) scale(1.2);
    }
    
    .timeline-period-line {
        font-size: 0.8rem;
    }

    .timeline-title {
        font-size: 0.95rem;
    }

    .timeline-description {
        font-size: 0.8rem;
    }

    .blog-card {
        padding: 15px;
        min-height: 200px;
    }
    
    .blog-card h3 {
        font-size: 1.05rem;
    }
    
    .blog-card p {
        font-size: 0.85rem;
    }
    
    form {
        padding: 15px 10px;
    }
    
    form input,
    form textarea,
    form select {
        padding: 12px;
        font-size: 14px;
    }
    
    form button {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .code-section {
        padding: 12px;
        min-height: 200px;
    }
    
    .code-content {
        font-size: 0.7rem;
        padding: 8px 0;
    }
    
    .code-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .code-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .menu-mobile .btn-fechar {
        padding: 15px 5%;
    }
    
    .menu-mobile .btn-fechar i {
        width: 48px;
        height: 48px;
        font-size: 26px;
        min-width: 48px;
        min-height: 48px;
    }
}


@media screen and (max-width: 320px) {
    .interface {
        padding: 0 0.6rem;
    }
    
    .titulo {
        font-size: 1.4rem;
    }
    
    header .logo img {
        width: 38px;
        height: 38px;
    }
    
    .btn-abrir-menu {
        width: 40px;
        height: 40px;
    }
    
    .btn-abrir-menu i {
        font-size: 28px;
    }
    
    .topo-do-site h1 {
        font-size: 1.3rem;
    }
    
    .topo-do-site p {
        font-size: 0.8rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 10px 15px;
        font-size: 0.8rem;
        min-height: 44px;
    }
    
    .especialidades .especialidades-box {
        padding: 15px 10px;
    }
    
    .especialidades .especialidades-box i {
        font-size: 30px;
    }
    
    .especialidades .especialidades-box h3 {
        font-size: 15px;
    }
    
    .especialidades .especialidades-box p {
        font-size: 0.8rem;
    }
    
    .tech-card {
        padding: 10px;
        min-height: 80px;
    }
    
    .tech-card i {
        font-size: 1.6rem;
    }
    
    .tech-card h4 {
        font-size: 0.8rem;
    }
    
    form {
        padding: 12px 8px;
    }
    
    form input,
    form textarea,
    form select {
        padding: 10px;
        font-size: 13px;
    }
    
    .menu-mobile {
        width: 85%;
    }
    
    .menu-mobile nav ul li a {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .menu-mobile .btn-fechar {
        padding: 15px 5%;
    }
    
    .menu-mobile .btn-fechar i {
        width: 50px;
        height: 50px;
        font-size: 28px;
        min-width: 50px;
        min-height: 50px;
    }
    
    .sobre .img-sobre img {
        width: 100px;
        height: 100px;
    }
    
    .btn-social button,
    .btn-social a.btn-social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    
    .stats-sobre {
        gap: 6px;
    }
    
    .stat-item {
        padding: 8px 4px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
    
    .cert-card h3 {
        font-size: 0.9rem;
    }
    
    .cert-card p {
        font-size: 0.75rem;
    }
    
    .timeline-content {
        padding: 12px 11px;
        min-height: 0;
        overflow: visible;
    }

    .timeline-item::before {
        top: calc(12px + 9px);
        transform: translateY(-50%);
    }

    .timeline-item:hover::before {
        transform: translateY(-50%) scale(1.2);
    }
    
    .blog-card h3 {
        font-size: 0.95rem;
    }
    
    footer {
        padding: 20px 0;
    }
    
    footer h2 {
        font-size: 1.2rem;
    }
    
    footer p {
        font-size: 0.8rem;
    }
    
    .menu-mobile .btn-fechar {
        padding: 15px 5%;
    }
    
    .menu-mobile .btn-fechar i {
        width: 52px;
        height: 52px;
        font-size: 30px;
        min-width: 52px;
        min-height: 52px;
    }
}


@media screen and (max-width: 768px) {
    section.experiencia {
        overflow-x: hidden;
    }

    section.experiencia .interface {
        text-align: left;
        max-width: 100%;
    }

    section.experiencia ol.timeline {
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-inline: 0;
        margin-inline: 0;
        list-style: none;
        padding-inline-start: 0 !important;
    }

    section.experiencia .timeline-item {
        align-self: stretch;
        max-width: 100%;
        min-width: 0;
    }

    section.experiencia .timeline-content {
        align-items: stretch !important;
        text-align: left !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-inline: 0;
        overflow-x: hidden;
    }

    section.experiencia .timeline-meta,
    section.experiencia .timeline-period-line {
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    section.experiencia .timeline-chip-list {
        justify-content: flex-start !important;
        align-content: flex-start !important;
        align-items: flex-start !important;
        width: 100%;
    }

    section.experiencia .timeline-title,
    section.experiencia .timeline-company {
        display: block;
        margin-inline: 0;
        text-align: left !important;
        width: 100%;
        max-width: 100%;
    }

    section.experiencia .timeline-description {
        text-align: left !important;
        -webkit-hyphens: manual;
        hyphens: manual;
    }

    section.experiencia .timeline-description li {
        text-align: left !important;
        padding-left: 0.65rem;
        border-left-width: 2px;
    }

    section.experiencia .timeline-impact,
    section.experiencia .timeline-grade-footnote {
        text-align: left !important;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 420px) {
    section.experiencia .timeline-chip {
        font-size: 0.62rem;
        padding: 0.22rem 0.48rem;
        letter-spacing: 0.04em;
    }
}
