/*
  LENS by Lis. — sobre.css
  Slider-based "Sobre" page styles
*/


/* Slider-based "Sobre" page styles are focused on slider and content layout. 
   Global components (Nav, Social, Modal) are inherited from style.css. */

/* Performance: Disable heavy background animations on this page to ensure fluid transitions */
.glow-1,
.glow-2 {
    animation: none !important;
}

/* Custom Colors for Sobre: More Purple (Roxo) and Wine (Vinho) */
.glow-1 {
    background: linear-gradient(135deg, var(--wine-deep) 0%, var(--violet-1) 60%, var(--pitaya) 100%) !important;
    opacity: 0.7;
}

.glow-2 {
    background: linear-gradient(225deg, var(--violet-1) 0%, var(--wine-deep) 60%, var(--pitaya) 100%) !important;
    opacity: 0.4;
}


/* ─── Slider Viewport (Window) ──────────────────── */
.sobre-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
}

/* ─── Slider Container (Rail) ──────────────────── */
.sobre-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1);
    /* Individual slides are 100vw, flex handles them in a row */
}

.sobre-slide {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 120px 60px 150px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.slide-content {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

/* ─── Shared Typography ─────────────────── */
.sobre-kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--pitaya);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sobre-title {
    font-size: clamp(1rem, 2.4vw, 2.1rem);
    /* Reduced max size slightly to help fit single line */
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 15px;
    letter-spacing: -0.04em;
    /* Slightly more compact to fit long phrases in one line */
    word-wrap: break-word;
}

.founder-name {
    font-size: clamp(1rem, 2.4vw, 2.188rem);
    text-align: left;
    margin-bottom: 15px;
}

.sobre-intro {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 950px;
    margin-bottom: 15px;
}

.highlight-pink {
    color: var(--pitaya);
}

.highlight-pink-bold {
    color: var(--pitaya);
    font-weight: 700;
}

/* ─── Glass Card Base ───────────────────── */
.glass-card-sobre {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

/* ─── Slide 1: Quem Somos ───────────────── */
.mission-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.mission-card {
    padding: 22px 24px;
}

.mission-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.card-title-pink {
    font-size: 14px;
    font-weight: 700;
    color: var(--pitaya);
    margin-bottom: 10px;
}

.para-quem-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.para-quem-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.para-quem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.para-quem-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pq-label {
    font-size: 15px;
    font-weight: 700;
}

.para-quem-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

/* ─── Slide 2: A Fundadora ──────────────── */
.founder-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 36px;
    align-items: flex-start;
    margin-bottom: 36px;
}

.founder-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--pitaya);
    box-shadow: 0 0 24px rgba(255, 79, 163, 0.3);
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.2), rgba(124, 58, 237, 0.3));
}

.founder-avatar.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-bio {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.formacao-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
}

.formacao-icon {
    color: var(--pitaya);
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.formacao-box p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* Timeline */
.timeline-section {
    position: relative;
    margin-top: 16px;
    height: 180px;
}

.timeline-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
}

.timeline-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 5%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(var(--pitaya-rgb), 0.6) 95%,
            transparent 100%);
}

.timeline-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
}

.dot-active {
    background: var(--pitaya);
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 14px var(--pitaya), 0 0 28px rgba(var(--pitaya-rgb), 0.4);
}

.timeline-items-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
}

.timeline-items-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
}

.timeline-event {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transform: translateX(-50%);
}

.top-event {
    bottom: 10px;
    text-align: center;
    align-items: center;
}

.top-event::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
}

.bottom-event {
    top: 10px;
    text-align: center;
    align-items: center;
}

.bottom-event::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
}

.t-year {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
}

.timeline-event strong {
    font-size: 12px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.t-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
}

.t-active .t-year {
    color: rgba(var(--pitaya-rgb), 0.7);
}


/* ─── Slide 3: Valores ──────────────────── */
.valores-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 16px;
}

.valores-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.valor-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    transition: border-color 0.3s ease;
}

.valor-item:hover {
    border-color: rgba(var(--pitaya-rgb), 0.3);
}

.valor-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--pitaya);
    display: flex;
    align-items: center;
    justify-content: center;
}

.valor-icon svg {
    width: 100%;
    height: 100%;
}

.valor-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.valor-text strong {
    font-size: 14px;
    color: white;
}

.valor-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

/* ─── Slide 4: Cenário Atual ────────────── */
.cenario-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cenario-panel {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 450px;
}

