:root {
    --primary: #005cff;
    --primary-dark: #0046c0;
    --secondary: #e8f0ff;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --white: #ffffff;
    --gray-100: #f7fafc;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-dark);
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* container fluido para o carrossel */
.container-fluid {
    width: 100%;
    padding: 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-buttons .btn-outline {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    box-shadow: none;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

header.scrolled .logo, 
header.scrolled .nav-links a:not(.btn) {
    color: var(--text-dark);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    transition: height 0.3s ease
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.5px;
}

.logo img {
    width: 32px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    display: flex;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 1rem;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) { top: 0px; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

@keyframes simpleGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero {
    padding-top: 110px;
    padding-bottom: 5rem;
    background-color: var(--white); 
    min-height: 90dvh; 
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.medgemma-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 100% 55%, 70% 70%, 30% 60%, 0 75%);
    background: linear-gradient(135deg, var(--primary) 0%, #00d2ff 30%, #7038ff 60%, var(--primary-dark) 100%); 
    background-size: 400% 400%;
    animation: simpleGradientShift 15s ease infinite;
}

.hero-content {
    position: relative; 
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); 
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blended-title-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: clamp(2rem, 3.5vw, 3rem); 
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: transparent; 
    background: var(--text-dark); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    position: relative;
    z-index: 10;
    margin: 0; 
}

.blended-title-wrapper h1::before {
    content: attr(data-text); 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: var(--white);
    mix-blend-mode: difference;
    z-index: 20; 
    pointer-events: none; 
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    color: var(--text-light);
}

.hero-buttons .btn {
    border: 2px solid transparent;
    box-sizing: border-box;
    vertical-align: middle;
}

.hero-buttons .btn-outline {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hero-buttons .btn-primary {
    position: relative;
    background-color: transparent;
    color: var(--primary);
    border-color: transparent;
    box-shadow: none;
    z-index: 1;
}

.hero-buttons .btn-primary::before {
    content: "";
    position: absolute;
    inset: -2px; 
    border-radius: 0.6rem;
    padding: 2px;
    background: linear-gradient(90deg, var(--primary), #00d2ff, var(--primary));
    background-size: 200% 100%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderFlow 3s linear infinite;
    pointer-events: none;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-buttons .btn-primary:hover {
    color: var(--primary-dark);
    background-color: rgba(0, 92, 255, 0.05);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite; 
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.technology {
    background-color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-card {
    position: relative;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--secondary);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 92, 255, 0.5);
    box-shadow: 
        0 10px 30px -10px rgba(0, 92, 255, 0.2),
        0 0 0 1px rgba(0, 92, 255, 0.1);
}

.tech-card h3, 
.tech-card p {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.tech-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.tech-card:hover h3 {
    color: var(--primary);
}

.tech-card .card-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 92, 255, 0.15) 0%, rgba(0, 92, 255, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: multiply;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    will-change: transform, opacity;
}

.tech-card:hover .card-glow {
    opacity: 1;
}

.features {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); /* Fundo Azul */
    overflow: hidden;
    padding: 5rem 0;
    color: var(--white);
}

.carousel-wrapper {
    margin-bottom: 4rem;
}

.carousel-wrapper:last-child {
    margin-bottom: 0;
}

/* titulo exames e capacidades */
.carousel-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--white);
    line-height: 1.2;
}

/* container que segura o trilho */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* o trilho que se move */
.carousel-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

/* pausa a animação ao passar o rato para permitir o tilt */
.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-track.reverse {
    animation-direction: reverse;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.carousel-track .feature-card {
    /* Dimensões e Layout */
    flex: 0 0 auto;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    background: transparent; 
    border: 1px solid rgba(255, 255, 255, 0.4); 
    border-radius: 1.25rem;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    will-change: transform;
    transition: background 0.3s ease, border-color 0.3s ease;
    cursor: default;
    color: var(--white);
}

/* Conteúdo interno */
.carousel-track .feature-card h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.3s;
    transform: translateZ(20px); /* Ligeiro efeito de profundidade no texto */
}

.carousel-track .feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s;
    line-height: 1.6;
    margin-bottom: 0;
    transform: translateZ(20px);
}

/* Ícone */
.carousel-track .feature-card .icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    transition: all 0.3s ease;
    
    transform: translateZ(30px); /* Ícone salta mais no 3D */
}

.carousel-track .feature-card .icon-wrapper svg {
    width: 1.8rem;
    height: 1.8rem;
    stroke-width: 2px;
}

.carousel-track .feature-card:hover {
    background: var(--white); /* Fundo Branco */
    border-color: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.carousel-track .feature-card:hover h3 {
    color: var(--text-dark); /* Texto Escuro */
}

.carousel-track .feature-card:hover p {
    color: var(--text-light); /* Texto Cinza */
}

.carousel-track .feature-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--secondary) 0%, #e0eaff 100%);
    color: var(--primary);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 92, 255, 0.3);
}

.features .section-header h2 {
    color: var(--white);
    background-image: none;
    -webkit-text-fill-color: initial;
}

.features .section-header h2::after {
    background: var(--white);
}

