:root {
    --primary-color: #ffe14a;
    --acent-color: #ff6973;
    --dark-color: #0a0a0a;
    --darker-color: #050505;
    --light-color: #e8e4c8;
    --border-color: #666666;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--primary-color) 0px 1px 0px;
}

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

.logo {
    display: flex;
    align-items: center;
    float: left;
    text-decoration: none;
}

.logo.nav-link::after {
    display: none !important;
}

.logo.nav-link:hover::after {
    width: 0 !important;
}

.logo-image {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    user-select: none;
}

.dev-text {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--light-color);
    letter-spacing: 2px;
}

.subtitle-text {
    font-size: 0.9rem;
    color: var(--light-color);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 1px;
}

#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1600;
}

#menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--light-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: 1px;
}

#menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg);
}

#menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

#menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    cursor: pointer;
}

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

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

.nav-link.active-touch,
.nav-link:focus {
    color: var(--primary-color);
    border-radius: 6px;
    transition: var(--transition);
    outline: none;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
}

.hero-content {
    max-width: 800px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border-color: var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.services {
    padding: 100px 0;
    background-color: var(--darker-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-politica {
    font-size: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--dark-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--dark-color);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--primary-color);
    line-height: 1.6;
}

.about {
    padding: 100px 0;
    background-color: var(--dark-color);
}

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

.about-image {
    display: flex;
    justify-content: center;
    bottom: 30%;
    position: relative;
}

.cuia-wrapper {
    position: relative;
    width: 275px;
    height: auto;
}

.cuia-wrapper .cuia {
    position: absolute;
    top: 0;
    left: 0;
    width: 275px;
    height: auto;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
    filter: drop-shadow(1px 1px 2px var(--primary-color));
}

.cuia.base {
    opacity: 1;
    z-index: 2;
}

.cuia.tech {
    opacity: 0;
    z-index: 1;
}

.cuia-wrapper:hover .cuia {
    transform: rotate(10deg) scale(1.05);
}

.cuia-wrapper:hover .cuia.base {
    opacity: 0;
}

.cuia-wrapper:hover .cuia.tech {
    opacity: 1;
}

.about-text {
    max-width: 500px;
}

.about-description {
    font-size: 1.1rem;
    color: var(--light-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.clients {
    padding: 100px 0;
    background-color: var(--darker-color);
}

.clients-carousel {
    overflow-x: hidden;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 2rem;
    cursor: grab;
    user-select: none;
}

.clients-carousel.dragging {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    gap: 2rem;
}

.carousel-track.no-scroll {
    animation: none !important;
    transform: translateX(0) !important;
}

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

.clients-carousel:hover .carousel-track {
    animation-play-state: paused;
}

.clients-carousel::-webkit-scrollbar {
    height: 8px;
}

.clients-carousel::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 4px;
}

.clients-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.client-slide {
    min-width: 280px;
    flex-shrink: 0;
}

.client-slide p {
    white-space: pre-line;
    line-height: 1.2;
}

.client-slide img{
    border-radius: 50px;
}

.client-placeholder {
    background-color: var(--dark-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    height: 200px;
    max-width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.client-placeholder:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.client-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.client-placeholder h3,
.client-placeholder a {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

.client-placeholder p {
    color: var(--acent-color);
    font-size: 1rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--dark-color);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background-color: #e6c200;
}

.story-section {
    color: var(--light-color);
}

.story-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--light-color);
}

.story-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 215, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.highlight-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--light-color);
    line-height: 1.6;
    margin: 0;
}

.close {
    color: var(--primary-color);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover,
.close:focus {
    color: var(--acent-color);
}

.contact-section {
    color: var(--light-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 215, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.contact-item:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-color);
    flex-shrink: 0;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--light-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.modal-subtitle {
    color: var(--light-color);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.contact-form {
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    color: var(--light-color);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    box-sizing: border-box;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(206, 202, 161, 0.5);
}

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.contact-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--light-color);
    opacity: 0.6;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
}

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

.success-message {
    text-align: center;
    padding: 2rem 1rem;
    animation: fadeIn 0.5s ease-in;
}

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

.success-icon-check {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.success-message > p {
    color: var(--light-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-info {
    background-color: rgba(255, 215, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    text-align: left;
}

.success-info p {
    color: var(--light-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-info i {
    color: var(--primary-color);
}

.success-message .btn {
    margin-top: 1rem;
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.footer {
    background-color: var(--darker-color);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-text p {
    color: var(--light-color);
    text-align: center;
    font-size: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    #menu-toggle {
        margin-left: auto;
        display: flex;
    }

    .logo {
        margin: auto;
    }

    .container {
        padding: 0 15px;
    }

    .footer {
        padding: 0 100px;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: var(--primary-color) 0px 2px 0px;
    }

    .header .container {
        justify-content: center;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark-color);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        opacity: 0;
        clip-path: inset(0 0 100% 0); 
        transform: translateY(-8px);
        transition:
            clip-path 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
            opacity 0.45s ease,
            transform 0.45s ease;
    }

    .nav-list.nav-active {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .about-text {
        max-width: 100%;
        padding: 0 15px;
    }

    .about-image {
        visibility: hidden;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.depoimento-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.depoimento-modal.active {
    display: flex;
}

.depoimento-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

#depoimento-text {
    white-space: pre-line;
    line-height: 1.2;
}

.depoimento-link {
    font-size: 12px !important;
}

.depoimento-modal.active .depoimento-content {
    transform: rotateY(360deg);
}

.lang-switcher {
    position: relative;
    display: inline-block;
}

#lang-btn {
    background: var(--primary-color);
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: var(--dark-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 1.5em;
}

#lang-menu {
    position: fixed;
    top: 75px;
    right: 0;
    background: var(--dark-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    width: 180px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    z-index: 9999;
    max-height: 265px;
    overflow-y: auto;
}

#lang-menu li {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 16px;
    color: var(--light-color);
    display: flex;
    gap: 8px;
    text-align: left;
}

#lang-menu li:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

.hidden {
    display: none;
}

.skiptranslate {
    display: none !important;
}

.page {
    display: none;
}

.page.active {
    display: block;
}