/* =====================================================================
   NewPDV — Componentes de conversão compartilhados
     .ctai — CTA intermediário (painel escuro no meio da página)
     .scta — sticky CTA mobile (barra fixa inferior ≤768px)
   Usado por segments/show e features/show (?v=N)
   ===================================================================== */

/* =====================================================================
   CTA INTERMEDIÁRIO — .ctai
   ===================================================================== */
.ctai {
    padding: clamp(50px, 6vw, 90px) 0;
    font-family: 'Manrope', system-ui, sans-serif;
}
.ctai__panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 24px;
    padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 64px);
    text-align: center;
    color: rgba(255,255,255,0.92);
    background: linear-gradient(135deg, #02212d 0%, #033d4f 55%, #045F7A 100%);
    box-shadow: 0 30px 80px rgba(2,33,45,0.35);
}
.ctai__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.ctai__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(124,199,224,0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(124,199,224,0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 30%, transparent 80%);
}
.ctai__orb {
    position: absolute;
    border-radius: 50%;
}
.ctai__orb--1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(135,196,55,0.20) 0%, transparent 65%);
    top: -180px; right: -120px;
}
.ctai__orb--2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(124,199,224,0.22) 0%, transparent 65%);
    bottom: -160px; left: -100px;
}
.ctai__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(124,199,224,0.10);
    border: 1px solid rgba(124,199,224,0.25);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7CC7E0;
    margin-bottom: 18px;
}
.ctai__eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #87C437;
    box-shadow: 0 0 8px rgba(135,196,55,0.8);
}
.ctai__title {
    font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 auto 14px;
    max-width: 640px;
    text-wrap: balance;
}
.ctai__highlight { color: #87C437; }
.ctai__lede {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.65;
    color: rgba(189,225,237,0.75);
    max-width: 560px;
    margin: 0 auto 30px;
}
.ctai__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}
.ctai__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
}
.ctai__btn--primary {
    background: linear-gradient(135deg, #87C437, #4d8f24);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(99,177,47,0.32), inset 0 1px 0 rgba(255,255,255,0.18);
}
.ctai__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(99,177,47,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
    color: #fff !important;
}
.ctai__btn--primary svg { transition: transform .25s ease; }
.ctai__btn--primary:hover svg { transform: translateX(4px); }
.ctai__btn--ghost {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.20);
    color: #fff !important;
    backdrop-filter: blur(10px);
}
.ctai__btn--ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
    color: #fff !important;
}
.ctai__trust {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
    font-size: 12.5px;
    color: rgba(189,225,237,0.65);
    margin: 0;
}
.ctai__trust i { color: #87C437; margin-right: 4px; }
.ctai__trust-dot { opacity: 0.4; margin: 0 4px; }

@media (max-width: 575px) {
    .ctai { padding: 40px 0; }
    .ctai__panel { border-radius: 18px; padding: 36px 20px; }
    .ctai__btn { width: 100%; justify-content: center; }
    .ctai__actions { flex-direction: column; }
}

/* =====================================================================
   STICKY CTA MOBILE — .scta
   ===================================================================== */
.scta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: none;
    transform: translateY(110%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    font-family: 'Manrope', system-ui, sans-serif;
}
.scta.is-visible { transform: translateY(0); }
@media (max-width: 768px) {
    .scta { display: block; }
}
.scta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(2,33,45,0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(124,199,224,0.25);
    box-shadow: 0 -10px 30px rgba(2,33,45,0.35);
}
.scta__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}
.scta__text strong {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.scta__text span {
    font-size: 11px;
    color: rgba(189,225,237,0.70);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.scta__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #87C437, #4d8f24);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(99,177,47,0.35);
}
.scta__btn svg { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
    .scta { transition: none; }
}
