/*==================== VARIABLES CSS ====================*/
:root {
    /* Cores - Azul Facebook e Cinza Escuro */
    --primary-color: #1877F2;
    --primary-dark: #166FE5;
    --primary-light: #42A5F5;
    --secondary-color: #2C3E50;
    --dark-color: #1A1A1A;
    --dark-gray: #2D2D2D;
    --medium-gray: #4A4A4A;
    --light-gray: #E0E0E0;
    --white-color: #FFFFFF;
    --text-color: #333333;
    --text-light: #666666;
    
    /* Tipografia */
    --body-font: 'Inter', sans-serif;
    --title-font: 'Poppins', sans-serif;
    
    /* Tamanhos */
    --header-height: 4.5rem;
    --font-size-h1: 3rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 1.75rem;
    
    /* Espaçamentos */
    --mb-1: 0.5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 3rem;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    /* Transições */
    --transition: all 0.3s ease;
}

/*==================== BASE ====================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--title-font);
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--body-font);
}

/*==================== REUSABLE CSS CLASSES ====================*/
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.section {
    padding: 5rem 0 2rem;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--mb-1);
}

.section__title {
    font-size: var(--font-size-h2);
    margin-bottom: var(--mb-2);
    color: var(--dark-color);
}

.section__description {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/*==================== BUTTONS ====================*/
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.button--primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: var(--shadow-md);
}

.button--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.button--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/*==================== HEADER & NAV ====================*/
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark-color);
}

.nav__logo-img {
    height: 40px;
    width: auto;
}

.nav__logo-text {
    font-family: var(--title-font);
}

.nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white-color);
    padding: 5rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.nav__menu.show-menu {
    right: 0;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nav__link {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link.active-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav__toggle,
.nav__close {
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.nav__toggle:hover,
.nav__close:hover {
    color: var(--primary-color);
}

/*==================== HOME ====================*/
.home {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.home__container {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.home__data {
    text-align: center;
}

.home__title {
    font-size: var(--font-size-h1);
    margin-bottom: var(--mb-2);
    line-height: 1.2;
}

.home__title-highlight {
    color: var(--primary-color);
    position: relative;
}

.home__title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    animation: underline-glow 2s ease-in-out infinite;
}

@keyframes underline-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.home__description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--mb-4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.home__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/*==================== ROBOT ANIMATION ====================*/
.robot-animation {
    position: relative;
    width: 300px;
    height: 400px;
}

.robot-body {
    position: relative;
    width: 200px;
    height: 300px;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Robot Head */
.robot-head {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px 20px 10px 10px;
    margin: 0 auto 1rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: head-pulse 2s ease-in-out infinite;
}

@keyframes head-pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(24, 119, 242, 0.6); }
}

.robot-eye {
    width: 20px;
    height: 20px;
    background-color: var(--white-color);
    border-radius: 50%;
    position: absolute;
    top: 30px;
    animation: eye-blink 3s ease-in-out infinite;
}

.robot-eye-left {
    left: 25px;
}

.robot-eye-right {
    right: 25px;
}

@keyframes eye-blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

.robot-mouth {
    width: 40px;
    height: 8px;
    background-color: var(--white-color);
    border-radius: 0 0 20px 20px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouth-move 2s ease-in-out infinite;
}

@keyframes mouth-move {
    0%, 100% { width: 40px; }
    50% { width: 60px; }
}

/* Robot Torso */
.robot-torso {
    width: 160px;
    height: 180px;
    background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.robot-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
}

.data-flow {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: data-flow-anim 2s linear infinite;
}

.data-flow-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.data-flow-2 {
    top: 50%;
    left: 50%;
    animation-delay: 0.7s;
}

.data-flow-3 {
    top: 80%;
    right: 20%;
    animation-delay: 1.4s;
}

@keyframes data-flow-anim {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(30px, 30px) scale(1.5);
        opacity: 0;
    }
}

/* Robot Arms */
.robot-arms {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.robot-arm {
    width: 15px;
    height: 80px;
    background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
    border-radius: 10px;
    position: relative;
    animation: arm-swing 2s ease-in-out infinite;
}

.robot-arm-left {
    animation-delay: 0s;
}

.robot-arm-right {
    animation-delay: 1s;
}

@keyframes arm-swing {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}

/* Data Particles */
.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 0.8s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 2.4s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 3.2s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(30px, -30px) scale(1.5);
        opacity: 1;
    }
}

/*==================== ABOUT ====================*/
.about__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about__card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.about__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.about__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-2);
    font-size: 2rem;
    color: var(--white-color);
    box-shadow: var(--shadow-md);
    animation: icon-pulse 3s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.about__title {
    font-size: var(--font-size-h3);
    margin-bottom: var(--mb-1);
    color: var(--dark-color);
}

