/* Reset e configurações básicas */
:root {
    --primary-color: #02619E;
    --primary-dark: #4e72d8;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --darker-color: #0f172a;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --lighter-gray: #f8fafc;
    --white: #ffffff;
    --black: #000000;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #34d399 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 10px 25px rgba(37, 99, 235, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Garantir que Font Awesome carregue */
.fas,
.far,
.fal,
.fab,
.fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}

/* Melhorar foco visível para acessibilidade */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--darker-color);
}

p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
}

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--lighter-gray);
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray-color);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.breadcrumbs span {
    color: var(--gray-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto;
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn i {
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 30px;
}

.arrow {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    clip-path: polygon(0 0, 60% 50%, 0 100%, 20% 50%);
    border-radius: 4px;
}

.arrow-1 {
    left: 0;
    top: 5px;
}

.arrow-2 {
    left: 15px;
    top: 5px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-tudo {
    color: var(--darker-color);
}

.logo-tudo-footer {
    color: var(--white);
}

.logo-software {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 8px;
    transition: var(--transition);
}

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0.03;
    transform: rotate(15deg);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.main-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 150px;
    pointer-events: auto;
    transition: var(--transition);
    z-index: 2;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.card-1 {
    top: 10%;
    left: -10%;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 60%;
    right: -15%;
    animation: float 6s ease-in-out 2s infinite;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation: float 6s ease-in-out 4s infinite;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.floating-card h3 {
    font-size: 1rem;
    color: var(--darker-color);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Clients Section */
.clients {
    padding: 60px 0;
    background: var(--lighter-gray);
}

.clients-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.client-logo {
    flex: 1;
    min-width: 150px;
    display: flex;
    justify-content: center;
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--darker-color);
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.experience-badge {
    position: absolute;
    top: 10px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.badge-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 5px;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.feature-item i {
    color: var(--secondary-color);
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--lighter-gray);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    color: var(--primary-light);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--darker-color);
}

.value-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    background: var(--lighter-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: -1;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(15deg) scale(0.9);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--darker-color);
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-card ul {
    margin-bottom: 2rem;
}

.service-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-color);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--lighter-gray);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--darker-color);
}

.author-info p {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin: 0;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--darker-color);
}

.contact-description {
    margin-bottom: 2rem;
    max-width: 500px;
}

.contact-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--darker-color);
}

.contact-details a,
.contact-details p {
    color: var(--gray-color);
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--white);
    background: var(--primary-color);
    transform: translateY(-3px);
}

.form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--darker-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--lighter-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Validação de formulário */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.form-message {
    display: none;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: slideDown 0.3s ease;
}

.form-message-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Skip link para acessibilidade */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--darker-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: 500;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--darker-color) 0%, #0a0e27 100%);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col {
    margin-bottom: 2rem;
}

/* Logo moderno no footer */
.footer-about .logo {
    margin-bottom: 1.5rem;
}

.footer-about .logo-icon {
    background: var(--white);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    width: 60px;
    height: 60px;
}

.footer-about .logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.footer-about .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.footer-about .logo-text {
    color: var(--white);
    margin-left: 0.5rem;
}

.footer-about-text {
    color: var(--light-gray);
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links ul,
.footer-services ul {
    display: grid;
    gap: 0.75rem;
}

.footer-links a,
.footer-services a {
    color: var(--light-gray);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a::before,
.footer-services a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-color);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-links a:hover::before,
.footer-services a:hover::before {
    opacity: 1;
    left: 0;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: inherit;
}

.newsletter-form button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

#newsletter-message {
    margin-top: 12px;
    font-size: 0.85rem;
    padding: 10px 12px;
    border-radius: var(--border-radius);
    display: none;
    animation: slideDown 0.3s ease;
    line-height: 1.4;
}

#newsletter-message.newsletter-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

#newsletter-message.newsletter-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.footer-copyright {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--light-gray);
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

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

    .hero .container {
        gap: 2rem;
    }

    .hero-visual {
        height: 400px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .values {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Navegação */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--dark-color);
    }

    /* Prevenir scroll quando menu está aberto */
    body.no-scroll {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        flex: 0 0 auto;
        min-width: 200px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        height: 350px;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
        height: 300px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .values {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2.5rem;
    }

    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-about .logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {

    /* Seções e espaçamentos */
    section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-visual {
        height: 280px;
        margin-top: 2rem;
    }

    /* Navegação */
    .nav {
        padding: 15px 0;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 35px;
        height: 28px;
    }

    .nav-menu {
        width: 85%;
        max-width: 350px;
        padding: 2rem 1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    /* About Section */
    .about-title {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .about-features {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

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

    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: -10px;
        right: -10px;
    }

    .badge-number {
        font-size: 1.2rem;
    }

    .badge-text {
        font-size: 0.7rem;
    }

    .values {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .service-card ul {
        margin-bottom: 1rem;
    }

    .service-card ul li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }

    /* Contact Section */
    .contact-content {
        gap: 2rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .contact-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .contact-items {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        gap: 1rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-details h4 {
        font-size: 1rem;
    }

    .contact-details a,
    .contact-details p {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Formulário */
    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 60px 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-about .logo {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .footer-about .logo-icon {
        width: 55px;
        height: 55px;
    }

    .footer-about-text {
        max-width: 100%;
        margin: 1rem auto 1.5rem;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links ul,
    .footer-services ul {
        gap: 0.75rem;
    }

    .footer-links a,
    .footer-services a {
        font-size: 0.85rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .footer-social .social-link {
        width: 42px;
        height: 42px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-form input {
        border-radius: var(--border-radius);
        width: 100%;
    }

    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
        padding: 12px 20px;
    }

    #newsletter-message {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .footer-bottom {
        padding: 25px 0;
        margin-top: 1.5rem;
    }

    .footer-copyright {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal a {
        font-size: 0.75rem;
    }

    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }

    /* Floating Cards */
    .floating-elements {
        display: none;
    }

    .floating-card {
        padding: 1rem;
        font-size: 0.85rem;
        width: 120px;
    }

    .floating-card h3 {
        font-size: 0.9rem;
    }

    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    /* Header */
    .header {
        padding: 0;
    }

    .header.scrolled {
        box-shadow: var(--shadow-md);
    }

    /* Body scroll lock */
    body.no-scroll {
        overflow: hidden;
    }
}