.features .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* Advantages */
.advantages {
    background-color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check-icon {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Pricing */
.pricing {
    background-color: var(--secondary);
}

.pricing-card {
    background: var(--white);
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}

.price-tag {
    margin: 2rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    color: var(--text-light);
    font-size: 1.1rem;
}

.pricing-features {
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card a:not(.btn-primary) {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-decoration: none !important;
    font-size: 1rem !important;
    margin-top: 0.5rem;
}

.pricing-card .btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    width: 100% !important;
}

.pricing-card .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.pricing-card a:not(.btn-primary) {
    position: relative;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid transparent;
    z-index: 1;
}

.pricing-card a:not(.btn-primary)::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 0.6rem;
    padding: 2px;
    background: linear-gradient(90deg, var(--primary), #00d2ff, var(--primary));
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderFlow 3s linear infinite;
    pointer-events: none;
}

.pricing-card a:not(.btn-primary):hover {
    color: var(--primary-dark);
    background-color: rgba(0, 92, 255, 0.05);
}

/* FAQ */
.faq {
    background-color: var(--gray-100);
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Contact */
section.contact {
    background-color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--secondary);
}

.contact-form .btn-primary {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5; /* Altura de linha padrão para botões */
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    background-color: var(--primary);
    color: var(--white);
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0.5rem; /* Garante o arredondamento */
    display: inline-block;
    transition: all 0.3s ease;
}

/* Ao passar o rato */
.contact-form .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 92, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: #f8fafc;
    color: var(--text-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.email-wrapper {
    position: relative;
    display: inline-block;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.footer-tagline span {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    margin-right: 4px;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-tagline.is-animated { opacity: 1; }
.footer-tagline.is-animated span { opacity: 1; transform: translateY(0); }
.footer-tagline.is-animated span:nth-child(1) { transition-delay: 0.1s; }
.footer-tagline.is-animated span:nth-child(2) { transition-delay: 0.2s; }
.footer-tagline.is-animated span:nth-child(3) { transition-delay: 0.3s; }
.footer-tagline.is-animated span:nth-child(4) { transition-delay: 0.4s; }
.footer-tagline.is-animated span:nth-child(5) { transition-delay: 0.5s; }
.footer-tagline.is-animated span:nth-child(6) { transition-delay: 0.6s; }
.footer-tagline.is-animated span:nth-child(7) { transition-delay: 0.7s; }
.footer-tagline.is-animated span:nth-child(8) { transition-delay: 0.8s; }
.footer-tagline.is-animated span:nth-child(9) { transition-delay: 0.9s; }

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 0.8rem; }

.footer-column a:not(.footer-logo) {
    text-decoration: none;
    color: var(--text-light);
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.footer-column a:not(.footer-logo)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-column a:not(.footer-logo):hover {
    color: var(--primary);
}

.footer-column a:not(.footer-logo):hover::after {
    width: 100%;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 500;
    background-color: transparent !important;
    cursor: pointer;
    width: fit-content;
    transition: all 0.3s ease;
}

.footer-contact-link span#email-text {
    white-space: nowrap; 
}

.copy-icon {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-contact-link:hover .copy-icon {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-link:hover {
    color: var(--primary);
}

.copy-feedback {
    position: absolute;
    top: -35px;
    left: 20px;
    background-color: var(--text-dark);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-feedback::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-dark);
}

.address-box {
    display: flex;
    gap: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.creator a {
    color: var(--primary);
    font-weight: 600;
}

.section-header {
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    cursor: default;
    
    background-image: radial-gradient(
        circle at var(--mouse-x, 100%) var(--mouse-y, 50%), 
        var(--primary) 0%,       
        var(--text-dark) 60%,    
        var(--text-dark) 100%    
    );
    
    background-size: 100% 100%; 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    will-change: background-image;
    position: relative;
    display: inline-block; /* Garante que o alinhamento central funciona bem */
    margin-top: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #00d2ff);
    border-radius: 2px;
    opacity: 0.8;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .tech-card {
        padding: 2rem;
    }
    
    .tech-grid {
        gap: 2rem;
    }
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Carrossel */
    .carousel-track .feature-card {
        width: 300px;
    }
}

@media (max-width: 900px) {
    .hero {
        padding-top: 140px; 
        text-align: center;
        height: auto; 
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr; 
        gap: 3rem;
    }

    .hero-text {
        order: 2; 
        margin: 0 auto;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        order: 1; 
        padding: 0 1rem;
    }

    .hero-image img {
        max-width: 80%; 
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-text h1,
    .blended-title-wrapper h1::before {
        text-align: center; 
        width: 100%; 
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 6rem 2rem 4rem 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links.active a:not(.btn) {
        color: var(--text-dark); 
    }

    .nav-links a {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
        padding-bottom: 0.5rem;
        display: block;
    }

    .nav-links a:last-child {
        margin-top: 1rem;
        border-bottom: none;
        text-align: center;
        width: 100%;
    }

    .nav-links a:not(.btn)::after {
        display: none;
    }

    .section-padding {
        padding: 3.5rem 0;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-card:hover {
        transform: none;
        box-shadow: 0 4px 10px rgba(0, 92, 255, 0.1);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Carrossel Mobile */
    .carousel-track {
        gap: 1.5rem;
        animation-duration: 30s;
    }

    .carousel-track .feature-card {
        width: 270px;
        padding: 1.5rem;
    }
    
    /* Desativar Tilt no mobile */
    .carousel-track .feature-card:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn:first-child { 
        margin-bottom: 1rem; 
    }

    .hero-buttons .btn {
        width: 100%;
        display: block;
    }
    
    .section-padding {
        padding: 3rem 0;
    }

    .contact-form, 
    .pricing-card {
        padding: 1.5rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-link,
    .address-box {
        justify-content: center;
    }
    
    .carousel-track .feature-card {
        width: 250px; 
    }
}