
/* Custom CTA Block Styles - Using Theme Variables */

/* Main CTA Block Container */
.wp-block-revhyper-custom-cta,
.custom-cta-block {
    margin: 30px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    width: 100%;
    border: none;
}

/* CTA Heading */
.cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    text-align: left !important;
}

/* CTA Buttons Wrapper */
.cta-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

/* Quando há mais de um botão, reduzir ainda mais o espaçamento */
.cta-buttons-wrapper.multiple-buttons {
    gap: 6px;
    align-items: stretch; /* Estica os botões para terem a mesma largura */
}

/* Quando há múltiplos botões, todos devem ter a mesma largura (DESKTOP) */
.cta-buttons-wrapper.multiple-buttons .main-cta-button {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100%; /* Garante que todos ocupem o mesmo espaço */
}

/* Sobrescrever larguras fixas quando há múltiplos botões */
.cta-buttons-wrapper.multiple-buttons .main-cta-button.button-size-small,
.cta-buttons-wrapper.multiple-buttons .main-cta-button.button-size-large {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

/* Grade Layout */
.cta-buttons-wrapper.grade-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 15px !important;
}

/* CTA Post Block */
.cta-post-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-post-block .cta-heading.post-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.2;
    color: var(--gray-900);
}

@media (max-width: 768px) {
    .cta-post-block .cta-heading.post-title {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 480px) {
    .cta-post-block .cta-heading.post-title {
        font-size: 1.9rem !important;
    }
}

/* Estilo do título igual ao single.php */
.cta-heading.single-title-style {
    font-size: 2.75rem !important;
    font-weight: var(--font-semibold, 600) !important;
    color: var(--gray-900, #111827) !important;
    line-height: var(--leading-tight, 1.25) !important;
    margin-bottom: var(--space-4, 1rem) !important;
    text-align: center !important;
}

.cta-post-block .cta-excerpt.post-excerpt {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 18px;
    text-align: center;
    max-width: 700px;
}

/* CTA Featured Block */
.cta-featured-block {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 30px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    margin: 0 auto 20px auto;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    gap: 30px;
}

.cta-featured-image {
    flex-shrink: 0;
}

.cta-featured-image img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.cta-featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-featured-button {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cta-featured-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 12px 0;
    text-align: left;
}

/* CTA Features - Individual Cards */
.cta-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.feature-card {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    white-space: nowrap;
}

.feature-card.custom-color {
    background: rgba(var(--primary-color-rgb), 0.12);
    border: 1px solid rgba(var(--primary-color-rgb), 0.25);
    color: var(--primary-color);
}

/* CTA Simple Block */
.cta-simple-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Quando há múltiplos botões, os blocos também devem ter a mesma largura */
.cta-buttons-wrapper.multiple-buttons .cta-simple-block,
.cta-buttons-wrapper.multiple-buttons .cta-post-block {
    width: 100% !important;
    max-width: 100% !important;
}

/* CTA Image */
.cta-image {
    margin-bottom: 15px;
}

.cta-image img {
    max-width: 220px;
    width: 100%;
    border-radius: 8px;
    height: auto;
}

/* Main CTA Button */
.main-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: var(--primary-color);
    color: var(--white) !important;
    min-width: 250px;
    width: 250px;
    height: 50px;
    max-width: 250px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
}

/* Botões simples (sem imagem) - maiores e mais altos */
.custom-cta-block.simple-buttons .main-cta-button {
    padding: 20px 32px;
    font-size: 20px;
    font-weight: 700;
    min-width: 100%;
    width: 100%;
    height: 70px;
    max-width: 100%;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-cta-button:hover {
    background: var(--secondary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.main-cta-button:active {
    transform: translateY(0);
}

/* Button Sizes */
.main-cta-button.button-size-small {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 200px;
    width: 200px;
    height: 45px;
    max-width: 200px;
}

.main-cta-button.button-size-large {
    padding: 16px 32px;
    font-size: 18px;
    min-width: 300px;
    width: 300px;
    height: 55px;
    max-width: 300px;
}

/* Button Effects */
.main-cta-button.button-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    }
}

/* CTA Arrow */
.cta-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.main-cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Button Warning Text - Below CTA button inside cards */
.button-warning-text {
    font-family: var(--font-family-primary) !important;
    font-size: 12px !important;
    color: var(--gray-500) !important;
    margin: 8px 0 0 0 !important;
    text-align: left !important;
    font-style: italic !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    line-height: 1.4 !important;
}

/* Featured warning - below button, right aligned */
.button-warning-text.featured-warning {
    font-family: var(--font-family-primary) !important;
    font-size: 12px !important;
    color: var(--gray-500) !important;
    margin: 8px 0 0 0 !important;
    text-align: right !important;
    font-style: italic !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    line-height: 1.4 !important;
}

/* Post warning - below button, centered */
.button-warning-text.post-warning {
    font-family: var(--font-family-primary) !important;
    font-size: 12px !important;
    color: var(--gray-500) !important;
    margin: 8px 0 0 0 !important;
    text-align: center !important;
    font-style: italic !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    line-height: 1.4 !important;
}

/* Simple warning - below button, centered */
.button-warning-text.simple-warning {
    font-family: var(--font-family-primary) !important;
    font-size: 12px !important;
    color: var(--gray-500) !important;
    margin: 8px 0 0 0 !important;
    text-align: center !important;
    font-style: italic !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    line-height: 1.4 !important;
}

/* Warning text when there's an image - centered */
.custom-cta-block.has-cta-images .button-warning-text {
    text-align: center !important;
    margin: 8px auto 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
}

/* Override featured-warning when there's an image */
.custom-cta-block.has-cta-images .button-warning-text.featured-warning {
    text-align: center !important;
}

/* CTA Button Container */
.cta-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Quando há múltiplos botões, o container também deve ocupar 100% */
.cta-buttons-wrapper.multiple-buttons .cta-button-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Popup Quiz Styles */
.popup-quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-quiz-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 80%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
}

.popup-quiz-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.popup-quiz-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-quiz-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.popup-quiz-iframe-container {
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.popup-quiz-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-cta-block {
        margin: 20px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .cta-heading {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }
    
    .cta-heading.single-title-style {
        font-size: 2.2rem !important;
    }
    
    .cta-post-block .cta-heading.post-title {
        font-size: 2rem !important;
    }
    
    .cta-post-block {
        padding: 20px 15px;
        width: 100%;
    }
    
    .cta-post-block .cta-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .cta-post-block .cta-image img {
        max-width: 280px;
        width: 100%;
    }
    
    .cta-post-block .cta-excerpt {
        font-size: 1.6rem !important;
        padding: 0 10px;
    }
    
    .cta-post-block .cta-excerpt.post-excerpt {
        font-size: 1.6rem !important;
    }
    
    .cta-buttons-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
        gap: 6px !important;
    }
    
    .cta-buttons-wrapper.multiple-buttons {
        gap: 4px !important;
    }
    
    /* Mobile: múltiplos botões com mesma largura */
    .cta-buttons-wrapper.multiple-buttons .main-cta-button {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .cta-buttons-wrapper.grade-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 10px !important;
        max-width: 100% !important;
    }
    
    .cta-button-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
    }
    
    .cta-simple-block {
        padding: 15px 10px;
        width: 100%;
    }
    
    .cta-simple-block .cta-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .cta-simple-block .cta-image img {
        max-width: 200px;
        width: 100%;
    }
    
    .main-cta-button {
        padding: 12px 8px !important;
        font-size: clamp(16px, 4vw, 18px) !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 48px;
        white-space: nowrap;
        flex-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }
    
    /* Botões simples (sem imagem) - maiores no mobile também */
    .custom-cta-block.simple-buttons .main-cta-button {
        padding: 18px 24px !important;
        font-size: clamp(18px, 5vw, 22px) !important;
        font-weight: 700 !important;
        min-height: 65px !important;
        height: 65px !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .main-cta-button .cta-arrow {
        margin-left: 4px;
        flex-shrink: 0;
    }
    
    .main-cta-button.button-size-small {
        padding: 10px 6px !important;
        font-size: clamp(14px, 3.5vw, 16px) !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 43px;
        white-space: nowrap;
        flex-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }
    
    .main-cta-button.button-size-large {
        padding: 14px 10px !important;
        font-size: clamp(18px, 4.5vw, 20px) !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 52px;
        white-space: nowrap;
        flex-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }
    
    .cta-featured-block {
        flex-direction: column;
        padding: 25px 15px;
        text-align: center;
        gap: 15px;
        align-items: center;
    }
    
    .cta-featured-image {
        margin-bottom: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .cta-featured-image img {
        width: 100%;
        max-width: 280px;
        height: auto;
        min-height: 180px;
        object-fit: cover;
    }
    
    .cta-featured-content {
        align-items: center;
        width: 100%;
    }
    
    .cta-featured-content h2 {
        text-align: center;
        font-size: 2rem !important;
        margin-bottom: var(--space-3, 0.75rem);
    }
    
    .cta-features {
        justify-content: center !important;
        width: 100%;
    }
    
    .feature-card {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .cta-featured-button {
        align-items: center;
        width: 100%;
    }
    
    .cta-featured-button .cta-button-container {
        width: 100%;
    }
    
    .cta-featured-button .main-cta-button {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .popup-quiz-container {
        width: 95%;
        height: 85%;
    }
    
    .popup-quiz-iframe-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .custom-cta-block {
        padding: 0;
        margin: 15px 0;
    }
    
    .cta-buttons-wrapper {
        padding: 0 10px;
    }
    
    .cta-heading {
        font-size: 1.75rem !important;
    }
    
    .cta-heading.single-title-style {
        font-size: 2rem !important;
    }
    
    .cta-post-block .cta-heading.post-title {
        font-size: 1.9rem !important;
    }
    
    .cta-post-block {
        padding: 15px 10px;
    }
    
    .cta-post-block .cta-image img {
        max-width: 240px;
    }
    
    .cta-post-block .cta-excerpt {
        font-size: 1.5rem !important;
        padding: 0 5px;
    }
    
    .cta-post-block .cta-excerpt.post-excerpt {
        font-size: 1.5rem !important;
    }
    
    .cta-buttons-wrapper {
        gap: 4px !important;
    }
    
    .cta-buttons-wrapper.multiple-buttons {
        gap: 3px !important;
    }
    
    .cta-simple-block {
        padding: 12px 8px;
    }
    
    .cta-simple-block .cta-image img {
        max-width: 180px;
    }
    
    .main-cta-button {
        padding: 10px 6px !important;
        font-size: clamp(15px, 3.8vw, 17px) !important;
        height: auto !important;
        min-height: 46px;
    }
    
    .main-cta-button.button-size-small {
        padding: 8px 5px !important;
        font-size: clamp(13px, 3.2vw, 15px) !important;
        height: auto !important;
        min-height: 41px;
    }
    
    .main-cta-button.button-size-large {
        padding: 12px 8px !important;
        font-size: clamp(17px, 4.2vw, 19px) !important;
        height: auto !important;
        min-height: 50px;
    }
    
    .cta-featured-block {
        padding: 20px 15px;
        gap: 12px;
    }
    
    .cta-featured-image img {
        width: 100%;
        max-width: 240px;
        height: auto;
        min-height: 150px;
    }
    
    .cta-featured-content h2 {
        font-size: 1.75rem !important;
    }
    
    .feature-card {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Sticky Anchors - Desktop: Barra fixa na parte inferior (full width) */
.custom-cta-sticky-anchors {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-radius: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.3s ease;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.custom-cta-sticky-anchors.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-cta-sticky-close {
    position: absolute;
    top: 18px;
    right: 12px;
    width: 24px;
    height: 24px;
    font-size: 16px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.custom-cta-sticky-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
    transform: scale(1.1);
}

.custom-cta-sticky-anchor {
    margin-bottom: 0;
    margin-right: 20px;
    min-height: auto;
    display: flex;
    align-items: center;
    flex: 1;
}

.custom-cta-sticky-anchor:last-child {
    margin-bottom: 0;
    margin-right: 0;
}

.custom-cta-sticky-inner {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: visible;
    gap: 16px;
}

.custom-cta-sticky-vertical-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    flex: 1;
}

.custom-cta-sticky-top {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.custom-cta-sticky-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.custom-cta-sticky-image {
    display: none !important;
}

.custom-cta-sticky-anchor-text {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.5;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    word-wrap: break-word;
    flex: 1;
    z-index: 10;
    position: relative;
    text-align: left;
    padding: 0;
}

.custom-cta-sticky-cta-button {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 18px 40px !important;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: auto;
    min-height: 60px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-cta-sticky-cta-button:hover {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.custom-cta-sticky-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
    /* ============================================
       CONTAINER PRINCIPAL - Barra fixa inferior
       ============================================ */
    .custom-cta-sticky-anchors {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
        margin: 0;
        border-radius: 0;
        border-top: 1px solid var(--gray-200);
        border-left: none;
        border-right: none;
        background: var(--white);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
        z-index: 1000;
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    
    .custom-cta-sticky-anchors.show {
        transform: translateY(0);
    }
    
    /* ============================================
       BOTÃO FECHAR (X) - Topo direito, acima do CTA
       ============================================ */
    .custom-cta-sticky-close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--white);
        border: 1.5px solid var(--gray-300);
        border-radius: 50%;
        font-size: 16px;
        line-height: 1;
        color: var(--gray-600);
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
        z-index: 1001;
        flex-shrink: 0;
    }
    
    .custom-cta-sticky-close:hover {
        background: var(--gray-50);
        border-color: var(--gray-400);
        color: var(--gray-800);
        transform: scale(1.1);
    }
    
    /* ============================================
       ANCHOR CONTAINER - Layout interno
       ============================================ */
    .custom-cta-sticky-anchor {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex: 1;
        min-width: 0;
    }
    
    .custom-cta-sticky-inner {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex: 1;
        min-width: 0;
    }
    
    .custom-cta-sticky-vertical-layout {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex: 1;
        min-width: 0;
    }
    
    /* ============================================
       ÁREA DE TEXTO - Lado esquerdo
       ============================================ */
    .custom-cta-sticky-top {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding-right: 12px;
    }
    
    .custom-cta-sticky-image {
        display: none !important;
    }
    
    .custom-cta-sticky-anchor-text {
        font-size: 15px;
        line-height: 1.5;
        font-weight: 600;
        color: var(--gray-900);
        margin: 0;
        padding: 0;
        text-align: left;
        white-space: normal;
        word-wrap: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        flex: 1;
        min-width: 0;
    }
    
    /* ============================================
       ÁREA DO BOTÃO - Lado direito
       ============================================ */
    .custom-cta-sticky-bottom {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
        padding-top: 8px; /* Espaço para o X acima */
    }
    
    .custom-cta-sticky-cta-button {
        min-width: 180px;
        width: auto;
        height: 56px;
        padding: 16px 28px !important;
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        white-space: nowrap;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .custom-cta-sticky-cta-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }
}

/* ============================================
   TELAS MUITO PEQUENAS (480px)
   ============================================ */
@media (max-width: 480px) {
    .custom-cta-sticky-anchors {
        padding: 16px 14px;
        gap: 14px;
    }
    
    .custom-cta-sticky-close {
        top: 1px;
        right: 6px;
        width: 26px;
        height: 26px;
        font-size: 15px;
    }
    
    .custom-cta-sticky-bottom {
        padding-top: 6px;
    }
    
    .custom-cta-sticky-anchor,
    .custom-cta-sticky-inner,
    .custom-cta-sticky-vertical-layout {
        gap: 14px;
    }
    
    .custom-cta-sticky-top {
        padding-right: 10px;
    }
    
    .custom-cta-sticky-anchor-text {
        font-size: 14px;
        line-height: 1.5;
        -webkit-line-clamp: 2;
    }
    
    .custom-cta-sticky-cta-button {
        min-width: 160px;
        height: 52px;
        padding: 14px 24px !important;
        font-size: 14px;
        letter-spacing: 0.4px;
    }
}

