/* ==========================================
   OCliente Landing Page - Styles
   ========================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #115ba4;
    --primary-hover: #03407e;
    --primary-light: rgba(17, 91, 164, 0.1);
    --primary-glow: rgba(17, 91, 164, 0.4);

    /* Background */
    --bg-primary: #0f1419;
    --bg-secondary: #1b1f28;
    --bg-card: #21262d;
    --bg-input: #343844;

    /* Text */
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;

    /* Borders */
    --border-color: #30363d;
    --border-light: #4a5568;

    /* Status */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ec4899;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #115ba4 0%, #1e90ff 100%);
    --gradient-hero: linear-gradient(180deg, #0f1419 0%, #1b1f28 100%);

    /* Spacing */
    --section-spacing: 100px;
    --container-padding: 24px;

    /* Transitions */
    --transition: all 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px var(--primary-glow);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(17, 91, 164, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 91, 164, 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn--outline:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid transparent;
}

.btn--ghost:hover {
    background: var(--bg-card);
}

.btn--white {
    background: white;
    color: var(--primary);
}

.btn--white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn--outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn--large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn--block {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav__logo img {
    height: 36px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav__link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary);
}

.nav__buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__content {
    max-width: 600px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(17, 91, 164, 0.3);
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero__trust {
    display: flex;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero__trust-item i {
    color: var(--success);
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: auto;
}

/* Section Header */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Segmentos Section */
.segmentos {
    padding: var(--section-spacing) 0;
    background: var(--bg-secondary);
}

.segmentos__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.segmento__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    text-align: center;
    min-width: 140px;
    flex: 0 0 auto;
}

.segmento__card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.segmento__card i {
    font-size: 2rem;
    color: var(--primary);
}

.segmento__card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Recursos Section */
.recursos {
    padding: var(--section-spacing) 0;
    background: var(--bg-primary);
}

.recursos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.recurso__card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.recurso__card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.recurso__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 12px;
    margin-bottom: 20px;
}

.recurso__icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.recurso__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.recurso__description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Preços Section */
.precos {
    padding: var(--section-spacing) 0;
    background: var(--bg-secondary);
}

.precos__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle {
    position: relative;
    width: 56px;
    height: 28px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-input);
    border-radius: 50px;
    transition: var(--transition);
}

.toggle__slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle input:checked+.toggle__slider {
    background: var(--primary);
}

.toggle input:checked+.toggle__slider::before {
    transform: translateX(28px);
}

.toggle__label {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.toggle__label--active {
    color: var(--text-primary);
}

.toggle__badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--success);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-left: 8px;
}

.precos__grid {
    display: flex;
    justify-content: center;
}

.preco__card {
    position: relative;
    max-width: 420px;
    width: 100%;
    padding: 40px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
}

.preco__card--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.preco__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
}

.preco__name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 16px;
}

.preco__description {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.preco__value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.preco__currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.preco__amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.preco__period {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.preco__billing {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.preco__features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.preco__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.preco__features li:last-child {
    border-bottom: none;
}

.preco__features i {
    color: var(--success);
}

.preco__trial {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Depoimentos Section */
.depoimentos {
    padding: var(--section-spacing) 0;
    background: var(--bg-primary);
}

.depoimentos__carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

.depoimentos__carousel::-webkit-scrollbar {
    display: none;
}

.depoimento__card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 340px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    scroll-snap-align: start;
    transition: var(--transition);
}

.depoimento__card:hover {
    border-color: var(--primary);
}

.depoimento__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.depoimento__stars i {
    color: var(--warning);
    font-size: 1rem;
}

.depoimento__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.depoimento__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.depoimento__avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
}

.depoimento__avatar i {
    color: var(--primary);
    font-size: 1.25rem;
}

.depoimento__name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.depoimento__role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.depoimentos__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* CTA Section */
.cta {
    padding: var(--section-spacing) 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta__content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta__description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer__tagline {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.social__link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social__link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer__links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--primary);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.75rem;
    }

    .recursos__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .segmentos__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        gap: 16px;
    }

    .nav__buttons {
        display: none;
    }

    .nav__toggle {
        display: block;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__trust {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__image {
        order: -1;
    }

    .section__title {
        font-size: 2rem;
    }

    .segmentos__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recursos__grid {
        grid-template-columns: 1fr;
    }

    .depoimento__card {
        flex: 0 0 calc(100% - 48px);
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.85rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .segmentos__grid {
        grid-template-columns: 1fr;
    }

    .btn--large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .preco__card {
        padding: 24px;
    }

    .preco__amount {
        font-size: 3rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__content,
.hero__image {
    animation: fadeInUp 0.8s ease forwards;
}

.hero__image {
    animation-delay: 0.2s;
}

/* Preços Grid 3 columns */
.precos__grid--3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-content: center;
}

.preco__value--enterprise {
    padding: 20px 0;
}

.preco__enterprise-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.precos__nota {
    text-align: center;
    margin-top: 32px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.precos__nota i {
    color: var(--primary);
    margin-right: 8px;
}

.preco__per-user {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.preco__implantacao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--primary-light);
    border-radius: 8px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.preco__implantacao i {
    font-size: 1rem;
}

.preco__implantacao--destaque {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}


/* Integrações Section */
.integracoes {
    padding: var(--section-spacing) 0;
    background: var(--bg-primary);
}

.integracoes__legenda {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.legenda__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legenda__badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
}

.legenda__badge--gratis {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.legenda__badge--mensal {
    background: rgba(17, 91, 164, 0.15);
    color: var(--primary);
}

.legenda__badge--consumo {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.integracoes__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.integracao__card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.integracao__card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.integracao__logo-container {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.integracao__logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.integracao__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.integracao__name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.integracao__tipo {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.integracao__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
}

.integracao__badge {
    margin-top: 16px;
    align-self: flex-start;
}

.integracao__icon {
    font-size: 72px;
    color: #21759b;
}

/* Responsive for Precos 3 cols */
@media (max-width: 1024px) {
    .precos__grid--3cols {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .integracoes__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .integracoes__grid {
        grid-template-columns: 1fr;
    }

    .integracoes__legenda {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}