.vtc-container {
    width: 100%;
    height: 100%;
}

.vtc-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    padding: 40px;
    position: relative;
    box-sizing: border-box;
}

/* Phrases animées */
.vtc-phrases-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    min-height: 300px;
}

.vtc-phrase {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(calc(-50% + 30px));
    width: 100%;
    will-change: transform, opacity;
}

.vtc-phrase.vtc-visible {
    opacity: 1;
    transform: translateY(-50%);
}

.vtc-phrase .vtc-highlight {
    display: inline-block;
    vertical-align: baseline;
    line-height: inherit;
    /* Le gradient est appliqué dynamiquement via JavaScript */
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: vtc-gradient-shift 3s linear infinite;
    /* Fallback pour les navigateurs qui ne supportent pas background-clip */
    color: #e30613;
}

.vtc-phrase .vtc-highlight-text {
    display: inline-block;
    white-space: nowrap;
}

/* Support pour Safari et Chrome */
@supports (-webkit-background-clip: text) {
    .vtc-phrase .vtc-highlight {
        color: transparent;
    }
}

@keyframes vtc-gradient-shift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Cercle Typewriter */
.vtc-circle-wrapper {
    display: flex;
    padding: 20px 0;
    align-items: flex-end;
}

/* Positions prédéfinies - toujours en bas */
.vtc-circle-wrapper.position-left {
    justify-content: flex-start;
}

.vtc-circle-wrapper.position-center {
    justify-content: center;
}

.vtc-circle-wrapper.position-right {
    justify-content: flex-end;
}

/* Position personnalisée */
.vtc-circle-wrapper.position-custom {
    position: absolute;
    transform: translate(-50%, -50%);
}

.vtc-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #e30613;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px;
}

.vtc-circle-icon {
    color: #ffffff;
    font-size: 40px;
    margin-bottom: 10px;
}

.vtc-typewriter-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    word-wrap: break-word;
    min-height: 1.4em;
}

.vtc-typewriter-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .vtc-content-wrapper {
        padding: 30px;
        min-height: 400px;
    }
    
    .vtc-phrase {
        font-size: 36px;
    }
    
    .vtc-circle {
        width: 160px;
        height: 160px;
    }
    
    .vtc-typewriter-text {
        font-size: 20px;
    }
    
    .vtc-circle-icon {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .vtc-content-wrapper {
        padding: 20px;
        min-height: 350px;
    }
    
    .vtc-phrase {
        font-size: 28px;
    }
    
    .vtc-circle {
        width: 140px;
        height: 140px;
    }
    
    .vtc-typewriter-text {
        font-size: 18px;
    }
    
    .vtc-circle-icon {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .vtc-content-wrapper {
        padding: 15px;
        min-height: 300px;
    }
    
    .vtc-phrase {
        font-size: 24px;
    }
    
    .vtc-circle {
        width: 120px;
        height: 120px;
        padding: 20px;
    }
    
    .vtc-typewriter-text {
        font-size: 16px;
    }
    
    .vtc-circle-icon {
        font-size: 24px;
        margin-bottom: 5px;
    }
}