.stat-badge {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    /* Slightly reduced */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.stat-pct {
    font-size: 22px;
    font-weight: 800;
    color: var(--pitaya);
    white-space: nowrap;
}

.stat-badge p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.news-snippet {
    margin: 0 0 5px 0;
    /* Margin top to 0 */
    padding: 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

/* Visual News Card Layout */
.visual-news-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 1.25rem 5px 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-image-body {
    width: 100%;
    height: auto;
    border-radius: 0;
    overflow: visible;
    position: relative;
    border: none;
    background: none;
    margin-top: -55px;
    margin-bottom: -35px;
    max-height: 180px;
    overflow: hidden;
    z-index: 1;
}

.news-image-body img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    opacity: 1;
    transition: transform 0.3s ease;
}

.visual-news-card:hover .news-image-body img {
    transform: scale(1.05);
    opacity: 1;
}

.news-embed-thumb,
.news-embed-content {
    display: none;
    /* Cleanup old classes if they linger in memory */
}

/* News Embed Layout */
.news-embed {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 1rem;
}

.news-embed h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-embed .news-body {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-source-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pitaya);
    margin-bottom: 0.25rem;
    opacity: 0.7;
}

.news-link {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-style: normal;
    opacity: 1;
    text-decoration: none;
    display: block;
    margin-top: 18px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.news-link:hover {
    color: var(--pitaya);
    text-decoration: underline;
}

.news-source-tag {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.news-snippet h4 {
    font-size: 12px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
}

.news-body {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
    margin-bottom: 6px;
}

/* Redundant .news-link removed */

.panel-title-bold {
    font-size: 13px;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-block;
    /* Ensure background only covers text area */
}

.panel-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-align: center;
}

.top-actions-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.top3-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    /* Align items to the left */
    max-width: 250px;
}

.top3-item {
    width: 210px;
    /* Fixed width for better readability */
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    /* Center text inside */
}

.top3-item.active-item {
    background: rgba(255, 79, 163, 0.15);
    border-color: rgba(255, 79, 163, 0.3);
    color: white;
    font-weight: 600;
}

.cenario-side-stats {
    display: block;
    /* No longer a grid */
    margin-top: 4px;
}

.big-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 150px;
    flex-shrink: 0;
    margin-top: 5px;
}

.big-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--pitaya);
}

.big-stat p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 150px;
    line-height: 1.3;
}

.stat-pct-sm {
    font-size: 20px;
    font-weight: 800;
    display: block;
}

.side-stat-block p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.sub-sm {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
    display: block;
    text-align: center;
}

.arrow-down {
    width: 18px;
    height: 18px;
    display: block;
    margin: 6px auto;
}

.fonte-tag {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: auto;
}

/* ─── Slide 5: Impactos ─────────────────── */
.impactos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.impactos-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.col-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin-bottom: 4px;
}

.impacto-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
}

.imp-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--pitaya);
    min-width: 24px;
    flex-shrink: 0;
}

.imp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.imp-text strong {
    font-size: 14px;
    color: white;
}

.imp-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ─── Slider Controls ───────────────────── */
.slider-controls {
    position: fixed;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.slider-btn svg {
    width: 18px;
    height: 18px;
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.s-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.s-dot.active {
    background: var(--pitaya);
    width: 22px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(255, 79, 163, 0.5);
}

/* ─── Footer ────────────────────────────── */
.sobre-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(7, 7, 11, 0.43);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 12px 20px 10px;
}

@media (max-width: 768px) {
    .sobre-footer {
        position: relative;
        /* Flow with content on mobile slide */
        margin-top: 60px;
        background: rgba(7, 7, 11, 0.85);
        /* Semi-transparent for legibility */
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 20px 40px;
    }
}

.footer-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2px;
}

.footer-cnpj {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 2px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 4px;
}

.footer-links a {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--pitaya);
}

