/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0672cb;
    --secondary-blue: #0558a3;
    --dark-text: #1a1a1a;
    --gray-text: #666;
    --white: #ffffff;
    --bg-gray: #f5f5f5;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

html,
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-hidden {
    transform: translateY(-100%);
}

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

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 55px;
    width: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0 auto;
    padding: 0;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    white-space: nowrap;
}

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

.nav-list a.active {
    color: var(--primary-blue);
}

.navbar > .nav-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.nav-list .nav-contact-btn {
    display: none;
}

.navbar > .nav-contact-btn:hover {
    background: #0558a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 114, 203, 0.3);
}

.navbar > .nav-contact-btn i {
    font-size: 16px;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
}

.menu-toggle i {
    font-size: 28px;
    color: var(--dark-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.menu-toggle .fa-bars {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: rotate(0deg);
}

.menu-toggle .fa-times {
    display: none !important;
    transform: rotate(-90deg);
}

.menu-toggle.active .fa-bars {
    display: none !important;
    opacity: 0;
    transform: rotate(90deg);
}

.menu-toggle.active .fa-times {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 32px;
    transform: rotate(0deg);
    animation: rotateIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-90deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes rotateOut {
    from {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
    to {
        opacity: 0;
        transform: rotate(90deg) scale(0.8);
    }
}

.menu-toggle:not(.active) .fa-times {
    animation: rotateOut 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero .container {
    max-width: 900px;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-title .highlight {
    color: var(--primary-blue);
}

.hero-description {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 35px;
    line-height: 1.8;
}


/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(6, 114, 203, 0.3);
}

.cta-button:hover {
    background: #0558a1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 114, 203, 0.4);
}

.cta-button-white {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-button-white:hover {
    background: #f0f0f0;
}

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

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-text);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.8;
}

/* Goals Section */
.goals-section {
    padding: 80px 0;
    background: var(--white);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.goal-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
    position: relative;
}

.goal-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 114, 203, 0.15);
}

.goal-number {
    font-size: 48px;
    font-weight: 700;
    color: #f0f0f0;
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.goal-icon {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.goal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.goal-description {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Success Cases */
.success-cases {
    padding: 80px 0;
    background: var(--bg-gray);
}

.separator {
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    margin: -30px auto 50px;
}

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

.case-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-gray);
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s;
}

.auto-center-image img {
    object-position: center 35%;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 30px;
}

.case-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.case-description {
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    background: none;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

.read-more-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.cases-cta {
    text-align: center;
    margin-top: 50px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 110px;
    gap: 40px;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    flex-shrink: 0;
}

.whatsapp-cta-btn:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-cta-btn i {
    font-size: 20px;
}

.cta-banner-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    flex: 1;
    text-align: center;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.services-section .container {
    max-width: 1400px;
}

.services-list {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
    transition: all 0.3s;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

/* Imagem com borda apenas para Micro Software */
.service-image.with-frame img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-content {
    flex: 1;
    min-width: 0;
}

.service-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-text);
    line-height: 1.3;
}

.service-title .highlight {
    color: var(--primary-blue);
}

.service-description {
    font-size: 19px;
    color: var(--gray-text);
    line-height: 1.8;
}

.services-cta {
    text-align: center;
    margin-top: 60px;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background: var(--bg-gray);
    overflow: hidden;
}

.clients-carousel {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: scrollLeft 45s linear infinite;
    will-change: transform;
}

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

.client-logo {
    min-width: 320px;
    width: 320px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.client-logo:hover {
    transform: scale(1.1);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.9;
    transition: all 0.3s;
}

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

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-320px * 11 - 60px * 11));
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-carousel {
    position: relative;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-wrapper {
    overflow: hidden;
    flex: 1;
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.testimonial-card {
    display: flex;
    gap: 40px;
    background: var(--bg-gray);
    border-radius: 15px;
    padding: 40px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-image {
    width: 400px;
    min-width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--white);
    flex-shrink: 0;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-slide:nth-child(1) .testimonial-image img {
    object-position: center 40%;
}

.testimonial-slide:nth-child(2) .testimonial-image img {
    object-position: center 30%;
}

.testimonial-slide:nth-child(3) .testimonial-image img {
    object-position: center 70%;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.testimonial-text {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-author {
    border-top: 2px solid #e0e0e0;
    padding-top: 20px;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.author-role {
    font-size: 15px;
    color: var(--primary-blue);
    font-weight: 600;
}

.carousel-btn {
    background: var(--primary-blue);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(6, 114, 203, 0.3);
}

.carousel-btn:hover {
    background: #0558a1;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 114, 203, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    background: #a0a0a0;
}

.dot.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 6px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0558a1 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr 1.2fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-company {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-cnpj {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-menu h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li {
    margin-bottom: 12px;
}

.footer-menu ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-menu ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: var(--white);
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 0;
    white-space: nowrap;
}

.footer-whatsapp-btn:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.footer-whatsapp-btn i {
    font-size: 18px;
}

.footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact p i {
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-address {
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.chat-button svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Contact Page */
.contact-main-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark-text);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 60px;
    padding-top: 120px;
}

.contact-main-title .highlight {
    color: var(--primary-blue);
}

/* Privacy Page */
.privacy-hero {
    background: var(--white);
    padding: 120px 0 40px;
    margin-top: 80px;
    border-bottom: none;
    position: relative;
}

.privacy-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: #d0d0d0;
}

.privacy-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark-text);
    text-align: left;
    line-height: 1.2;
    margin-bottom: 0;
}

.privacy-title .highlight {
    color: var(--primary-blue);
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.page-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

.contact-section {
    padding: 0 0 80px 0;
    margin-top: 80px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.contact-card:hover {
    border-color: var(--primary-blue);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 48px;
    color: var(--primary-blue);
    transition: all 0.3s;
}

.contact-card:hover .contact-icon {
    color: var(--secondary-blue);
}

.contact-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.contact-description {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.contact-button:hover,
.contact-button:visited:hover,
.contact-button:focus {
    background: var(--secondary-blue);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(6, 114, 203, 0.3);
}

.contact-button.whatsapp {
    background: #25d366;
}

.contact-button.whatsapp:hover,
.contact-button.whatsapp:visited:hover {
    background: #1fb855;
    color: var(--white) !important;
}

.contact-button i {
    font-size: 18px;
}

/* Case Study Page */
.case-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 120px 0 80px;
    color: var(--white);
}

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

.case-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.case-hero p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

.case-images-hero {
    padding: 100px 0 20px;
    margin-top: 80px;
    background: var(--white);
}

.hero-images-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.side-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 500px;
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.center-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    height: 600px;
}

.center-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.side-image:hover,
.center-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.case-content-section {
    padding: 60px 0 80px;
    background: var(--white);
}

.case-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
}

.case-content-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.case-content-wrapper h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--primary-blue);
}

.case-content-wrapper h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--dark-text);
}

.case-content-wrapper p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.case-content-wrapper ul {
    list-style: none;
    margin: 30px 0;
}

.case-content-wrapper ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-text);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.case-content-wrapper ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.case-cta {
    text-align: center;
    margin-top: 60px;
}

/* Babinho Case - Layout Específico */
/* Ajuste de Espaçamento - Auto Center e Babinho */
.babinho-hero {
    padding: 40px 0 40px; /* Reduzi de 120px para 40px */
    margin-top: 80px;
    background: var(--white);
}
.babinho-content-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 10px; /* Reduzi o espaço entre as fotos para ficarem mais juntas */ align-items: center; max-width: 1200px; margin: 0 auto; }