.about__description {
    color: var(--text-light);
    line-height: 1.6;
}

/*==================== SOLUTIONS ====================*/
.solutions {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.solutions__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solutions__card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solutions__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.solutions__card:hover::before {
    transform: scaleX(1);
}

.solutions__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.solutions__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--mb-3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solutions__icon i {
    font-size: 3rem;
    color: var(--primary-color);
    z-index: 2;
    position: relative;
}

/* Automation Icon */
.automation-icon {
    position: relative;
    width: 100%;
    height: 100%;
}

.gear {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.gear-1 {
    transform: translate(-50%, -50%) rotate(0deg);
    animation: gear-rotate 3s linear infinite;
}

.gear-2 {
    transform: translate(-30%, -70%) rotate(0deg);
    animation: gear-rotate 3s linear infinite reverse;
    width: 30px;
    height: 30px;
}

.gear-3 {
    transform: translate(-70%, -30%) rotate(0deg);
    animation: gear-rotate 2s linear infinite;
    width: 25px;
    height: 25px;
}

@keyframes gear-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* RPA Icon */
.rpa-icon {
    position: relative;
    width: 100%;
    height: 100%;
}

.rpa-flow {
    position: absolute;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    top: 50%;
    left: 10%;
    animation: flow-anim 2s linear infinite;
}

@keyframes flow-anim {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* AI Icon */
.ai-icon {
    position: relative;
    width: 100%;
    height: 100%;
}

.ai-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    top: 0;
    left: 0;
    animation: ai-pulse-anim 2s ease-out infinite;
}

@keyframes ai-pulse-anim {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Integration Icon */
.integration-icon {
    position: relative;
    width: 100%;
    height: 100%;
}

.connection-line {
    position: absolute;
    width: 60%;
    height: 2px;
    background-color: var(--primary-color);
    top: 50%;
    left: 20%;
    animation: connection-pulse 2s ease-in-out infinite;
}

.connection-line::before,
.connection-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.connection-line::before {
    left: -4px;
}

.connection-line::after {
    right: -4px;
}

@keyframes connection-pulse {
    0%, 100% { opacity: 0.5; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

.solutions__title {
    font-size: var(--font-size-h3);
    margin-bottom: var(--mb-1);
    color: var(--dark-color);
}

.solutions__description {
    color: var(--text-light);
    margin-bottom: var(--mb-2);
    line-height: 1.6;
}

.solutions__features {
    list-style: none;
    padding: 0;
}

.solutions__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.solutions__features i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

/*==================== BENEFITS ====================*/
.benefits {
    background-color: var(--dark-color);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.benefits .container {
    max-width: 100%;
    overflow-x: hidden;
}

.benefits .section__title,
.benefits .section__subtitle {
    color: var(--white-color);
}

.benefits__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
}

.benefits__content {
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.benefits__description {
    color: var(--light-gray);
    margin-bottom: var(--mb-4);
}

.benefits__list {
    display: grid;
    gap: 2rem;
}

.benefits__item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 100%;
    padding: 0 1rem;
}

.benefits__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white-color);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.benefits__text h3 {
    color: var(--white-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.benefits__text p {
    color: var(--light-gray);
}

.benefits__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Stats Animation */
.stats-animation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    animation: stat-pulse 3s ease-in-out infinite;
    min-width: 0;
    width: 100%;
}

@keyframes stat-pulse {
    0%, 100% { border-color: var(--primary-color); }
    50% { border-color: var(--primary-light); }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--title-font);
}

@media screen and (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

.stat-label {
    color: var(--light-gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*==================== CONTACT ====================*/
.contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact__card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-2);
    font-size: 1.5rem;
    color: var(--white-color);
}

.contact__group-logo {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.contact__title {
    font-size: 1.125rem;
    margin-bottom: var(--mb-1);
    color: var(--dark-color);
}

.contact__data {
    color: var(--text-light);
    font-size: 0.875rem;
}

.contact__form {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact__form-group {
    margin-bottom: var(--mb-2);
}

.contact__form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white-color);
}

.contact__form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

.contact__form-input.is-invalid {
    border-color: #f44336;
}

.contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
    cursor: pointer;
}

.contact__form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.contact__form-checkbox.is-invalid {
    color: #f44336;
}

.contact__form-button {
    width: 100%;
    justify-content: center;
    margin-top: var(--mb-2);
}

.contact__form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: var(--mb-2);
    font-size: 0.875rem;
}

.contact__form-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact__form-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/*==================== FOOTER ====================*/
.footer {
    background-color: var(--dark-color);
    color: var(--light-gray);
    padding: 3rem 0 1rem;
}

.footer__container {
    gap: 3rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--mb-1);
}

.footer__logo-img {
    height: 40px;
    width: auto;
}

.footer__logo-text {
    font-family: var(--title-font);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white-color);
}

.footer__description {
    color: var(--light-gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer__title {
    color: var(--white-color);
    font-size: 1.125rem;
    margin-bottom: var(--mb-1);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: var(--light-gray);
    transition: var(--transition);
    font-size: 0.875rem;
}

.footer__link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--light-gray);
}

.footer__contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer__newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: var(--mb-1);
}