/* ─── Responsive Mobile ─────────────────── */
@media (max-width: 768px) {
    .sobre-slide {
        padding: 80px 20px 140px;
    }

    .sobre-title,
    .founder-name {
        font-size: clamp(1.4rem, 6vw, 2.2rem);
    }

    .slider-controls {
        bottom: 40px !important;
        /* Lower to the base on mobile */
    }

    /* Slide 1 */
    .mission-cards {
        grid-template-columns: 1fr;
    }

    .para-quem-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    /* Slide 2 */
    .founder-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-photo-col {
        display: flex;
        justify-content: center;
    }

    .timeline-section {
        display: block;
        /* Restore visibility */
        height: auto;
        padding-left: 15px;
        border-left: 2px solid rgba(255, 255, 255, 0.1);
        /* Vertical track */
        margin-top: 30px;
        margin-left: 10px;
    }

    .timeline-track,
    .top-event::after,
    .bottom-event::before {
        display: none !important;
        /* Hide horizontal track and desktop connectors */
    }

    .timeline-items-top,
    .timeline-items-bottom {
        position: static;
        display: contents;
        /* Let children flow into the flex container for correct ordering */
        height: auto;
        width: 100%;
    }

    .timeline-event {
        position: relative;
        left: 0 !important;
        /* Reset horizontal position */
        transform: none !important;
        text-align: left;
        align-items: flex-start;
        margin-bottom: 25px;
        padding-left: 20px;
    }

    .timeline-event::before {
        content: '';
        position: absolute;
        left: -24px;
        /* Align with the vertical track line */
        top: 6px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid var(--bg-deep);
    }

    .timeline-event.t-active::before {
        background: var(--pitaya);
        box-shadow: 0 0 10px var(--pitaya);
    }

    .timeline-event strong {
        white-space: normal;
        /* Allow wrapping on narrow screens */
        font-size: 13px;
    }

    .t-sub {
        white-space: normal;
    }

    /* Slide 3 */
    .valor-item {
        padding: 12px 14px;
    }

    /* Slide 4 */
    .cenario-panels {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cenario-panel {
        height: auto !important;
        /* Allow content to grow */
        padding: 10px 15px 30px;
    }

    .visual-news-card {
        padding: 15px 1.25rem;
    }

    .news-image-body {
        margin-top: 5px;
        /* Reset negative margins that cut content */
        margin-bottom: 5px;
        max-height: none;
        overflow: visible;
    }

    .top-actions-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .top3-list {
        max-width: 100%;
        width: 100%;
    }

    .top3-item {
        width: 100% !important;
    }

    .big-stat {
        text-align: center;
        max-width: 100%;
    }

    .cenario-side-stats {
        grid-template-columns: 1fr;
        margin-top: 15px;
    }

    /* Slide 5 */
    .impactos-grid {
        grid-template-columns: 1fr;
    }

    /* Slide 6 */
    .servicos-layout {
        flex-direction: column;
        align-items: center;
    }

    /* Slide 7 */
    .convite-body {
        flex-direction: column;
        gap: 16px;
    }


    /* Side social hidden on mobile */
    .side-social {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* ─── Slide 6: Como Ajudamos ────────────── */
.slide-content-wide {
    max-width: 950px;
}

/* Pulse animation for clickable circles */
@keyframes venn-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 79, 163, 0);
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.06);
    }

    50% {
        box-shadow: 0 0 22px 6px rgba(255, 79, 163, 0.28);
        border-color: rgba(255, 79, 163, 0.55);
        background: rgba(255, 79, 163, 0.1);
    }
}

.servicos-layout {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 24px;
    min-height: 280px;
    /* In initial state the triad is centered — JS adds .triad-revealed to shift left */
    justify-content: center;
    transition: justify-content 0.6s ease;
}

/* Once a circle is clicked the layout shifts to left-aligned */
.servicos-layout.triad-revealed {
    justify-content: flex-start;
}

/* Venn container animates to its normal (left) position */
.venn-container {
    position: relative;
    width: 320px;
    height: 260px;
    flex-shrink: 0;
    /* Starts centered via parent justify-content; JS will shift layout */
    transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1);
}

.venn-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    user-select: none;
    /* Hide label text initially — shown only after the triad is revealed */
}

.venn-circle span {
    padding: 0 16px;
    line-height: 1.3;
    pointer-events: none;
}

.venn-circle-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.venn-circle-2 {
    bottom: 0;
    left: 0;
}

.venn-circle-3 {
    bottom: 0;
    right: 0;
}

/* Pulsing state: the next circle to click */
.venn-circle.venn-pulsing {
    animation: venn-pulse 2.2s ease-in-out infinite !important;
    cursor: pointer;
    z-index: 5;
}

/* Active/selected state */
.venn-active {
    background: rgba(255, 79, 163, 0.28);
    border-color: var(--pitaya);
    box-shadow: 0 0 28px rgba(255, 79, 163, 0.32);
    z-index: 2;
    animation: none !important;
}

