/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content h3 {
    color: #393b3d;
    margin-bottom: 10px;
    font-size: 18px;
}

.cookie-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    background: #1bb7e2;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #0ea1c7;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #1bb7e2;
    padding: 8px 20px;
    border: 2px solid #1bb7e2;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background: #1bb7e2;
    color: white;
}

/* Header */
.header {
    background: #282d3c;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-img {
    border-radius: 10%;
    height: 40px;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #1bb7e2;
}

.nav-contact {
    background: #1bb7e2 !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    color: white !important;
}

.nav-contact:hover {
    background: #0ea1c7 !important;
    color: white !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: #393b3d;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Services Section */
.services {
    background: #393b3d;
}

.service-section {
    padding: 80px 0;
}

.dark-bg {
    background: #393b3d;
    color: white;
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-text {
    max-width: 600px;
}

.service-icon {
    margin-bottom: 30px;
}

.service-icon img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.service-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.service-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Clients Section */
.clients {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.clients h2 {
    font-size: 36px;
    font-weight: 700;
    color: #393b3d;
    margin-bottom: 60px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.clients-grid img {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.clients-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Partners Section */
.partners {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-content {
    padding: 0 40px;
}

.partners h2 {
    font-size: 48px;
    font-weight: 700;
    color: #393b3d;
    margin-bottom: 40px;
    line-height: 1.2;
}

.partners-logos {
    margin-bottom: 40px;
}

.partners-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    align-items: center;
}

.partners-row img {
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partners-row img:hover {
    opacity: 1;
}

.partners-image img {
    width: 100%;
    max-width: 500px;
}

/* Additional Services */
.additional-services {
    background: #f8f9fa;
    padding: 80px 0;
}

.additional-services h2 {
    font-size: 36px;
    font-weight: 700;
    color: #393b3d;
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item .service-icon {
    margin-bottom: 25px;
}

.service-item .service-icon i {
    font-size: 48px;
    color: #1bb7e2;
}

.service-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #393b3d;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

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

/* Blog Section */
.blog {
    background: white;
    padding: 80px 0;
}

.blog h2 {
    font-size: 36px;
    font-weight: 700;
    color: #393b3d;
    text-align: center;
    margin-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.blog-featured {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blog-featured img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #393b3d;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.blog-item-content {
    padding: 20px;
}

.blog-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #393b3d;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-access {
    align-self: center;
    margin-top: 20px;
}

/* History Section */
.history {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    padding: 80px 0;
}

.history-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 40px;
}

.history-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #393b3d;
    margin-bottom: 30px;
}

.history-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    background: white;
    padding: 80px 0;
}

.testimonials h2 {
    font-size: 36px;
    font-weight: 700;
    color: #393b3d;
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 30px;
}

.testimonial-item.active {
    display: block;
}

.testimonial-item p {
    font-size: 18px;
    color: #393b3d;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
}

.testimonial-author strong {
    display: block;
    color: #1bb7e2;
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 14px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.testimonial-nav button {
    background: #1bb7e2;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.testimonial-nav button:hover {
    background: #0ea1c7;
}

/* Contact Section */
.contact {
    background: #393b3d;
    color: white;
    padding: 80px 0;
}

.contact h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid #666;
    color: white;
    padding: 15px 0;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: #1bb7e2;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    margin-bottom: 30px;
    width: 100%;
    max-height: 200px;
    padding: 8px 0;
    transition: border-color 0.2s, height 0.2s;
    box-sizing: border-box;
}

.contact-form button {
    display: block;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.contact-item a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1bb7e2;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: #2c2e30;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 0 8px 0;
}

.footer-logo-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo-social > div:first-child {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #393b3d;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
}

.footer-logo p {
    color: #aaa;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    color: #1bb7e2;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background: #1bb7e2;
    color: #fff;
}

.footer-social i {
    font-size: 18px;
    line-height: 1;
    display: block;
}

.footer-social a img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #fff;
}

.footer-social a:hover img {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #aaa;
}

.footer-bottom a {
    color: #1bb7e2;
    text-decoration: none;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    right: 32px;
    bottom: 40px; 
    z-index: 1000;
    display: flex;
    align-items: center;
}

.chat-bubble {
    background: #1bb7e2;
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(27, 183, 226, 0.3);
    transition: transform 0.3s ease;
}

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

.chat-bubble img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    left: 32px;
    bottom: 40px;
    width: 56px;
    height: 56px;
    background: #393b3d;
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    opacity: 1;
}

.scroll-top:hover {
    background: #1bb7e2;
    color: #fff;
    box-shadow: 0 6px 24px rgba(27,183,226,0.18);
}

.scroll-top i {
    font-size: 28px;
    line-height: 1;
}

.scroll-top.visible {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .partners {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .service-content {
        padding: 0 20px;
    }

    .partners-content {
        padding: 0 20px;
    }

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

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .service-text h2 {
        font-size: 28px;
    }

    .partners h2 {
        font-size: 36px;
    }

    .chat-bubble span {
        display: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-section {
    animation: fadeInUp 0.8s ease-out;
}

.service-item:hover {
    animation: fadeInUp 0.3s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.btn-primary:disabled,
.btn-primary[disabled] {
    background: #555a5e;
    color: #bfc9d1;
    cursor: not-allowed;
    opacity: 0.6;
    border: none;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:focus,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #393b3d inset !important;
    box-shadow: 0 0 0 1000px #393b3d inset !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Linha azul quando o campo está em foco ou preenchido */
.contact-form input:focus,
.contact-form input:not(:placeholder-shown),
.contact-form textarea:focus,
.contact-form textarea:not(:placeholder-shown) {
    border-bottom: 2px solid #1ec0ff;
}

.history-container {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    flex-wrap: wrap;
}

.history-card .btn-primary {
    margin-top: 32px;
    padding: 10px 20px;
    font-size: 15px;
    min-width: unset;
    width: auto;
    box-sizing: border-box;
}

.history-title {
    width: 100%;
    text-align: center;
    margin-bottom: 32px;
}

.history-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.history-card {
    background: #f4f7fa;
    color: #333;
    border-radius: 12px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
    padding: 32px 32px 24px 32px;
    flex: 1 1 380px;
    min-width: 320px;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.history-card h2, .history-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-weight: 700;
    color: #222;
}

.history-card.destaque {
    background: #fff;
    border-left: 4px solid #1ec0ff;
}

.history-card.destaque ul {
    padding-left: 18px;
    margin: 0;
}

.history-card.destaque li {
    margin-bottom: 14px;
    font-size: 1.05rem;
    line-height: 1.5;
    list-style: disc;
}

@media (max-width: 900px) {
    .history-container {
        flex-direction: column;
        gap: 24px;
        padding: 24px 0;
    }
    .history-card {
        max-width: 100%;
    }
}