.footer__newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    background-color: var(--dark-gray);
    color: var(--white-color);
    font-size: 0.875rem;
}

.footer__newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer__newsletter-input::placeholder {
    color: var(--light-gray);
}

.footer__newsletter-button {
    padding: 0.75rem 1.25rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.footer__newsletter-button:hover {
    background-color: var(--primary-dark);
}

.footer__newsletter-message {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.footer__newsletter-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

.footer__newsletter-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

.footer__copy {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    color: var(--light-gray);
    font-size: 0.875rem;
}

/*==================== SCROLL UP ====================*/
.scrollup {
    position: fixed;
    right: 2rem;
    bottom: -20%;
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 998;
}


.scrollup:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/*==================== ANIMATIONS ====================*/
.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================== RESPONSIVE ====================*/
@media screen and (min-width: 768px) {
    .nav__menu {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
    }

    .nav__list {
        flex-direction: row;
        gap: 2rem;
    }

    .nav__toggle,
    .nav__close {
        display: none;
    }

    .home__container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .home__data {
        text-align: left;
    }

    .home__title {
        font-size: 3.5rem;
    }

    .home__buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .contact__container {
        grid-template-columns: 1fr 1.5fr;
    }

    .benefits__container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .stats-animation {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .home__title {
        font-size: 4rem;
    }

    .section__title {
        font-size: 3rem;
    }

    .robot-animation {
        width: 400px;
        height: 500px;
    }

    .robot-body {
        width: 250px;
        height: 380px;
    }
}

/*==================== WHATSAPP BUTTON ====================*/
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    animation: whatsapp-bounce 2s ease-in-out infinite;
}

.scrollup.show-scroll {
    bottom: 9rem; /* Ajuste para não sobrepor o WhatsApp */
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button__icon {
    color: var(--white-color);
    font-size: 2rem;
    z-index: 2;
    position: relative;
}

.whatsapp-button__pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-button__tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.whatsapp-button__tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--dark-color);
}

.whatsapp-button:hover .whatsapp-button__tooltip {
    opacity: 1;
    right: 75px;
}

/*==================== ADDITIONAL ANIMATIONS ====================*/
/* Floating animation for cards */
@keyframes float-card {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.about__card:nth-child(1) {
    animation: float-card 6s ease-in-out infinite;
    animation-delay: 0s;
}

.about__card:nth-child(2) {
    animation: float-card 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

.about__card:nth-child(3) {
    animation: float-card 6s ease-in-out infinite;
    animation-delay: 3s;
}

.about__card:nth-child(4) {
    animation: float-card 6s ease-in-out infinite;
    animation-delay: 4.5s;
}

/* Glow animation for icons */
@keyframes icon-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(24, 119, 242, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(24, 119, 242, 0.6);
    }
}

.about__icon:hover {
    animation: icon-glow 2s ease-in-out infinite;
}

/* Shimmer effect for buttons */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.button--primary:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

/* Rotating gradient for solution cards */
.solutions__card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light), var(--primary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
    animation: rotate-gradient 3s linear infinite;
}

.solutions__card:hover::after {
    opacity: 1;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Data stream animation */
@keyframes data-stream {
    0% {
        transform: translateX(-100%) translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(0);
        opacity: 0;
    }
}

.robot-torso::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    top: 20%;
    animation: data-stream 3s ease-in-out infinite;
}

.robot-torso::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    bottom: 20%;
    animation: data-stream 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Particle trail animation */
@keyframes particle-trail {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx, 100px), var(--ty, -100px)) scale(1);
        opacity: 0;
    }
}