.venn-circle:hover:not(.venn-active) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Service Detail Panel — hidden from layout initially (display:none so it doesn't push triad) */
.servico-detail {
    flex: 1;
    min-height: 220px;
    display: none;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.servico-detail.detail-visible {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.servico-detail-title {
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.servico-detail-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
    max-width: 480px;
    text-align: left;
}

.servico-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.servico-bullets li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
}

.servico-bullets li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--pitaya);
    font-size: 8px;
    top: 3px;
}

@keyframes btn-orange-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(240, 140, 30, 0);
        border-color: rgba(240, 140, 30, 0.5);
    }

    50% {
        box-shadow: 0 0 18px 5px rgba(240, 140, 30, 0.3);
        border-color: rgba(240, 140, 30, 0.9);
    }
}

.servico-detail .btn-servicos {
    margin-top: 16px;
    align-self: flex-start;
    background: rgba(240, 140, 30, 0.15);
    border-color: rgba(240, 140, 30, 0.5);
    color: rgb(255, 190, 90);
    animation: btn-orange-pulse 2.4s ease-in-out infinite;
}

.servico-detail .btn-servicos:hover {
    background: rgba(240, 140, 30, 0.3);
    box-shadow: 0 0 24px rgba(240, 140, 30, 0.4);
    animation-play-state: paused;
}

.formatos-bar {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── Slide 7: Parceiros ─────────────────── */
.parceiros-carousel-title {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: white;
    margin-bottom: 10px;
}

.parceiros-carousel-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.parceiros-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 40px 12px;
}

.parceiros-carousel::-webkit-scrollbar {
    display: none;
}

/* Carousel Navigation Arrows */
.parceiros-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    height: 350px;
    /* Reduced as requested */
}

.carousel-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.carousel-arrow:hover {
    border-color: rgba(255, 79, 163, 0.4);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 79, 163, 0.1);
    box-shadow: 0 0 12px rgba(255, 79, 163, 0.15);
}

.carousel-arrow svg {
    width: 14px;
    height: 14px;
}

/* Convite Card */
.convite-card {
    width: 100%;
    max-width: 700px;
    margin: 1px auto 0;
    padding: 14px 20px;
}

.convite-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.convite-text strong {
    display: block;
    font-size: 12px;
    color: white;
    margin-bottom: 4px;
}

.convite-text p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

.btn-convite {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 79, 163, 0.2);
    border: 1px solid rgba(255, 79, 163, 0.5);
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-convite:hover {
    background: rgba(255, 79, 163, 0.35);
    box-shadow: 0 0 20px rgba(255, 79, 163, 0.3);
}

/* ─── Slide 8: Diferenciais ─────────────── */
.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.diferencial-card {
    padding: 24px;
    display: flex;
    align-items: center;
    /* Centered vertically */
    gap: 16px;
    transition: all 0.3s ease;
    height: 120px;
    /* Fixed height for symmetry */
    overflow: hidden;
}

.diferencial-card:hover {
    border-color: rgba(255, 79, 163, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.dif-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dif-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.diferencial-card h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.diferencial-card p {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

.ferramentas-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.ferramentas-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
}

.ferramentas-list {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.diferenciais-cta {
    text-align: center;
}

.diferenciais-cta-text {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.diferenciais-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-dif-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: rgba(255, 79, 163, 0.2);
    border: 1px solid rgba(255, 79, 163, 0.5);
    border-radius: 999px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dif-primary:hover {
    background: rgba(255, 79, 163, 0.35);
    box-shadow: 0 0 20px rgba(255, 79, 163, 0.3);
}

.btn-dif-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.carousel-arrow svg {
    width: 14px;
    height: 14px;
}

/* Partners Carousel Items */

.parceiro-card {
    flex: 0 0 240px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.parceiro-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 79, 163, 0.3);
}

.parceiro-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 4px;
    border: 2px solid rgba(255, 79, 163, 0.3);
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    box-sizing: content-box;
    flex-shrink: 0;
    /* Prevents distortion from flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
}

.parceiro-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1) !important;
}

.parceiro-nome {
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    color: white;
    display: block;
    margin-bottom: 8px;
}

.parceiro-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 10px;
    flex-grow: 1;
}

.parceiro-site {
    font-size: 12px;
    color: var(--pitaya);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.parceiro-site:hover {
    opacity: 0.8;
}

/* ─── Mobile Overrides (End of File) ────── */
@media (max-width: 768px) {

    /* Slide 8 Mobile Improvements */
    .diferenciais-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .diferencial-card {
        height: auto !important;
        padding: 20px;
    }

    .diferenciais-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-dif-primary,
    .btn-dif-secondary {
        width: 80%;
        margin: 0 auto;
        justify-content: center;
    }
}