/* OCTACODE brand layer */
:root{--octa-purple:#8b5cf6;--octa-lilac:#c4a5ff;--octa-deep:#241033;}
.octa-brand{display:inline-flex;align-items:center;gap:9px;letter-spacing:0;text-decoration:none!important;}
.octa-brand img{width:43px;height:43px;object-fit:contain;display:block;}
.octa-wordmark{display:flex;align-items:baseline;font-family:'Outfit',sans-serif;font-size:27px;font-weight:650;letter-spacing:-1.7px;line-height:1;}
.octa-wordmark span:first-child{color:#21152d;}
.octa-wordmark span:last-child{background:linear-gradient(100deg,#9b63ed 0%,#7650df 55%,#5c8be9 100%);-webkit-background-clip:text;background-clip:text;color:transparent;}

.brand-footer .octa-wordmark{font-size:25px;}
.brand-footer img{width:39px;height:39px;}
.hero h1 em,.section-heading h2 em,.intro h2 em,.segments h2 em,.contact h2 em,.manifesto h2 em{color:#8b63d9;}
.eyebrow i{background:#9a6bea;}
.proof-avatars b{background:#eee5fb;color:#6542a2;}
.proof-avatars b:nth-child(2){background:#e5ddf5;}
.proof-avatars b:nth-child(3){background:#dfe7fa;}
.card-arrow,.solution-icon,.solution-card>a b,.segment-list b{color:#8760d1;}
.solution-card.featured{background:#f0eafb;border-color:#e6dcf7;}
.solution-last .last-mark{color:#c2a2ff;}
.manifesto h2 em{color:#c4a5ff;}
.contact-label{color:#c4a5ff;}
.button-light{background:#c4a5ff;color:#241033;}
.button-dark span{color:#c4a5ff;}
.nav-cta{background:#28143a;}
.nav-cta span{color:#c4a5ff;}
@media(max-width:767px){.octa-brand img{width:38px;height:38px}.octa-wordmark{font-size:24px}.brand-footer .octa-wordmark{font-size:23px;}}

/* OCTACODE - HERO CAROUSEL */
.hero-carousel {
    position: relative;
    z-index: 2;
}

.hero-slides {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.hero-slide {
    grid-area: 1 / 1;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(28px);
    transition: opacity .65s ease, transform .65s ease, visibility .65s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 1;
}

.hero-slide .hero-grid {
    width: 100%;
}

.hero-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-top: 10px;
    position: relative;
}

.hero-arrow {
    width: 35px;
    height: 35px;
    border: 1px solid #ded6eb;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
    color: #67439d;
    font-size: 17px;
    cursor: pointer;
    transition: .25s;
}

.hero-arrow:hover {
    background: #28143a;
    color: #fff;
    border-color: #28143a;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #cfc4df;
    cursor: pointer;
    transition: width .3s, background .3s;
}

.hero-dot.active {
    width: 24px;
    background: #8b63d9;
}

.hero-counter {
    position: absolute;
    right: 0;
    font-size: 10px;
    letter-spacing: .12em;
    color: #999;
}

.hero-counter b {
    color: #67439d;
}

.hero-bars {
    height: 72px;
    display: flex;
    align-items: end;
    gap: 9px;
    padding: 8px 12px;
    background: #fff;
    border-radius: 5px;
    margin: 8px 0;
}

.hero-bars i {
    flex: 1;
    display: block;
    min-height: 8px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg,#b99be9,#7951bd);
}

.custom-welcome {
    background: linear-gradient(120deg,#eee6fa,#f8f5fc);
    padding: 13px;
    border-radius: 5px;
    margin: 12px 0;
}

.custom-welcome span,
.custom-welcome small,
.custom-welcome strong {
    display: block;
}

.custom-welcome span {
    font-size: 7px;
    letter-spacing: .13em;
    color: #8865b8;
}

.custom-welcome strong {
    font: 700 19px/1.15 Manrope,sans-serif;
    color: #352348;
    margin: 6px 0;
}

.custom-welcome small {
    font-size: 8px;
    color: #8a8194;
}

.integration-center {
    height: 125px;
    position: relative;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-core {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #352348;
    color: #fff;
    font: 700 11px Outfit,sans-serif;
    box-shadow: 0 0 0 8px #eee7f7;
    z-index: 2;
}

.integration-node {
    position: absolute;
    padding: 6px 10px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #e9e1f2;
    color: #66517d;
    font-size: 8px;
    box-shadow: 0 3px 10px #35234810;
}

.node-a { top: 0; left: 50%; transform: translateX(-50%); }
.node-b { right: 3px; top: 50%; transform: translateY(-50%); }
.node-c { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-d { left: 3px; top: 50%; transform: translateY(-50%); }

@media(max-width:767px) {
    .hero-slider-controls {
        padding-top: 5px;
        gap: 13px;
    }

    .hero-counter {
        display: none;
    }

    .hero-arrow {
        width: 32px;
        height: 32px;
    }

    .hero-slide .hero-grid {
        min-height: 0;
    }

    .hero-slide .hero-visual {
        overflow: visible;
    }

    .hero-slide .floating-note {
        right: 0;
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero-slide,
    .hero-arrow,
    .hero-dot {
        transition: none;
    }
}

/* OCTACODE - Botao principal do menu */
.main-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 23px;
    border-radius: 50px;
    background: linear-gradient(110deg, #7650c9 0%, #9064df 55%, #7656c5 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 7px 20px rgba(111,76,177,.20);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.main-nav .nav-cta span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 15px;
    transition: transform .25s ease, background .25s ease;
}

.main-nav .nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 27px rgba(111,76,177,.30);
    color: #fff;
}

.main-nav .nav-cta:hover span {
    transform: rotate(45deg);
    background: rgba(255,255,255,.28);
}

@media(max-width:767px) {
    .main-nav .nav-cta {
        align-self: flex-start;
        margin-top: 12px;
    }
}

/* Ajuste de altura do botão do menu */
.main-nav .nav-cta {
    padding: 9px 20px;
    gap: 14px;
}

.main-nav .nav-cta span {
    width: 22px;
    height: 22px;
}

/* Mascote Octa no botão principal */
.main-nav .nav-cta span {
    font-size: 0;
    background: rgba(255,255,255,.20);
    background-image: url('../img/brand/octacode-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 17px 17px;
    transition: transform .25s ease, background-color .25s ease;
}

.main-nav .nav-cta span::before {
    content: none;
}

.main-nav .nav-cta:hover span {
    transform: scale(1.12);
    background-color: rgba(255,255,255,.30);
}

/* Octa fantasma no botão Fale com a gente */
.main-nav .nav-cta span {
    position: relative;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    border-radius: 0;
    background: transparent !important;
    background-image: none !important;
}

.main-nav .nav-cta span::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/brand/octacode-mascot.png') center/contain no-repeat;
    opacity: .38;
    filter: brightness(0) invert(1);
    transition: opacity .25s ease, transform .25s ease;
}

.main-nav .nav-cta:hover span {
    background: transparent !important;
    transform: none;
}

.main-nav .nav-cta:hover span::before {
    opacity: .7;
    transform: scale(1.12);
}

/* Ajuste fino do mascote Octa */
.main-nav .nav-cta span {
    width: 22px;
    height: 22px;
}

.main-nav .nav-cta span::before {
    inset: 0;
    background-size: 22px 22px;
    opacity: .38;
}

/* Refinamento do botão Fale com a gente */
.main-nav .nav-cta {
    gap: 8px;
    padding-left: 18px;
    padding-right: 15px;
}

.main-nav .nav-cta span {
    margin-left: 0;
    width: 20px;
    height: 20px;
}

.main-nav .nav-cta span::before {
    background-size: 20px 20px;
}

/* OCTACODE - Botoes do banner */
.hero-actions .button-dark {
    border-radius: 50px;
    padding: 11px 17px 11px 21px;
    gap: 13px;
    background: linear-gradient(110deg, #7650c9, #9064df 55%, #7656c5);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 7px 20px rgba(111,76,177,.18);
    transition: transform .25s ease, box-shadow .25s ease;
}

.hero-actions .button-dark span {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 14px;
}

.hero-actions .button-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 25px rgba(111,76,177,.28);
    color: #fff;
}

.hero-actions .text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    border: 1px solid #e5dcf2;
    border-radius: 50px;
    color: #7650a9;
    transition: all .25s ease;
}

.hero-actions .text-link span {
    color: #9064df;
}

.hero-actions .text-link:hover {
    background: #f2ecfa;
    border-color: #d7c5ed;
    transform: translateY(-2px);
    color: #67439d;
}

@media(max-width:767px) {
    .hero-actions {
        gap: 10px;
        flex-wrap: wrap;
    }

    .hero-actions .button-dark,
    .hero-actions .text-link {
        padding: 10px 14px;
    }
}

/* Correção: manter textos dos botões em uma única linha */
.hero-actions {
    flex-wrap: nowrap;
    gap: 16px;
}

.hero-actions .button-dark,
.hero-actions .text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-actions .button-dark span,
.hero-actions .text-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
}

@media(max-width:767px) {
    .hero-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Tablet real - primeiro banner */
.hero-visual .hero-tablet-real {
    display: block;
    width: min(410px, 100%);
    max-height: 440px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transform: none;
    filter: drop-shadow(0 18px 24px rgba(30, 24, 55, .20));
}

@media (max-width: 767px) {
    .hero-visual .hero-tablet-real {
        width: min(350px, 94%);
        max-height: 360px;
    }
}

/* Ajuste de tamanho dos tablets */
.hero-slide:first-of-type .hero-tablet-real {
    width: min(500px, 115%);
    max-height: 540px;
    transform: scale(1.12);
}

/* Manter o segundo no tamanho original */
.hero-slide:nth-of-type(2) .hero-tablet-real {
    width: min(410px, 100%);
    max-height: 440px;
    transform: none;
}

@media (max-width: 767px) {
    .hero-slide:first-of-type .hero-tablet-real {
        width: min(390px, 94%);
        max-height: 430px;
        transform: scale(1.05);
    }
}

/* Refinamento do tamanho do primeiro tablet */
.hero-slide:first-of-type .hero-tablet-real {
    width: min(470px, 108%);
    max-height: 510px;
    transform: scale(1.06);
}

/* Igualar tamanho do segundo tablet ao primeiro */
.hero-slide:nth-of-type(2) .hero-tablet-real {
    width: min(470px, 108%);
    max-height: 510px;
    transform: scale(1.06);
}

@media (max-width: 767px) {
    .hero-slide:nth-of-type(2) .hero-tablet-real {
        width: min(390px, 94%);
        max-height: 430px;
        transform: scale(1.05);
    }
}

/* Igualar tamanho do terceiro tablet aos anteriores */
.hero-slide:nth-of-type(3) .hero-tablet-real {
    width: min(470px, 108%);
    max-height: 510px;
    transform: scale(1.06);
}

@media (max-width: 767px) {
    .hero-slide:nth-of-type(3) .hero-tablet-real {
        width: min(390px, 94%);
        max-height: 430px;
        transform: scale(1.05);
    }
}

/* Botões dos banners com capitalização normal */
.hero-actions .button,
.hero-actions .text-link {
    text-transform: none !important;
}

/* Padronização da tipografia dos botões dos banners */
.hero-actions .button-dark,
.hero-actions .text-link {
    font-size: 14px !important;
    font-weight: 600;
    text-transform: none !important;
}

/* Correção de contraste dos blocos escuros */

/* Card Tem um desafio? */
.solution-last h3 {
    color: #ffffff !important;
}
.solution-last p {
    color: #d0d5d1 !important;
}
.solution-last .last-mark {
    color: #d5c2ff !important;
}
.solution-last > a {
    color: #ffffff !important;
}

/* Seção Menos tarefas. Mais possibilidades. */
.manifesto .section-kicker {
    color: #d2d8d3 !important;
}
.manifesto h2 {
    color: #ffffff !important;
}
.manifesto h2 em {
    color: #c4e99a !important;
}
.manifesto p {
    color: #d0d5d1 !important;
}

/* Card Vamos tirar sua ideia do papel? */
.contact-box h3 {
    color: #ffffff !important;
}
.contact-box p {
    color: #d0d5d1 !important;
}
.contact-box > small {
    color: #c0c8c1 !important;
}

/* OCTACODE - Cards individuais de segmentos */
.segment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border: 0;
}
.segment-list > div {
    min-height: 88px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f5fc;
    border: 1px solid #ece6f7;
    border-radius: 12px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.segment-list > div:hover {
    background: #f0eafa;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(70, 45, 110, .08);
    padding-left: 18px;
}
.segment-list > div span {
    flex-shrink: 0;
    color: #8760d1;
    font-weight: 700;
}
.segment-list > div strong {
    font-size: 13px;
    line-height: 1.4;
}
.segment-list > div b {
    flex-shrink: 0;
    margin-left: auto;
    color: #8760d1;
}

/* Botão WhatsApp no mesmo padrão do botão do cabeçalho */
.contact-box .contact-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 50px;
    background: linear-gradient(110deg, #7650c9 0%, #9064df 55%, #7656c5 100%);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 7px 20px rgba(111,76,177,.20);
    transition: transform .25s ease, box-shadow .25s ease;
}
.contact-box .contact-whatsapp span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 15px;
}
.contact-box .contact-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 27px rgba(111,76,177,.30);
    color: #fff !important;
}

@media(max-width:767px) {
    .segment-list {
        grid-template-columns: 1fr;
    }
}