.particle:nth-child(1) {
    --tx: 80px;
    --ty: -60px;
}

.particle:nth-child(2) {
    --tx: -60px;
    --ty: 80px;
}

.particle:nth-child(3) {
    --tx: 60px;
    --ty: 80px;
}

.particle:nth-child(4) {
    --tx: -80px;
    --ty: -60px;
}

.particle:nth-child(5) {
    --tx: 0px;
    --ty: -100px;
}

/* Enhanced gear animation */
@keyframes gear-rotate-enhanced {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.gear-1::before,
.gear-2::before,
.gear-3::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    opacity: 0.5;
    animation: gear-rotate-enhanced 3s linear infinite reverse;
}

/* Ripple effect for contact cards */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.contact__card:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(24, 119, 242, 0.3);
    transform: translate(-50%, -50%);
    animation: ripple 1s ease-out;
}

/* Matrix-style background for benefits section */
.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(24, 119, 242, 0.03) 2px, rgba(24, 119, 242, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(24, 119, 242, 0.03) 2px, rgba(24, 119, 242, 0.03) 4px);
    pointer-events: none;
    animation: matrix-shift 20s linear infinite;
}

@keyframes matrix-shift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Responsive WhatsApp button */
@media screen and (max-width: 768px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-button__icon {
        font-size: 1.75rem;
    }

    .whatsapp-button__tooltip {
        display: none;
    }
}

/*==================== RESPONSIVE MOBILE - BENEFITS ====================*/
@media screen and (max-width: 767px) {
    .benefits__container {
        gap: 2rem;
        padding: 0 1rem;
    }

    .benefits__content {
        text-align: center;
        padding: 0;
    }

    .benefits__description {
        text-align: center;
        padding: 0 0.5rem;
    }

    .benefits__list {
        gap: 1.5rem;
        padding: 0;
        width: 100%;
    }

    .benefits__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
        max-width: 100%;
        width: 100%;
    }

    .benefits__icon {
        margin: 0 auto;
    }

    .benefits__text {
        text-align: center;
        width: 100%;
    }

    .benefits__text h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .benefits__text p {
        font-size: 0.875rem;
    }

    .benefits__visual {
        width: 100%;
        padding: 0 1rem;
        margin-top: 2rem;
    }

    .stats-animation {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .stat-card {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
    .stats-animation {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

