/* ===== VARIABLES ===== */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #6366F1;
    --secondary-color: #10B981;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-dark: #111827;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 40px;
}

.nav__logo {
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav__menu {
    flex: 1;
}

.nav__list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__buttons {
    display: flex;
    gap: 15px;
}

.nav__item--mobile-only {
    display: none;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(103, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    animation: fadeInUp 0.8s ease;
}

.hero__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(79, 70, 229, 0.2);
    z-index: -1;
}

.hero__description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero__automation {
    margin-bottom: 30px;
}

.hero__automation-text {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.6;
}

.hero__automation-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero__stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat__label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.hero__image-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

.hero__img {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* ===== SECTIONS ===== */
.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section__title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    position: relative;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.step__number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step__icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.step__icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.step__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step__description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== BENEFITS ===== */
.benefits {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-card__icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-card__icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.benefit-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card__description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features__list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.feature-item__icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item__content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-item__content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.features__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.features__image-placeholder {
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    border-radius: 15px;
    overflow: hidden;
}

.features__image-placeholder svg {
    width: 100%;
    height: auto;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
}

.video__container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.video__container>* {
    align-self: start;
}

.video__wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

@media (max-width: 768px) {
    .video__wrapper {
        max-width: 100%;
    }
}

.video__player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}

.video__info {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    align-self: start;
}

.video__info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.video__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video__features li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-secondary);
}

.video__features li svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.video__features li span {
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta__description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: var(--bg-secondary);
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact__form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form__group--full {
    grid-column: 1 / -1;
}

.form__group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form__group input,
.form__group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.contact__form button {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact__card-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact__card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contact__card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact__card p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--primary-light);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__title {
        font-size: 42px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features__content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact__content {
        grid-template-columns: 1fr;
    }

    .video__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .nav {
        padding: 15px 10px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .nav__logo {
        flex-shrink: 0;
    }

    .logo-img {
        max-height: 35px;
        width: auto;
    }

    .nav__buttons {
        display: none;
    }

    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        padding: 30px 20px;
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 20px;
    }

    .nav__item--mobile-only {
        display: block;
        margin-top: 10px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    .nav__item--mobile-only .btn {
        width: 100%;
        text-align: center;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__description {
        font-size: 18px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .section__title {
        font-size: 32px;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .contact__form {
        grid-template-columns: 1fr;
    }

    .video__container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .video__wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .video__player {
        width: 100%;
        max-width: 100%;
    }

    .video__info {
        padding: 20px 15px;
    }

    .video__info h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .video__features {
        gap: 12px;
    }

    .video__features li {
        font-size: 13px;
        gap: 10px;
    }

    .video__features li svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .footer__content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .section__title {
        font-size: 28px;
    }

    .cta__title {
        font-size: 28px;
    }

    .btn {
        width: 100%;
    }

    .video-section {
        padding: 40px 0;
    }

    .video__container {
        gap: 20px;
    }

    .video__wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .video__player {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .video__info {
        padding: 18px 12px;
    }

    .video__info h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .video__features {
        gap: 10px;
    }

    .video__features li {
        font-size: 12px;
        gap: 8px;
        line-height: 1.4;
    }

    .video__features li svg {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }

    .video__features li span {
        font-size: 12px;
    }
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Alterado para a esquerda para não sobrepor o scroll-top se existisse, mas o usuário pediu direita */
    /* Ops, o usuário pediu DIREITA. Vamos ajustar. */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* Ajuste para não sobrepor o botão scroll-top se estiverem do mesmo lado */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

/* ===== LAUNCH OVERLAY ===== */
.launch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.98) 0%, rgba(79, 70, 229, 0.95) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.launch-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

.launch-overlay__content {
    max-width: 700px;
    text-align: center;
    color: white;
    animation: fadeInUp 0.8s ease;
}

.launch-overlay__badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.launch-overlay__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.launch-overlay__text {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.launch-overlay__text strong {
    color: white;
    border-bottom: 2px solid var(--secondary-color);
}

.launch-overlay__buttons .btn {
    padding: 18px 45px;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .launch-overlay__title {
        font-size: 32px;
    }

    .launch-overlay__text {
        font-size: 16px;
    }
}