/* ============================================================
   TERRA CONTACT CAROUSEL — CSS v1.0.0
   Widget Elementor : Fiches contact avec carrousel
   ============================================================ */

/* ── Wrapper ── */
.tcc-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* ── Track outer (overflow hidden) ── */
.tcc-track-outer {
    overflow: hidden;
    width: 100%;
}

/* ── Track (flex) ── */
.tcc-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ── Carte ── */
.tcc-card {
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.tcc-card.is-active {
    pointer-events: auto;
}

.tcc-card:not(.is-active) {
    pointer-events: none;
}

/* ── Titre ── */
.tcc-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a2b4a;
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

/* ── Description ── */
.tcc-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 28px;
}

/* ── Liste des items ── */
.tcc-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Item individuel ── */
.tcc-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* ── Cercle icône ── */
.tcc-icon-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.tcc-item:hover .tcc-icon-wrap {
    transform: scale(1.08);
}

.tcc-icon-wrap i,
.tcc-icon-wrap svg {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ── Texte de l'item ── */
.tcc-item-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.tcc-item-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a2b4a;
    line-height: 1;
}

.tcc-item-value {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.tcc-item-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tcc-item-value a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* ── Navigation (flèches + dots) ── */
.tcc-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

/* ── Flèches ── */
.tcc-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tcc-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f4f8;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.tcc-arrow:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: scale(1.08);
}

.tcc-arrow:active {
    transform: scale(0.95);
}

.tcc-arrow svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
}

/* ── Points ── */
.tcc-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tcc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccd6e0;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tcc-dot.is-active {
    width: 24px;
    border-radius: 4px;
    background: #0d6efd;
}

.tcc-dot:hover:not(.is-active) {
    background: #90a8c0;
    transform: scale(1.2);
}

/* ── Accessibilité ── */
.tcc-arrow:focus-visible,
.tcc-dot:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .tcc-card {
        padding: 24px 20px;
    }
    .tcc-title {
        font-size: 16px;
    }
    .tcc-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .tcc-items {
        gap: 16px;
    }
    .tcc-icon-wrap {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 15px;
    }
    .tcc-icon-wrap i,
    .tcc-icon-wrap svg {
        font-size: 15px;
        width: 15px;
        height: 15px;
    }
    .tcc-item-label { font-size: 10px; }
    .tcc-item-value { font-size: 13px; }
}

@media (max-width: 480px) {
    .tcc-card {
        padding: 20px 16px;
    }
    .tcc-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 18px;
    }
    .tcc-arrow {
        width: 36px;
        height: 36px;
    }
    .tcc-dot.is-active {
        width: 20px;
    }
}