.babinho-side-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.babinho-side-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.babinho-side-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.babinho-center-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.babinho-center-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.babinho-center-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.babinho-video-wrapper .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.babinho-video-wrapper .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* =========================================
   MEDIA QUERIES (MOBILE E TABLET)
   ========================================= */

@media (max-width: 968px) {
    /* Ajustes Gerais Tablet */
    .hero-title,
    .section-title,
    .cta-title {
        font-size: 32px;
    }

    .goals-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-item {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-image {
        max-width: 100%;
        width: 100%;
    }

    .service-title {
        font-size: 22px;
    }

    .service-description {
        font-size: 15px;
    }

    /* Ajuste Carrossel Tablet */
    .testimonials-carousel {
        gap: 10px;
    }

    .testimonial-card {
        flex-direction: column;
        padding: 25px;
        gap: 25px;
    }

    .testimonial-image {
        width: 100%;
        min-width: 100%;
        height: 320px;
    }

    .testimonial-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .author-name {
        font-size: 18px;
    }

    .author-role {
        font-size: 14px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    /* --- HEADER E NAVEGAÇÃO --- */
    .header {
        padding: 15px 0;
        width: 100%;
    }

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }

    .navbar {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        z-index: 1002;
        flex-shrink: 0;
    }

    .logo img {
        height: 45px;
    }

    /* Botão Hambúrguer - FORÇAR VISIBILIDADE */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 1002;
        color: var(--dark-text);
        background: transparent;
        border: none;
        width: 40px;
        height: 40px;
        padding: 0;
        margin-left: auto;
    }

    .menu-toggle i {
        font-size: 26px;
    }

    /* Esconde botões desktop */
    .navbar > .nav-contact-btn {
        display: none;
    }

    /* Menu Dropdown */
    .nav-list {
    display: none;
    position: fixed; /* Fixa na tela */
    top: 80px; /* Altura exata do header para começar logo abaixo dele */
    left: 0;
    right: 0;
    bottom: 0; /* Vai até o final da tela */
    background: var(--white);
    flex-direction: column;
    padding: 40px 30px;
    
    /* A CORREÇÃO MÁGICA ESTÁ AQUI EMBAIXO: */
    z-index: 9999 !important; /* Garante que fique acima de TUDO */
    overflow-y: auto; /* Permite rolar se o menu for muito grande */
    height: calc(100vh - 80px); /* Ocupa toda a altura restante */
    border-top: 1px solid #eee; /* Uma linha sutil para separar do header */
}

    /* Animações do menu */
    @keyframes slideInMenu {
        from {
            opacity: 0;
            transform: translateX(100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideOutMenu {
        from {
            opacity: 1;
            transform: translateX(0);
        }
        to {
            opacity: 0;
            transform: translateX(100%);
        }
    }

    @keyframes fadeInMenuItem {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

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

    .nav-list.active {
        display: flex;
        position: fixed;
        overflow: hidden;
        animation: slideInMenu 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .nav-list.closing {
        display: flex;
        animation: slideOutMenu 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .nav-list.closing li {
        animation: fadeOutMenuItem 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    /* Animação de saída escalonada invertida */
    .nav-list.closing li:nth-child(1) { animation-delay: 0s; }
    .nav-list.closing li:nth-child(2) { animation-delay: 0.02s; }
    .nav-list.closing li:nth-child(3) { animation-delay: 0.04s; }
    .nav-list.closing li:nth-child(4) { animation-delay: 0.06s; }
    .nav-list.closing li:nth-child(5) { animation-delay: 0.08s; }
    .nav-list.closing li:nth-child(6) { animation-delay: 0.1s; }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #e8e8e8;
        opacity: 0;
        animation: fadeInMenuItem 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    /* Animação escalonada para cada item */
    .nav-list.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-list.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-list.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-list.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-list.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-list.active li:nth-child(6) { animation-delay: 0.35s; }

    .nav-list li a {
        display: block;
        padding: 20px 0;
        font-size: 17px;
        font-weight: 600;
        color: var(--dark-text);
        transition: all 0.3s ease;
        position: relative;
        padding-left: 0;
    }

    .nav-list li a:hover {
        color: var(--primary-blue);
        padding-left: 10px;
    }

    .nav-list li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background: var(--primary-blue);
        transition: width 0.3s ease;
    }

    .nav-list li a:hover::before {
        width: 30px;
        margin-right: 10px;
    }

    .nav-list li:last-child {
        margin-top: 30px;
        padding-top: 0;
        border-bottom: none;
    }

    .nav-list .nav-contact-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
        width: 100%;
        font-size: 16px;
        padding: 18px 40px;
        border-radius: 50px;
        background: var(--primary-blue);
        color: var(--white);
        font-weight: 700;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-list .nav-contact-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .nav-list .nav-contact-btn:hover::before {
        width: 300px;
        height: 300px;
    }

    .nav-list .nav-contact-btn i {
        font-size: 18px;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }

    .nav-list .nav-contact-btn:hover {
        background: #0558a1;
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(6, 114, 203, 0.4);
    }

    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Overlay escuro quando menu está aberto */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(2px);
        z-index: 999;
        animation: fadeInOverlay 0.3s ease forwards;
    }

    @keyframes fadeInOverlay {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes fadeOutOverlay {
        from {
            opacity: 1;
        }
        to {
            opacity: 0;
        }
    }

    body.menu-closing::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(2px);
        z-index: 999;
        animation: fadeOutOverlay 0.25s ease forwards;
    }

    /* Quando o menu está aberto, garantir que o header está sempre visível */
    body.menu-open .header {
        transform: translateY(0) !important;
    }

    body.menu-open .header-hidden {
        transform: translateY(0) !important;
    }

    /* --- CONTEÚDO DA PÁGINA --- */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .cases-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Ajuste específico Case Snick */
    .hero-images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .side-image {
        display: none;
    }

    .center-image {
        height: 300px;
    }

    /* Ajuste Depoimentos Mobile */
    .testimonials-carousel {
        flex-direction: column;
        gap: 20px;
    }

    .carousel-btn {
        display: none;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-image {
        height: 280px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .testimonial-dots {
        margin-top: 20px;
    }

    /* Serviços */
    .services-section {
        padding: 70px 0;
    }

    .services-list {
        gap: 60px;
    }

    .service-item {
        flex-direction: column;
        padding: 35px 0;
        gap: 35px;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service-title {
        font-size: 30px; /* Aumentado para 30px */
    }

    .service-description {
        font-size: 18px; /* Aumentado para 18px */
    }

    /* Widget WhatsApp */
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-button {
        width: 50px;
        height: 50px;
    }

    .chat-button svg {
        width: 28px;
        height: 28px;
    }

    /* Títulos Páginas */
    .contact-title,
    .privacy-title {
        font-size: 36px;
    }

    /* Babinho Mobile */
    .babinho-hero {
        padding: 20px 0 1px;
        transform: translateY(-px);

    }

    .babinho-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .babinho-side-image {
        display: none;
    }

    .babinho-center-image {
        grid-column: 1 !important;
    }

    .babinho-center-image img {
        max-height: 300px;
    }

    /* CTA Banner Mobile */
    .cta-banner-content {
        flex-direction: column;
        padding: 30px 20px;
        gap: 25px;
        text-align: center;
    }

    .cta-banner-title {
        font-size: 28px;
        order: 1;
    }

    .whatsapp-cta-btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
        font-size: 15px;
        padding: 14px 28px;
        order: 2;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

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

    .footer-menu ul li a {
        font-size: 15px;
    }

    .footer-contact p {
        justify-content: center;
    }

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

    .footer-whatsapp-btn {
        transform: none !important;
    }
}

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

    .hero-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-title {
        font-size: 28px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }
}

/* --- CORREÇÃO DA IMAGEM PRINCIPAL (AUTO CENTER) --- */

/* Estilo Base (Desktop) */
.babinho-center-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 500px;
    grid-column: 2; /* Mantém no centro do grid no PC */
}

.babinho-center-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Regra Mágica para o Mobile */
@media (max-width: 968px) {
    /* 1. Conserta a Imagem Principal */
    .babinho-center-image {
        display: block !important;
        width: 100%;
        height: 300px;
        /* O !important aqui é OBRIGATÓRIO para vencer o style inline do HTML */
        grid-column: 1 !important; 
        margin: 0 auto 20px auto; /* Centraliza e dá espaço embaixo */
    }
/* 2. Remove espaço em branco entre Imagem e Texto */
.babinho-hero {
    padding-bottom: 0 !important; /* Remove espaço de baixo da imagem */
}
.case-content-section { padding-top: 30px !important; /* Sobe o texto para perto da imagem */ }

/* Garante que o grid fique em 1 coluna */
.babinho-content-grid {
    display: flex;
    flex-direction: column;
}
}

/* =========================================
   CORREÇÃO VÍDEO BABINHO (DESKTOP E MOBILE)
   ========================================= */

/* 1. Estilo Geral (Desktop) */
.babinho-center-video {
    grid-column: 2; /* Fica no centro */
    width: 100%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* =========================================
   AJUSTE FINAL: VÍDEO VERTICAL (SHORTS) NO MOBILE
   ========================================= */

/* =========================================
   AJUSTE FINAL: APENAS VÍDEO VERTICAL NO MOBILE
   ========================================= */

@media (max-width: 968px) {
    /* 1. Organização do Grid */
    .babinho-content-grid {
        display: block !important; /* Remove o grid */
    }

    /* 2. Configuração do Vídeo (Shorts Vertical) */
    .babinho-center-video {
        width: 100% !important;
        display: block !important;
        margin-bottom: 0;
    }

    /* Proporção Vertical (9:16) para Shorts */
    .babinho-center-video .video-container {
        position: relative;
        width: 100%;
        padding-bottom: 177.77% !important; 
        height: 0;
    }
    
    .babinho-center-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 15px;
    }

    /* 3. ESCONDER AS IMAGENS LATERAIS */
    .babinho-side-image {
        display: none !important;
    }
}