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

:root {
    --primary-color: #FF6B35;
    --primary-dark: #E8491C;
    --primary-light: #FF8C5F;
    --secondary-color: #004E89;
    --text-dark: #1A1A2E;
    --text-light: #2D3748;
    --bg-light: #FFF4F0;
    --bg-white: #FFFFFF;
    --border-color: #FFD4C4;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

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

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
}

.mobile-nav a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
        border-radius: 12px;
        min-height: 48px; /* Touch target mínimo */
    }
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
        border-radius: 12px;
        min-height: 48px; /* Touch target mínimo */
    }
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FFF4F0 0%, #FFFFFF 50%, #E8F7FF 100%);
}

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

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.4;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hero-content p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
}

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

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
    }
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.feature-item span {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .hero-features {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .feature-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .feature-item svg {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .feature-item span {
        font-size: 1rem;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-image {
        display: none;
    }
}

.mockup-browser {
    width: 100%;
    max-width: 500px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.browser-header {
    background: #E5E7EB;
    padding: 12px 16px;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9CA3AF;
}

.browser-content {
    padding: 2rem;
    background: var(--bg-white);
}

.dashboard-preview h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.dashboard-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-item {
    height: 40px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.services {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-header p {
        font-size: 1rem;
        max-width: 100%;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

.service-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

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

@media (max-width: 768px) {
    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

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

.center-button {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.projects {
    padding: 6rem 0;
    background: var(--bg-light);
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
    .project-item {
        gap: 2rem;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .project-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        margin-bottom: 3rem;
    }
}

.project-item.reverse {
    direction: rtl;
}

.project-item.reverse > * {
    direction: ltr;
}

.project-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .project-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
}

.project-content > p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .project-content > p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

.project-results h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.project-results h4:first-child {
    margin-top: 0;
}

.project-results ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-results ul li {
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.project-results ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--primary-light);
}

.project-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .image-placeholder {
        display: none;
    }
}

.contact {
    padding: 6rem 0;
    background: var(--bg-white);
}

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

@media (max-width: 1024px) {
    .contact-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        display: none;
    }
}

.contact-info h3, .contact-form h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .contact-info h3, .contact-form h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item div strong {
    display: block;
    color: black;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item div p {
    color: black;
    font-weight: 600;
    font-size: 1rem;
}

.contact-benefits {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.contact-benefits h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-benefits ul {
    list-style: none;
}

.contact-benefits ul li {
    color: var(--text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.contact-benefits ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

@media (max-width: 768px) {
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Previne zoom no iOS */
        border-radius: 12px;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.full-width {
    width: 100%;
}

footer {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-header .logo {
    color: white;
    margin-bottom: 1.5rem;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

.footer-header p {
    color: #E5E7EB;
    line-height: 1.8;
    font-size: 1.125rem;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #E5E7EB;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-info p,
.company-details p,
.schedule-info p {
    color: #E5E7EB;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info strong,
.company-details strong,
.schedule-info strong {
    color: white;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #E5E7EB;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.footer-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

.footer-links a {
    color: #E5E7EB;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services {
        padding: 4rem 0;
    }

    .projects {
        padding: 4rem 0;
    }

    .contact {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .center-button {
        margin-top: 2rem;
    }

    .center-button button {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
    }
}


/* Melhorias adicionais para mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .logo span {
        font-size: 1rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .services, .projects, .contact {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .contact-benefits {
        padding: 1.5rem;
    }

    .company-info {
        padding: 1.5rem 0;
    }

    footer {
        padding: 3rem 0 1.5rem;
    }
}

/* Melhorias para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero .container {
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

